WO2018014581A1 - 数值转移记录的核对方法、装置、服务器和存储介质 - Google Patents

数值转移记录的核对方法、装置、服务器和存储介质 Download PDF

Info

Publication number
WO2018014581A1
WO2018014581A1 PCT/CN2017/078354 CN2017078354W WO2018014581A1 WO 2018014581 A1 WO2018014581 A1 WO 2018014581A1 CN 2017078354 W CN2017078354 W CN 2017078354W WO 2018014581 A1 WO2018014581 A1 WO 2018014581A1
Authority
WO
WIPO (PCT)
Prior art keywords
record
value transfer
transfer record
numerical
value
Prior art date
Application number
PCT/CN2017/078354
Other languages
English (en)
French (fr)
Inventor
吴观峰
黄英杰
韩晓翠
吴林方
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2018014581A1 publication Critical patent/WO2018014581A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/194Calculation of difference between files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers

Definitions

  • the present application relates to the field of computer application technologies, and in particular, to a method, an apparatus, a server, and a storage medium for verifying a numerical transfer record.
  • a method, apparatus, server, and storage medium for collating a data transfer record are provided.
  • a method for verifying a numerical transfer record comprising:
  • a verification report is generated based on the verification correction record.
  • a verification device for numerical transfer records comprising:
  • a transfer record obtaining module configured to acquire a file including the first value transfer record from the target server according to the record verification instruction, and obtain a second value transfer record locally, and establish a set including the acquired second value transfer record;
  • a transfer record checking module configured to check a first value transfer record in the file and a second value transfer record in the set to generate a check result, and correct the second value transfer record according to the check result Generate a check correction record;
  • a verification report generation module is configured to generate a verification report according to the verification correction record.
  • a server comprising a memory and a processor, the memory storing computer executable instructions, the computer executable instructions being executed by the processor, such that the processor performs the following steps:
  • a verification report is generated based on the verification correction record.
  • One or more computer non-volatile storage media storing computer-executable instructions, when executed by one or more processors, causing the one or more processors to perform the following steps;
  • a verification report is generated based on the verification correction record.
  • 1 is an application environment diagram of a verification system for numerical transfer recording in an embodiment
  • FIG. 2 is a functional block diagram of a local server in a verification system for numerical transfer records in an embodiment
  • FIG. 3 is a schematic flow chart of a verification method for numerical transfer records in an embodiment
  • FIG. 4 is a flow chart showing the steps of searching for a first value transfer record in an embodiment
  • Figure 5 is a flow chart showing the steps of correcting the second numerical value transfer record in one embodiment
  • FIG. 6 is a schematic flow chart of a step of deleting a second numerical value transfer record in an embodiment
  • Figure 7 is a functional block diagram of a verification device for numerical transfer recording in an embodiment
  • FIG. 8 is a functional block diagram of a transfer record acquisition module in an embodiment
  • FIG. 9 is a functional block diagram of a transfer record checking module in an embodiment
  • FIG. 10 is a functional block diagram of a confirmation information detecting module in an embodiment
  • FIG. 11 is a functional block diagram of a transfer record collation module in another embodiment.
  • the verification system of the numerical transfer record includes a terminal 110, a local server 120, and a target server 130.
  • the terminal 110, the local server 120, and the target server 130 are connected by a network.
  • the terminal 110 may be a desktop computer or a mobile terminal, and the mobile terminal may specifically be at least one of a tablet computer, a smart phone, and a personal data assistant.
  • local server 120 includes a processor coupled through a system bus, a non-volatile storage medium, an internal memory, and a network interface.
  • the processor is used to provide computing and control capabilities to support the operation of the entire local server 120.
  • the non-volatile storage medium of the local server 120 stores operating system and computer executable instructions.
  • the computer executable instructions are executable by the processor to implement a method of verifying a numerical transfer record provided by the following embodiments.
  • the internal memory in the local server 120 provides a cached operating environment for operating systems and computer executable instructions in a non-volatile storage medium.
  • the network interface is used for network communication with the terminal 110 or the target server 130. It can be understood that the local server 120 can be implemented by a separate server or a server cluster composed of multiple servers.
  • FIG. 2 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
  • the specific server may include a ratio. More or fewer components are shown in Figure 2, or some components are combined, or have different component arrangements.
  • a method for verifying a numerical transfer record is provided.
  • the method is illustrated on the local server 120 of the verification system applied to the numerical transfer record of FIG. 1, and the local server 120 runs a numerical value.
  • the verification program of the transfer record, the verification program of the numerical transfer record is used to carry out the verification method of the numerical transfer record.
  • the collation method of the numerical transfer record can also be applied to the terminal 110.
  • the verification method of the numerical transfer record specifically includes the following contents:
  • the local server 120 receives the access request of the terminal 110, and the local server 120 returns the data of the visited web page to the terminal 110 according to the access request.
  • the access request includes an identifier for accessing the webpage, and the identifier of the visited webpage may specifically be a uniform resource locator of the visited webpage.
  • the terminal 110 displays the accessed webpage according to the visited webpage data, and the user inputs a record collation instruction in the visited webpage displayed by the terminal 110, and the terminal 110 transmits the record collation instruction to the local server 120.
  • the local server 120 receives the record verification command sent by the terminal 110, and the record verification command specifically includes the user identifier, and specifically includes at least one of a time range and a value transfer type, wherein the value transfer type may be a numerical value transfer and a numerical value transfer. At least one of the entries.
  • the local server 120 extracts the user identifier in the record verification command, generates an acquisition request according to the user identifier, and sends the acquisition request carrying the user identifier to the target server 130.
  • the target server 130 searches for a file including the first value transfer record based on the user identification in the acquisition request, and the target server 130 returns the file to the local server 120.
  • the local server 120 locally searches for the second value transfer record corresponding to the user identifier according to the user identifier, and extracts the found second value transfer record to establish a set including the second value transfer record.
  • the first value transfer record is a record generated after the target server 130 completes the value transfer service, and the target server 130 is a fund transfer processing server.
  • the second value transfer record is a record of the value transfer information corresponding to the value transfer request and the value transfer request generated by the local server 120 during the transaction process, and the value transfer request is used to initiate the value transfer service.
  • the local server 120 is a trading platform server.
  • the target server 130 after receiving the acquisition request for acquiring the file including the first value transfer record, extracts the verification information in the acquisition request, and verifies the verification information. After the verification is passed, according to the acquisition request, The user ID looks up the corresponding file and returns the found file to the local server 120; if the verification fails, the target server 130 rejects the request of the local server 120.
  • the file includes the first numerical transfer record.
  • the verification information includes at least one of a numerical certificate, a user identity information, a key, and a random number.
  • the local server 120 extracts the first value transfer record in the file one by one, and searches the set for the second value transfer record corresponding to the first value transfer record. Comparing the transfer value in the first value transfer record with the transfer value in the second value transfer record, if the transfer value in the first value transfer record is not the same as the transfer value in the second value transfer record, then the second The transfer value in the numerical transfer record is corrected to the transfer value in the first value transfer record, and the corrected content is recorded to generate a check correction record, and the correction record may specifically include the number of the first value transfer record and the number of the second value transfer record. , correcting at least one of the time and the corrected transfer value.
  • the local server 120 stores each check correction record in an integrated generation check report, and checks the check correction record in the report. Specifically, it can be arranged according to the correction time.
  • the file including the first value transfer record is acquired from the target server according to the record collation instruction, and the second value transfer record is locally acquired according to the record collation instruction, and the second obtained includes the acquired A set of numerical transfer records, the file including the first numerical transfer record and the set including the acquired second numerical transfer record.
  • the first value transfer record and the second value transfer record in the set improve the efficiency of the value transfer record check and ensure the accuracy of the value transfer record.
  • S304 specifically includes the step of searching for a first value transfer record, the specific content of which is as follows:
  • the local server 120 extracts the user identifier and the time range from the record verification command, where the user identifier is a unique identifier used to distinguish different users, and the user identifier may be a user name, a user name, or a bank. At least one of an account number and a user number.
  • the time range includes at least one of a start time and an end time.
  • the local server 120 encapsulates the user identifier and the time range extracted from the record verification instruction in the acquisition request, and the acquisition request is used to acquire the first value transfer in the time range corresponding to the user identifier from the target server 130. Recorded file.
  • the receiving target server returns a file including the first value transfer record according to the obtaining request, and the first value transfer record is obtained by the target server according to the user identifier and the time range in the obtaining request.
  • the local server 120 transmits an acquisition request to the target server 130.
  • the target server 130 extracts the user identifier and the time range in the acquisition request, searches for the first numerical value transfer record corresponding to the user identifier, and searches for the first numerical value transfer record in the screening time range in the first numerical value transfer record.
  • a value transfer record generates a file, and the target server 130 transmits the generated file to the local server 130.
  • the acquisition request carrying the user identifier and the time range is sent to the target server, so that the target server searches for the first value transfer record according to the user identifier and the time range in the acquisition request, and transfers the record according to the first value found.
  • S306 specifically includes the step of correcting the second value transfer record, and the step specifically includes the following:
  • the local server 120 parses the file, parses the file header information and the first value transfer record, and the file header information specifically includes a total value of the value transfer, the number of the value transfer record, and the user identifier; the first value transfer record includes the transfer value. And the record number, which may further include at least one of a value transfer account number, a value transfer account number, and a user ID.
  • the local server 120 may send the parsed file header information and the first value transfer record to the terminal 110, and the terminal 110 may display the file header information and the first value transfer record in the visited webpage for accessing the local server 120, and access the webpage. It can be an operation web page for checking the value transfer record.
  • the first record number of the extracted first value transfer record is obtained, the second record number of the second value transfer record in the set is obtained, and the second record number corresponding to the first record number is searched, and the first record number is determined in the set.
  • the second value of the record number is transferred to the record.
  • the value transfer request and the value transfer confirmation information are extracted from the determined second value transfer record; whether the transfer value in the value transfer request and the transfer value in the value transfer confirmation information are equal; if not, then The numerical value confirmation confirmation message matching the numerical value transfer request in the determined second numerical value transfer record does not exist in the determined second numerical value transfer record.
  • the local server 120 extracts the transfer value in the value transfer request and the transfer value in the value transfer confirmation information, respectively.
  • the local server 120 determines whether the value transfer confirmation information matches the numerical transfer request by comparing the transfer value in the numerical transfer request with the transfer value in the numerical transfer confirmation information, and if the transfer value in the numerical transfer request and the transfer value in the numerical transfer confirmation information are If they are not equal, it is determined that the value transfer confirmation information does not match the value transfer request, indicating that there is an information error in the second value transfer record; if equal, determining that the determined second value transfer record exists in the determined second value transfer record The value transfer request matches the value transfer confirmation information, and the next second value transfer record in the set is checked.
  • the local server 120 extracts the first value corresponding to the second value transfer record.
  • the transfer value in the transfer record is generated, and the value transfer confirmation information matching the numerical value in the second numerical transfer record is generated according to the transfer value, and the generated numerical transfer confirmation letter is stored in the second numerical transfer record corresponding to the numerical transfer request.
  • the local server 120 deletes the second numerical value transfer record and The numerical value transfer request does not match the numerical value transfer confirmation information, and the numerical value confirmation information is regenerated according to the first numerical value transfer record corresponding to the second numerical value transfer record, and the generated numerical value transfer confirmation information is stored in the second numerical value transfer record corresponding to the numerical value transfer request. in.
  • the error in the second value transfer record is corrected according to the first value transfer record, thereby improving the collation efficiency of the value transfer record and also ensuring the accuracy of the second value transfer record.
  • S306 further includes the step of deleting the second value transfer record, and the step specifically includes the following:
  • the local server 120 extracts the second value transfer record one by one from the set, acquires the second record number of the second value transfer record, and searches the file for the first record number corresponding to the second record number according to the second record number.
  • the second value transfer record may be extracted one by one in the order of the recording time in the second value transfer record.
  • the target server 130 does not process or successfully processes the value initiated by the value transfer request in the second value transfer record record.
  • the service is transferred, and the target server 130 does not generate a corresponding first value transfer record.
  • the first value transfer record corresponding to the extracted second value transfer record is not found in the file, and the local server 120 deletes the extracted second value transfer record and cancels the service corresponding to the second value transfer record; Finding the first value transfer record corresponding to the extracted second value transfer record, the local server 120 checks the first value transfer record and the second value transfer record, and detects whether the second value transfer record exists and the second value The matching value transfer confirmation information in the numerical transfer record, if not, generating a matching numerical transfer record according to the first value transfer record, and storing the matched numerical transfer record and the numerical transfer request in the second numerical transfer record; If it exists, check the next second value transfer record in the set.
  • the second value transfer record is extracted in the set, and the first value transfer record corresponding to the second value transfer record is not found in the file, indicating that the target server has not processed or successfully processed and the second value transfer record
  • the corresponding value transfer service deletes the second value transfer record, which saves the storage space occupied by the second value transfer record in the storage set, and ensures the accuracy of the second value transfer record in the set.
  • the target server is a fund transfer processing server; the first value transfer record is a fund transfer record generated by the fund transfer processing server; the local is a transaction platform server; and the first value transfer record is a transaction record generated by the transaction platform server.
  • the terminal sends a record verification instruction to the transaction platform server, and the transaction platform server extracts the file including the fund transfer record from the target server according to the user identifier in the record verification instruction, and the transaction platform server extracts the local identifier according to the user identifier in the record verification instruction.
  • Transaction records, and establishing a set including the extracted transaction records the first numerical transfer record in the file has a corresponding relationship with the second numerical transfer record in the set.
  • the trading platform server checks the transaction record in the collection with the fund transfer record in the file, and deletes the transaction record when it detects that the transaction record in the collection does not have a corresponding fund transfer record in the file; If there is transaction confirmation information matching the transaction request in the transaction record, the matching transaction confirmation information is generated according to the fund transfer record corresponding to the transaction record, and the matched transaction confirmation information is stored in the transaction record corresponding to the transaction request to correct the transaction record.
  • the correction of the transaction records in the trading platform server set is recorded to generate a check correction record, and a check report is generated according to the check correction record.
  • a verification device 700 for numerical transfer records is provided.
  • the device specifically includes: a verification instruction acquisition module 710, a transfer record acquisition module 720, a transfer record verification module 730, and a verification report generation module. 740.
  • the verification instruction acquisition module 710 is configured to acquire a record verification instruction.
  • the transfer record obtaining module 720 is configured to obtain a file including the first value transfer record from the target server according to the record collation instruction, and obtain the second value transfer record locally, and establish a set including the acquired second value transfer record.
  • the transfer record verification module 730 is configured to check the first value transfer record in the file and the second value transfer record in the set to generate a check result, and correct the second value transfer record according to the check result to generate a check correction record.
  • the verification report generation module 740 is configured to generate a verification report according to the verification correction record.
  • the file including the first value transfer record is acquired from the target server according to the record collation instruction, and the second value transfer record is locally acquired according to the record collation instruction, and the second obtained includes the acquired A set of numerical transfer records, the file including the first numerical transfer record and the set including the acquired second numerical transfer record.
  • the first value transfer record and the second value transfer record in the set improve the efficiency of the value transfer record check and ensure the accuracy of the value transfer record.
  • the transfer record acquisition module 720 specifically includes: an information extraction module 722 , an acquisition request generation module 724 , an acquisition request sending module 706 , and a file receiving module 728 .
  • the information extraction module 722 is configured to extract a user identifier and a time range in the record verification instruction.
  • the obtaining request generating module 724 is configured to generate an obtaining request according to the user identifier and the time range.
  • the get request sending module 726 is configured to send the get request to the target server.
  • the file receiving module 728 is configured to receive a file that includes the first value transfer record returned by the target server according to the obtaining request, where the first value transfer record is searched by the target server according to the user identifier and the time range in the obtaining request.
  • the acquisition request carrying the user identifier and the time range is sent to the target server, so that the target server searches for the first value transfer record according to the user identifier and the time range in the acquisition request, and transfers the record according to the first value found.
  • the transfer record verification module 730 specifically includes a first record extraction module 731, a transfer record determination module 733, an acknowledgement information detection module 735, and a confirmation information generation module 737.
  • the first record extraction module 731 is configured to extract a first value transfer record in the file.
  • the transfer record determination module 733 is configured to determine, in the set, a second value transfer record corresponding to the extracted first value transfer record.
  • the confirmation information detecting module 735 is configured to detect whether there is a value transfer confirmation information matching the numerical value transfer request in the determined second numerical value transfer record in the determined second numerical value transfer record;
  • the confirmation information generating module 737 is configured to: when there is no numerical value transfer confirmation information matching the numerical value transfer request in the determined second numerical value transfer record in the determined second numerical value transfer record, transfer the record according to the extracted first numerical value The value transfer confirmation information is generated, and the generated value transfer confirmation information is stored in the determined second value transfer information to generate a check correction record.
  • the confirmation information detecting module 735 specifically includes a confirmation information extraction module 735a, a confirmation information comparison module 735b, and a confirmation information determination module 735c.
  • the confirmation information extraction module 735a is configured to extract the numerical value transfer request and the numerical value transfer confirmation information from the determined second numerical value transfer record.
  • the confirmation information comparison module 735b is configured to compare whether the transfer value in the value transfer request and the transfer value in the value transfer confirmation information are equal.
  • the confirmation information determining module 735c is configured to determine that the determined second value transfer record does not exist in the determined second value transfer record if the transfer value in the value transfer request and the transfer value in the value transfer confirmation information are not equal
  • the numerical transfer request matches the numerical transfer confirmation information.
  • the second value transfer record is corrected based on the first value transfer record, thereby ensuring the accuracy of the second value transfer record.
  • the transfer record verification module 730 specifically includes a second record extraction module 732 , a transfer record lookup module 734 , and a transfer record deletion module 736 .
  • the second record extraction module 732 is configured to extract the second value transfer record from the set.
  • the transfer record lookup module 734 is configured to search the file for the first value transfer record corresponding to the extracted second value transfer record.
  • the transfer record deletion module 736 is configured to delete the extracted second value transfer record and generate a check correction record when the first value transfer record corresponding to the extracted second value transfer record is not found in the file.
  • the target server is a fund transfer processing server; the first value transfer record is a fund transfer record generated by the fund transfer processing server; the local is a transaction platform server; and the first value transfer record is a transaction record generated by the transaction platform server.
  • the second value transfer record is extracted in the set, and the first value transfer record corresponding to the second value transfer record is not found in the file, indicating that the target server is not processed and processed as the success and the second value transfer record.
  • the corresponding value transfer service deletes the second value transfer record, which saves the storage space occupied by the second value transfer record in the storage set, and ensures the accuracy of the second value transfer record in the set.
  • the various modules in the verification device of the above numerical transfer record may be implemented in whole or in part by software, hardware, and combinations thereof.
  • the network interface may be an Ethernet or a wireless network card.
  • the above modules may be embedded in the hardware in the processor or in the memory in the server, or may be stored in the memory in the server, so that the processor calls the corresponding operations of the above modules.
  • the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only storage memory (Read-Only) Memory, ROM) or Random Access Memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

一种数值转移记录的核对方法,包括:获取记录核对指令;根据记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;将文件中的第一数值转移记录和集合中的第二数值转移记录进行核对生成核对结果,根据核对结果对第二数值转移记录进行更正生成核对更正记录;根据核对更正记录生成核对报告。

Description

数值转移记录的核对方法、装置、服务器和存储介质
本申请要求于2016年7月21日提交中国专利局、申请号为201610587340.8、发明名称为“数值转移记录的核对方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
【技术领域】
本申请涉及计算机应用技术领域,尤其涉及一种数值转移记录的核对方法、装置、服务器和存储介质。
【背景技术】
随着互联网的发展,各种数值转移相关的业务都通过互联网来处理,在这些业务的处理过程中会产生大量的数值转移记录信息,因为数值转移业务数量的增多,难免会出现数值转移业务出错的情况。这时,通过核对数值转移记录才能确定数值转移业务中数值转移出错的情况。
然而,在核对数值转移记录时,多数情况下需要人工核对数值转移记录,从而确定出错的数值转移业务,进而由人工对出错的数值转移业务进行处理。由于数值转移记录的数量庞大,人工核对需要耗费较长时间,并且人工核对的准确率不高,严重较低了数值转移记录的核对效率。
【发明内容】
根据本申请公开的各种实施例,提供一种数据转移记录的核对方法、装置、服务器和存储介质。
一种数值转移记录的核对方法,包括:
获取记录核对指令;
根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述集合中的第二数值转移记录进行更正生成核对更正记录;及
根据所述核对更正记录生成核对报告。
一种数值转移记录的核对装置,包括:
核对指令获取模块,用于获取记录核对指令;
转移记录获取模块,用于根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
转移记录核对模块,用于将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录;及
核对报告生成模块,用于根据所述核对更正记录生成核对报告。
一种服务器,包括存储器和处理器,所述存储器中存储有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:
获取记录核对指令;
根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述集合中的第二数值转移记录进行更正生成核对更正记录;及
根据所述核对更正记录生成核对报告。
一个或多个存储有计算机可执行指令的计算机非易失性存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤;
获取记录核对指令;
根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述集合中的第二数值转移记录进行更正生成核对更正记录;及
根据所述核对更正记录生成核对报告。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
【附图说明】
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中数值转移记录的核对***的应用环境图;
图2为一个实施例中数值转移记录的核对***中本地服务器的功能模块图;
图3为一个实施例中数值转移记录的核对方法的流程示意图;
图4为一个实施例中查找第一数值转移记录的步骤的流程示意图;
图5为一个实施例中更正第二数值转移记录的步骤的流程示意图;
图6为一个实施例中删除第二数值转移记录的步骤的流程示意图;
图7为一个实施例中数值转移记录的核对装置的功能模块图;
图8为一个实施例中转移记录获取模块的功能模块图;
图9为一个实施例中转移记录核对模块的功能模块图;
图10为一个实施例中确认信息检测模块的功能模块图;
图11为另一个实施例中转移记录核对模块的功能模块图。
【具体实施方式】
体现本申请特征与优点的典型实施方式将在以下的说明中详细叙述。应理解的是本申请能够在不同的实施方式上具有各种的变化,其皆不脱离本申请的范围,且其中的说明及图示在本质上是当作说明之用,而非用以限制本申请。
图1为一个实施例中数值转移记录的核对***的应用环境图,数值转移记录的核对***包括终端110、本地服务器120和目标服务器130。终端110、本地服务器120和目标服务器130之间通过网络相连接。其中终端110可以是台式电脑或移动终端,移动终端具体可以是平板电脑、智能手机和个人数据助理中的至少一种。
图2为一个实施例中图1数值转移记录的核对***中的本地服务器120的功能模块图。如图2所示,本地服务器120包括通过***总线连接的处理器、非易失性存储介质、内存储器和网络接口。该处理器用于提供计算和控制能力,支撑整个本地服务器120的运行。本地服务器120的非易失性存储介质存储有操作***和计算机可执行指令。该计算机可执行指令可被处理器执行以实现以下各实施例所提供的一种数值转移记录的核对方法。本地服务器120中的内存储器为非易失性存储介质中的操作***和计算机可执行指令提供高速缓存的运行环境。网络接口用于与终端110或目标服务器130进行网络通信。可以理解,本地服务器120可以用独立的服务器或者多个服务器组成的服务器集群来实现。
本领域技术人员可以理解,图2中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图2中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
如图3所示,在一个实施例中,提供一种数值转移记录的核对方法,该方法以应用在图1数值转移记录的核对***的本地服务器120上举例说明,本地服务器120上运行有数值转移记录的核对程序,数值转移记录的核对程序用于实施数值转移记录的核对方法。数值转移记录的核对方法也可以应用在终端110上。数值转移记录的核对方法具体包括以下内容:
S302,获取记录核对指令。
具体地,本地服务器120接收到终端110的访问请求,本地服务器120根据访问请求向终端110返回访问网页的数据。访问请求中包括访问网页的标识,访问网页的标识具体可以是访问网页的统一资源定位符。终端110在接收到访问网页的数据后,根据访问网页数据显示访问网页,用户在终端110所显示的访问网页中输入记录核对指令,终端110将记录核对指令发送至本地服务器120。本地服务器120接收终端110发送的记录核对指令,记录核对指令中具体包括用户标识,具体还可以包括时间范围和数值转移类型中的至少一种,其中数值转移类型具体可以是数值转出和数值转入中的至少一种。
S304,根据记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合。
具体地,本地服务器120在获取到记录核对指令后,提取记录核对指令中的用户标识,根据用户标识生成获取请求,将携带有用户标识的获取请求发送至目标服务器130。目标服务器130根据获取请求中的用户标识查找包括第一数值转移记录的文件,目标服务器130将文件返回至本地服务器120。本地服务器120根据用户标识在本地查找与用户标识对应的第二数值转移记录,并将查找到的第二数值转移记录提取出来,建立包括第二数值转移记录的集合。第一数值转移记录为在目标服务器130完成数值转移业务后生成的记录,目标服务器130为资金转移处理服务器。第二数值转移记录为本地服务器120对交易过程中产生的数值转移申请和数值转移申请对应的数值转移信息的记录,数值转移申请用于发起数值转移业务。本地服务器120为交易平台服务器。
在一个实施例中,目标服务器130在接收到用于获取包括第一数值转移记录的文件的获取请求后,提取获取请求中的验证信息,对验证信息进行验证,验证通过后,根据获取请求中的用户标识查找对应的文件,并将查找到的文件返回至本地服务器120;若验证未通过,目标服务器130拒绝本地服务器120的请求。其中,文件中包括第一数值转移记录。验证信息包括数值证书、用户身份信息、密钥和随机数中的至少一种。
S306,将文件中的第一数值转移记录和集合中的第二数值转移记录进行核对生成核对结果,根据核对结果对第二数值转移记录进行更正生成核对更正记录。
具体地,本地服务器120接收到目标服务器130返回的文件后,逐条提取文件中的第一数值转移记录,并在集合中查找第一数值转移记录对应的第二数值转移记录。将第一数值转移记录中的转移数值和第二数值转移记录中的转移数值进行比较,如果第一数值转移记录中的转移数值与第二数值转移记录中的转移数值不相同,则将第二数值转移记录中的转移数值更正为第一数值转移记录中的转移数值,并记录更正的内容生成核对更正记录,核对更正记录具体可以包括第一数值转移记录的编号、第二数值转移记录的编号、更正时间和更正的转移数值中的至少一种。
S308,根据核对更正记录生成核对报告。
具体地,本地服务器120在核对文件中的第一数值转移记录和集合中的第二数值转移记录的过程中,将每条核对更正记录存储到进行整合生成核对报告,核对报告中的核对更正记录具体可以按照更正时间排列。
本实施例中,在获取记录核对指令后,根据记录核对指令从目标服务器获取包括第一数值转移记录的文件,并根据记录核对指令从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合,包括第一数值转移记录的文件和包括获取到的第二数值转移记录的集合对应。将文件中的第一数值转移和集合中第二数值转移记录进行核对,根据核对结果对集合中第二数值转移记录进行更正,确保集合中第二数值转移记录的准确性,无需人工核对文件中的第一数值转移记录和集合中的第二数值转移记录,提高了数值转移记录核对的效率,确保了数值转移记录的准确性。
如图4所示,在一个实施例中,S304具体还包括查找第一数值转移记录的步骤,该步骤具体内容如下:
S402,提取记录核对指令中的用户标识和时间范围。
具体地,本地服务器120在获取到记录核对指令后,从记录核对指令中提取用户标识和时间范围,用户标识为用于区别不同用户的唯一标识,用户标识具体可以是用户名称、用户姓名、银行账号和用户编号中的至少一种。时间范围包括起始时间和终止时间中的至少一种。
S404,根据用户标识和时间范围生成获取请求。
具体地,本地服务器120将从记录核对指令中提取到的用户标识和时间范围风封装在获取请求中,获取请求用于从目标服务器130获取用户标识对应的在时间范围内的包括第一数值转移记录的文件。
S406,将获取请求发送至目标服务器。
S408,接收目标服务器根据获取请求返回的包括第一数值转移记录的文件,第一数值转移记录由目标服务器根据获取请求中的用户标识和时间范围查找得到。
具体地,本地服务器120将获取请求发送至目标服务器130。目标服务器130提取获取请求中的用户标识和时间范围,查找用户标识对应的第一数值转移记录,在查找到第一数值转移记录中筛选时间范围内的第一数值转移记录,根据筛选得到的第一数值转移记录生成文件,目标服务器130将生成的文件发送至本地服务器130。
本实施例中,将携带有用户标识和时间范围的获取请求发送至目标服务器,使目标服务器根据获取请求中的用户标识和时间范围查找第一数值转移记录,根据查找到的第一数值转移记录生成文件,获取包含第一数值转移记录的文件。这样,可以保证获取的文件中的第一数值转移记录与获取请求中的用户标识和时间范围对应,提高文件获取的准确性。
如图5所示,在一个实施例中,S306具体还包括更正第二数值转移记录的步骤,该步骤具体包括以下内容:
S502,提取文件中的第一数值转移记录。
具体地,本地服务器120对文件进行解析,解析得到文件头信息和第一数值转移记录,文件头部信息具体包括数值转移总额、数值转移记录的数量和用户标识;第一数值转移记录包括转移数值和记录编号,具体还可以包括数值转入账号、数值转出账号和用户标识中的至少一种。本地服务器120可以将解析得到的文件头信息和第一数值转移记录发送至终端110,终端110可以将文件头信息和第一数值转移记录展示在用于访问本地服务器120的访问网页中,访问网页可以是核对数值转移记录的操作网页。
S504,在集合中确定与提取到的第一数值转移记录对应的第二数值转移记录。
具体地,获取提取到的第一数值转移记录的第一记录编号,获取集合中第二数值转移记录的第二记录编号,查找第一记录编号对应的第二记录编号,在集合中确定包括第二记录编号的第二数值转移记录。
S506,检测确定的第二数值转移记录中是否存在与确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息。
具体地,在确定第二数值转移记录后,在第二数值转移记录中查找数值转移申请和数值转移确认信息,若未查找到数值转移确认信息,则检测到确定的第二数值转移记录中不存在与数值转移申请匹配的数值转移确认信息;若查找到数值转移确认信息,则核对数值转移申请中的转移数值和数值转移确认信息中的转移数值是否相等。
在一个实施例中,从确定的第二数值转移记录中提取数值转移申请和数值转移确认信息;比较数值转移申请中的转移数值和数值转移确认信息中的转移数值是否相等;若不相等,则判定确定的第二数值转移记录中不存在与确定的第二数值转移记录中的数值转移申请匹配的数值转移确认信息。
具体地,本地服务器120检测到确定的第二数值转移记录中包括数值转移申请和数值转移确认信息后,分别提取数值转移申请中的转移数值和数值转移确认信息中的转移数值。本地服务器120通过比较数值转移申请中的转移数值和数值转移确认信息中的转移数值确定数值转移确认信息与数值转移申请是否匹配,若数值转移申请中的转移数值和数值转移确认信息中的转移数值不相等,则判定数值转移确认信息与数值转移申请不匹配,表明第二数值转移记录中存在信息错误;若相等,则判定确定的第二数值转移记录中存在与确定的第二数值转移记录中的数值转移申请匹配的数值转移确认信息,则核对集合中的下一条第二数值转移记录。
S508,在检测到确定的第二数值转移记录中不存在与确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息,根据提取到的第一数值转移记录生成数值转移确认信息,将生成的数值转移确认信息存储在确定的第二数值转移信息中并生成核对更正记录。
具体地,在检测到确定的第二数值转移记录中不存在与确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息时,本地服务器120提取第二数值转移记录对应的第一数值转移记录中的转移数值,根据转移数值生成第二数值转移记录中数值申请匹配的数值转移确认信息,并将生成的数值转移确认信与数值转移申请对应存储在第二数值转移记录中。
在一个实施例中,在检测到确定的第二数值转移记录中不存在与确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息时,本地服务器120删除第二数值转移记录中与数值转移申请不匹配的数值转移确认信息,根据第二数值转移记录对应的第一数值转移记录重新生成数值转移确认信息,将生成的数值转移确认信息与数值转移申请对应存储在第二数值转移记录中。
本实施例中,通过检测第二数值转移记录中是否存在数值转移确认信息,以及存在的数值转移确认信息与第二数值转移记录中的数值转移申请是否匹配,从而确定第二数值转移记录是否存在错误。在判定存在错误时,则根据第一数值转移记录更正第二数值转移记录中的错误,从而提高了数值转移记录的核对效率,也确保第二数值转移记录的准确性。
如图6所示,在一个实施例中,S306还包括删除第二数值转移记录的步骤,该步骤具体包括以下内容:
S602,从集合中提取第二数值转移记录。
S604,在文件中查找与提取到的第二数值转移记录对应的第一数值转移记录。
具体地,本地服务器120从集合中逐个提取第二数值转移记录,获取第二数值转移记录的第二记录编号,根据第二记录编号在文件中查找包含与第二记录编号对应的第一记录编号的第一数值转移记录。具体可以按照第二数值转移记录中记录时间的顺序逐个提取第二数值转移记录。
S606,在文件中未查找到与提取到的第二数值转移记录对应的第一数值转移记录时,则删除提取到的第二数值转移记录并生成核对更正记录。
具体地,若在文件中未查找到与提取到的第二数值转移记录对应的第一数值转移记录,表明目标服务器130未处理或未成功处理第二数值转移记录记录中数值转移申请发起的数值转移业务,目标服务器130没有生成对应的第一数值转移记录。在文件中未查找到与提取到的第二数值转移记录对应的第一数值转移记录,本地服务器120删除提取到的第二数值转移记录,并撤销与第二数值转移记录对应的业务;在文件中查找到与提取到的第二数值转移记录对应的第一数值转移记录,则本地服务器120核对第一数值转移记录和第二数值转移记录,检测第二数值转移记录中是否存在与该第二数值转移记录中匹配的数值转移确认信息,若不存在,则根据第一数值转移记录生成匹配的数值转移记录,将匹配的数值转移记录与数值转移申请对应存储在该第二数值转移记录中;若存在,则核对集合中下一条第二数值转移记录。
本实施例中,在集合中提取第二数值转移记录,在文件中未查找到与第二数值转移记录对应的第一数值转移记录,表明目标服务器未处理或未成功处理与第二数值转移记录对应的数值转移业务,则删除第二数值转移记录,节省了存储集合中第二数值转移记录所占用的存储空间,同时保证了集合中第二数值转移记录的准确性。
在一个实施例中,目标服务器为资金转移处理服务器;第一数值转移记录为资金转移处理服务器生成的资金转移记录;本地为交易平台服务器;第一数值转移记录为交易平台服务器生成的交易记录。
具体地,终端向交易平台服务器发送记录核对指令,交易平台服务器根据记录核对指令中的用户标识从目标服务器提取包括资金转移记录的文件,同时交易平台服务器根据记录核对指令中的用户标识从本地提取交易记录,并建立包括提取到的交易记录的集合,文件中的第一数值转移记录与集合中的第二数值转移记录存在对应关系。
交易平台服务器将集合中的交易记录与文件中资金转移记录进行核对,在检测到集合中的交易记录在文件中不存在对应的资金转移记录,则删除该交易记录;在检测到交易记录中不存在与交易记录中的交易申请匹配的交易确认信息,则根据交易记录对应的资金转移记录生成匹配的交易确认信息,并将匹配的交易确认信息与交易申请对应存储在交易记录中更正交易记录。交易平台服务器集合中交易记录的更正情况进行记录生成核对更正记录,根据核对更正记录生成核对报告。
如图7所示,在一个实施例中,提供一种数值转移记录的核对装置700,该装置具体包括:核对指令获取模块710、转移记录获取模块720、转移记录核对模块730和核对报告生成模块740。
核对指令获取模块710,用于获取记录核对指令。
转移记录获取模块720,用于根据记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合。
转移记录核对模块730,用于将文件中的第一数值转移记录和集合中的第二数值转移记录进行核对生成核对结果,根据核对结果对第二数值转移记录进行更正生成核对更正记录。
核对报告生成模块740,用于根据核对更正记录生成核对报告。
本实施例中,在获取记录核对指令后,根据记录核对指令从目标服务器获取包括第一数值转移记录的文件,并根据记录核对指令从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合,包括第一数值转移记录的文件和包括获取到的第二数值转移记录的集合对应。将文件中的第一数值转移和集合中第二数值转移记录进行核对,根据核对结果对集合中第二数值转移记录进行更正,确保集合中第二数值转移记录的准确性,无需人工核对文件中的第一数值转移记录和集合中的第二数值转移记录,提高了数值转移记录核对的效率,确保了数值转移记录的准确性。
如图8所示,在一个实施例中,转移记录获取模块720具体包括:信息提取模块722、获取请求生成模块724、获取请求发送模块706和文件接收模块728。
信息提取模块722,用于提取记录核对指令中的用户标识和时间范围。
获取请求生成模块724,用于根据用户标识和时间范围生成获取请求。
获取请求发送模块726,用于将获取请求发送至目标服务器。
文件接收模块728,用于接收目标服务器根据获取请求返回的包括第一数值转移记录的文件,第一数值转移记录由目标服务器根据获取请求中的用户标识和时间范围查找得到。
本实施例中,将携带有用户标识和时间范围的获取请求发送至目标服务器,使目标服务器根据获取请求中的用户标识和时间范围查找第一数值转移记录,根据查找到的第一数值转移记录生成文件,获取包含第一数值转移记录的文件。这样,可以保证获取的文件中的第一数值转移记录与获取请求中的用户标识和时间范围对应,提高文件获取的准确性。
如图9所示,在一个实施例中,转移记录核对模块730具体包括:第一记录提取模块731、转移记录确定模块733、确认信息检测模块735和确认信息生成模块737。
第一记录提取模块731,用于提取文件中的第一数值转移记录。
转移记录确定模块733,用于在集合中确定与提取到的第一数值转移记录对应的第二数值转移记录。
确认信息检测模块735,用于检测确定的第二数值转移记录中是否存在与确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息;
确认信息生成模块737,用于在判定确定的第二数值转移记录中不存在与确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息时,则根据提取到的第一数值转移记录生成数值转移确认信息,将生成的数值转移确认信息存储在确定的第二数值转移信息中并生成核对更正记录。
如图10所示,在一个实施例中,确认信息检测模块735具体包括:确认信息提取模块735a、确认信息比较模块735b和确认信息判定模块735c。
确认信息提取模块735a,用于从确定的第二数值转移记录中提取数值转移申请和数值转移确认信息。
确认信息比较模块735b,用于比较数值转移申请中的转移数值和数值转移确认信息中的转移数值是否相等。
确认信息判定模块735c,用于若数值转移申请中的转移数值和数值转移确认信息中的转移数值不相等,则判定确定的第二数值转移记录中不存在与确定的第二数值转移记录中的数值转移申请匹配的数值转移确认信息。
本实施例中,通过检测第二数值转移记录中是否存在数值转移确认信息,以及存在的数值转移确认信息与第二数值转移记录中的数值转移申请是否匹配,从而确定第二数值转移记录是否存在错误。在判定存在错误时,则根据第一数值转移记录更正第二数值转移记录,从而确保第二数值转移记录的准确性。
如图11所示,在一个实施例中,转移记录核对模块730具体包括:第二记录提取模块732、转移记录查找模块734和转移记录删除模块736。
第二记录提取模块732,用于从集合中提取第二数值转移记录。
转移记录查找模块734,用于在文件中查找与提取到的第二数值转移记录对应的第一数值转移记录。
转移记录删除模块736,用于在文件中未查找与提取到的第二数值转移记录对应的第一数值转移记录时,则删除提取到的第二数值转移记录并生成核对更正记录。
在一个实施例中,目标服务器为资金转移处理服务器;第一数值转移记录为资金转移处理服务器生成的资金转移记录;本地为交易平台服务器;第一数值转移记录为交易平台服务器生成的交易记录。
本实施例中,在集合中提取第二数值转移记录,在文件中未查找到与第二数值转移记录对应的第一数值转移记录,表明目标服务器未处理获处理为成功与第二数值转移记录对应的数值转移业务,则删除第二数值转移记录,节省了存储集合中第二数值转移记录所占用的存储空间,同时保证了集合中第二数值转移记录的准确性。
上述数值转移记录的核对装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。其中,网络接口可以是以太网或无线网卡等。上述各模块可以硬件形式内嵌于或独立于服务器中的处理器中,也可以以软件形式存储于服务器中的存储器中,以便于处理器调用执行以上各个模块对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。

Claims (24)

  1. 一种数值转移记录的核对方法,包括:
    获取记录核对指令;
    根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
    将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录;及
    根据所述核对更正记录生成核对报告。
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,包括:
    提取所述记录核对指令中的用户标识和时间范围;
    根据所述用户标识和时间范围生成获取请求;
    将所述获取请求发送至目标服务器;及
    接收所述目标服务器根据所述获取请求返回的包括第一数值转移记录的文件,所述第一数值转移记录由所述目标服务器根据所述获取请求中的用户标识和时间范围查找得到。
  3. 根据权利要求1所述的方法,其特征在于,所述将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录,包括:
    提取所述文件中的第一数值转移记录;
    在所述集合中确定与提取到的第一数值转移记录对应的第二数值转移记录;
    检测确定的第二数值转移记录中是否存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息;及
    若不存在,根据所述提取到的第一数值转移记录生成数值转移确认信息,将生成的数值转移确认信息存储在所述确定的第二数值转移信息中并生成核对更正记录。
  4. 根据权利要求3所述的方法,其特征在于,所述检测确定的第二数值转移记录中是否存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息,包括:
    从确定的第二数值转移记录中提取数值转移申请和数值转移确认信息;
    比较所述数值转移申请中的转移数值和所述数值转移确认信息中的转移数值是否相等;及
    若不相等,则判定所述确定的第二数值转移记录中不存在与所述确定的第二数值转移记录中的数值转移申请匹配的数值转移确认信息。
  5. 根据权利要求1所述的方法,其特征在于,所述将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录,包括:
    从所述集合中提取第二数值转移记录;
    在所述文件中查找与提取到的第二数值转移记录对应的第一数值转移记录;及
    若未查找到,则删除所述提取到的第二数值转移记录并生成核对更正记录。
  6. 根据权利要求1所述的方法,其特征在于,所述目标服务器为资金转移处理服务器;所述第一数值转移记录为所述资金转移处理服务器生成的资金转移记录;本地为交易平台服务器;所述第一数值转移记录为所述交易平台服务器生成的交易记录。
  7. 一种数值转移记录的核对装置,包括:
    核对指令获取模块,用于获取记录核对指令;
    转移记录获取模块,用于根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
    转移记录核对模块,用于将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录;及
    核对报告生成模块,用于根据所述核对更正记录生成核对报告。
  8. 根据权利要求7所述的装置,其特征在于,所述转移记录获取模块包括:
    信息提取模块,用于提取所述记录核对指令中的用户标识和时间范围;
    获取请求生成模块,用于根据所述用户标识和时间范围生成获取请求;
    获取请求发送模块,用于将所述获取请求发送至目标服务器;及
    文件接收模块,用于接收所述目标服务器根据所述获取请求返回的包括第一数值转移记录的文件,所述第一数值转移记录由所述目标服务器根据所述获取请求中的用户标识和时间范围查找得到。
  9. 根据权利要求7所述的装置,其特征在于,所述转移记录核对模块包括:
    第一记录提取模块,用于提取所述文件中的第一数值转移记录;
    转移记录确定模块,用于在所述集合中确定与提取到的第一数值转移记录对应的第二数值转移记录;
    确认信息检测模块,用于检测确定的第二数值转移记录中是否存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息;及
    确认信息生成模块,用于在判定所述确定的第二数值转移记录中不存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息时,则根据所述提取到的第一数值转移记录生成数值转移确认信息,将生成的数值转移确认信息存储在所述确定的第二数值转移信息中并生成核对更正记录。
  10. 根据权利要求9所述的装置,其特征在于,所述确认信息检测模块包括:
    确认信息提取模块,用于从确定的第二数值转移记录中提取数值转移申请和数值转移确认信息;
    确认信息比较模块,用于比较所述数值转移申请中的转移数值和所述数值转移确认信息中的转移数值是否相等;及
    确认信息判定模块,用于若所述数值转移申请中的转移数值和所述数值转移确认信息中的转移数值不相等,则判定所述确定的第二数值转移记录中不存在与所述确定的第二数值转移记录中的数值转移申请匹配的数值转移确认信息。
  11. 根据权利要求7所述的装置,其特征在于,所述转移记录核对模块包括:
    第二记录提取模块,用于从所述集合中提取第二数值转移记录;
    转移记录查找模块,用于在所述文件中查找与提取到的第二数值转移记录对应的第一数值转移记录;及
    转移记录删除模块,用于在所述文件中未查找与提取到的第二数值转移记录对应的第一数值转移记录时,则删除所述提取到的第二数值转移记录并生成核对更正记录。
  12. 根据权利要求7所示的装置,其特征在于,所述目标服务器为资金转移处理服务器;所述第一数值转移记录为所述资金转移处理服务器生成的资金转移记录;本地为交易平台服务器;所述第一数值转移记录为所述交易平台服务器生成的交易记录。
  13. 一种服务器,包括存储器和处理器,所述存储器中存储有计算机可执行指令,所述计算机可执行指令被所述处理器执行时,使得所述处理器执行以下步骤:
    获取记录核对指令;
    根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
    将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述集合中的第二数值转移记录进行更正生成核对更正记录;及
    根据所述核对更正记录生成核对报告。
  14. 根据权利要求13所述的服务器,其特征在于,所述根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,包括:
    提取所述记录核对指令中的用户标识和时间范围;
    根据所述用户标识和时间范围生成获取请求;
    将所述获取请求发送至目标服务器;及
    接收所述目标服务器根据所述获取请求返回的包括第一数值转移记录的文件,所述第一数值转移记录由所述目标服务器根据所述获取请求中的用户标识和时间范围查找得到。
  15. 根据权利要求13所述的服务器,其特征在于,所述将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录,包括:
    提取所述文件中的第一数值转移记录;
    在所述集合中确定与提取到的第一数值转移记录对应的第二数值转移记录;
    检测确定的第二数值转移记录中是否存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息;及
    若不存在,根据所述提取到的第一数值转移记录生成数值转移确认信息,将生成的数值转移确认信息存储在所述确定的第二数值转移信息中并生成核对更正记录。
  16. 根据权利要求15所述的服务器,其特征在于,所述检测确定的第二数值转移记录中是否存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息,包括:
    从确定的第二数值转移记录中提取数值转移申请和数值转移确认信息;
    比较所述数值转移申请中的转移数值和所述数值转移确认信息中的转移数值是否相等;及
    若不相等,则判定所述确定的第二数值转移记录中不存在与所述确定的第二数值转移记录中的数值转移申请匹配的数值转移确认信息。
  17. 根据权利要求13所述的服务器,其特征在于,所述将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录,包括:
    从所述集合中提取第二数值转移记录;
    在所述文件中查找与提取到的第二数值转移记录对应的第一数值转移记录;及
    若未查找到,则删除所述提取到的第二数值转移记录并生成核对更正记录。
  18. 根据权利要求13所述的服务器,其特征在于,所述目标服务器为资金转移处理服务器;所述第一数值转移记录为所述资金转移处理服务器生成的资金转移记录;本地为交易平台服务器;所述第一数值转移记录为所述交易平台服务器生成的交易记录。
  19. 一个或多个存储有计算机可执行指令的非易失性存储介质,所述计算机可执行指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤;
    获取记录核对指令;
    根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,并从本地获取第二数值转移记录,建立包括获取到的第二数值转移记录的集合;
    将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述集合中的第二数值转移记录进行更正生成核对更正记录;及
    根据所述核对更正记录生成核对报告。
  20. 根据权利要求19所述的非易失性存储介质,其特征在于,所述根据所述记录核对指令从目标服务器获取包括第一数值转移记录的文件,包括:
    提取所述记录核对指令中的用户标识和时间范围;
    根据所述用户标识和时间范围生成获取请求;
    将所述获取请求发送至目标服务器;及
    接收所述目标服务器根据所述获取请求返回的包括第一数值转移记录的文件,所述第一数值转移记录由所述目标服务器根据所述获取请求中的用户标识和时间范围查找得到。
  21. 根据权利要求19所述的非易失性存储介质,其特征在于,所述将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录,包括:
    提取所述文件中的第一数值转移记录;
    在所述集合中确定与提取到的第一数值转移记录对应的第二数值转移记录;
    检测确定的第二数值转移记录中是否存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息;及
    若不存在,根据所述提取到的第一数值转移记录生成数值转移确认信息,将生成的数值转移确认信息存储在所述确定的第二数值转移信息中并生成核对更正记录。
  22. 根据权利要求21所述的非易失性存储介质,其特征在于,所述检测确定的第二数值转移记录中是否存在与所述确定的第二数值转移记录中数值转移申请匹配的数值转移确认信息,包括:
    从确定的第二数值转移记录中提取数值转移申请和数值转移确认信息;
    比较所述数值转移申请中的转移数值和所述数值转移确认信息中的转移数值是否相等;及
    若不相等,则判定所述确定的第二数值转移记录中不存在与所述确定的第二数值转移记录中的数值转移申请匹配的数值转移确认信息。
  23. 根据权利要求19所述的非易失性存储介质,其特征在于,所述将所述文件中的第一数值转移记录和所述集合中的第二数值转移记录进行核对生成核对结果,根据所述核对结果对所述第二数值转移记录进行更正生成核对更正记录,包括:
    从所述集合中提取第二数值转移记录;
    在所述文件中查找与提取到的第二数值转移记录对应的第一数值转移记录;及
    若未查找到,则删除所述提取到的第二数值转移记录并生成核对更正记录。
  24. 根据权利要求19所述的非易失性存储介质,其特征在于,所述目标服务器为资金转移处理服务器;所述第一数值转移记录为所述资金转移处理服务器生成的资金转移记录;本地为交易平台服务器;所述第一数值转移记录为所述交易平台服务器生成的交易记录。
PCT/CN2017/078354 2016-07-21 2017-03-28 数值转移记录的核对方法、装置、服务器和存储介质 WO2018014581A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610587340.8A CN106407165B (zh) 2016-07-21 2016-07-21 数值转移记录的核对方法和装置
CN201610587340.8 2016-07-21

Publications (1)

Publication Number Publication Date
WO2018014581A1 true WO2018014581A1 (zh) 2018-01-25

Family

ID=58004770

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/078354 WO2018014581A1 (zh) 2016-07-21 2017-03-28 数值转移记录的核对方法、装置、服务器和存储介质

Country Status (2)

Country Link
CN (1) CN106407165B (zh)
WO (1) WO2018014581A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106407165B (zh) * 2016-07-21 2019-05-03 平安科技(深圳)有限公司 数值转移记录的核对方法和装置
CN110019194B (zh) * 2017-09-27 2023-03-03 腾讯科技(深圳)有限公司 数据核对方法、装置、计算机设备及存储介质
CN111797590B (zh) * 2020-06-30 2023-08-11 中国工商银行股份有限公司 数据核对方法、装置和设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588865A (zh) * 2004-09-03 2005-03-02 杭州恒生电子股份有限公司 关联数据批处理的方法
CN101710410A (zh) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 一种核对账务数据的方法和***
CN106407165A (zh) * 2016-07-21 2017-02-15 平安科技(深圳)有限公司 数值转移记录的核对方法和装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8145601B2 (en) * 2004-09-09 2012-03-27 Microsoft Corporation Method, system, and apparatus for providing resilient data transfer in a data protection system
CN101192229B (zh) * 2006-12-01 2010-09-22 阿里巴巴集团控股有限公司 一种同步数据的方法及***
CN101458705A (zh) * 2008-12-29 2009-06-17 阿里巴巴集团控股有限公司 一种不同应用***间的数据核对方法、装置及***
CN101854298A (zh) * 2010-05-19 2010-10-06 中国农业银行股份有限公司 报文的自动链接方法、账务修正方法及***
CN103793487B (zh) * 2014-01-20 2018-01-23 中国建设银行股份有限公司 用于对电子印鉴账户数据集中存取的方法和***

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1588865A (zh) * 2004-09-03 2005-03-02 杭州恒生电子股份有限公司 关联数据批处理的方法
CN101710410A (zh) * 2009-10-28 2010-05-19 金蝶软件(中国)有限公司 一种核对账务数据的方法和***
CN106407165A (zh) * 2016-07-21 2017-02-15 平安科技(深圳)有限公司 数值转移记录的核对方法和装置

Also Published As

Publication number Publication date
CN106407165B (zh) 2019-05-03
CN106407165A (zh) 2017-02-15

Similar Documents

Publication Publication Date Title
WO2018030707A1 (ko) 인증 시스템 및 방법과 이를 수행하기 위한 사용자 단말, 인증 서버 및 서비스 서버
WO2019205380A1 (zh) 电子装置、基于区块链的数据处理方法、程序和计算机存储介质
CN104573525B (zh) 一种基于白名单的专用信息服务软件漏洞修复***
WO2019144738A1 (zh) 金融业务的验证方法、装置、设备和计算机存储介质
WO2018233037A1 (zh) 数据库集成测试方法、装置、服务器及存储介质
WO2018149082A1 (zh) 合同生成方法、装置、服务器和存储介质
WO2018036167A1 (zh) 测试任务执行机分配方法、装置、服务器和存储介质
WO2018014580A1 (zh) 数据接口测试方法、装置、服务器和存储介质
WO2016169410A1 (zh) 登录方法、服务器和登录***
WO2018014581A1 (zh) 数值转移记录的核对方法、装置、服务器和存储介质
WO2018058959A1 (zh) Sql审核方法、装置、服务器及存储设备
WO2020246706A1 (ko) 문서의 신뢰성을 보장하기 위한 블록체인 기반의 문서 정보 관리 장치 및 그 동작 방법
WO2020246705A1 (ko) 블록체인을 기반으로 문서 정보의 관리를 가능하게 하는 문서 정보 관리 장치 및 그 동작 방법
WO2018149083A1 (zh) 业务数据流转方法、装置、存储介质和终端
WO2017107367A1 (zh) 用户标识处理的方法、终端和非易失性计算可读存储介质
US10055475B2 (en) Authentication system, synchronization method, and authentication apparatus
WO2018036168A1 (zh) 数据处理任务执行方法、装置、执行服务器和存储介质
WO2018035929A1 (zh) 一种验证码的处理方法及装置
WO2020087704A1 (zh) 信贷信息管理方法、装置、设备和存储介质
WO2021045428A1 (en) Method and apparatus for improving runtime performance after application update in electronic device
WO2019019670A1 (zh) 应用访问方法、装置、计算机设备和存储介质
WO2020077832A1 (zh) 云桌面的访问方法、装置、设备及存储介质
CN102750204A (zh) 一种恢复数据的方法、装置
WO2020233089A1 (zh) 测试用例生成方法、装置、终端及计算机可读存储介质
WO2020253131A1 (zh) 银行卡支付方法、装置、设备和计算机存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17830223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 16.05.2019)

122 Ep: pct application non-entry in european phase

Ref document number: 17830223

Country of ref document: EP

Kind code of ref document: A1