A kind of checking method recording information and device
Technical field
The application relates to computer internet technical field, particularly relate to a kind of checking method recording information and
Device.
Background technology
After warehouse keeper receives goods allotment task (mission number, mission bit stream) every time, notify work
People transports goods, and will carry out record when the deployment information of time goods, obtains record information, conveniently repeatedly adjusts
After joining, goods is made an inventory, if warehouse keeper's once misregistration, obtains the record information of mistake,
May result in and go out quantity of goods and actual quantity by the Information Statistics of record when making an inventory;Same, when
For performing the server of service request when receiving service request (service identification, business information) every time,
Perform service request, and by this service identification and business information record in data base, obtain record information,
Wherein comprise this service identification of expression and the field of business information, after conveniently performing repeatedly service request, carry out dish
Point, if server is once made mistakes, obtains the record information of mistake, may result in and make mistakes when making an inventory.
Such as, the operation system of bank receives a service request, including service identification (XXX) and industry
Business information (user A transfers accounts 100 yuan to user B), after performing service request, calls Accounting system to this
Service request carries out record, obtains record information, wherein comprise expression " XXX " and " user A to
Family B transfers accounts 100 yuan " field.Service identification can be by locking and is not modified, if but account
During system record, mistake occurs, obtain the record information of mistake, such as remember into that " user A turns to user B
Account 200 yuan ", without being found in time, arise that when making an inventory by recording what Information Statistics went out
Fund and the fund actually occurred.
Summary of the invention
The embodiment of the present application provides a kind of checking method recording information, is used for avoiding due to occurrence record mistake
And cause the problem made mistakes of making an inventory.
The embodiment of the present application provides a kind of checking device recording information, is used for avoiding due to occurrence record mistake
And cause the problem made mistakes of making an inventory.
The embodiment of the present application employing following technical proposals:
A kind of checking method recording information, including: obtain the record information do not checked;Obtain described record
Business information in the service request that information is corresponding;Whether described record information is mated with described business information
Check.
A kind of checking device recording information, including: the first acquiring unit, for obtaining the record do not checked
Information;Second acquisition unit, for obtaining the business information in the service request that described record information is corresponding;
Information verification unit, for whether mating described record information with described business information checks.
At least one technical scheme above-mentioned that the embodiment of the present application uses can reach following beneficial effect:
Owing to can judge after generating record information that the information of record is the most correct, such that it is able to send out at record
After life, judge that record information is the most consistent with service request the most at once, the most just can find to record wrong in time
Information, it is to avoid cause, due to occurrence record mistake, the problem made mistakes of making an inventory.
Accompanying drawing explanation
Accompanying drawing described herein is used for providing further understanding of the present application, constitutes the part of the application,
The schematic description and description of the application is used for explaining the application, is not intended that the improper limit to the application
Fixed.In the accompanying drawings:
Fig. 1 shows for the flow process that implements of a kind of checking method recording information that the embodiment of the present application 1 provides
It is intended to;
The concrete structure schematic diagram of a kind of checking device recording information that Fig. 2 provides for the embodiment of the present application 2;
The schematic diagram of the account checking method in a kind of banking system that Fig. 3 provides for the embodiment of the present application 3.
Detailed description of the invention
For making the purpose of the application, technical scheme and advantage clearer, specifically real below in conjunction with the application
Execute example and technical scheme is clearly and completely described by corresponding accompanying drawing.Obviously, described
Embodiment is only some embodiments of the present application rather than whole embodiments.Based on the enforcement in the application
Example, the every other enforcement that those of ordinary skill in the art are obtained under not making creative work premise
Example, broadly falls into the scope of the application protection.
Below in conjunction with accompanying drawing, describe the technical scheme that each embodiment of the application provides in detail.
Embodiment 1
Embodiment 1 provides a kind of checking method recording information, is used for avoiding due to occurrence record mistake
The problem that causing makes an inventory makes mistakes.The idiographic flow schematic diagram of the method is as it is shown in figure 1, comprise the steps:
Step 11, obtains the record information do not checked;
Step 12, obtains the business information in the service request that described record information is corresponding;
Whether step 13, mate with described business information described record information and check.
Use the method that embodiment 1 provides, owing to the information of record can be judged after generating record information
The most correct, such that it is able to after record occurs, judge that record information is the most consistent with service request the most at once,
The most just can find in time to record wrong information, it is to avoid causing due to occurrence record mistake makes an inventory makes mistakes
Problem.
Step 11 is discussed in detail individually below to step 13:
In one embodiment, in order to get the record information do not checked, performing step 11
Before, it is also possible to including: obtain service request;Record information is generated according to the service request obtained;To generate
Record information flag for not check.
Wherein, service request includes: service identification and business information.Such as, a service request " is promoted trade and investment
Bank-user A transfers accounts RMB 100 yuan to China Merchants Bank user B ", including: service identification (flowing water list
Numbers 201501280900) and business information (China Merchants Bank user A transfers accounts the people to China Merchants Bank user B
100 yuan of coin).
Generate record information according to the service request obtained, may include that the service request according to obtaining is direct
Generate record information;Maybe the service request of acquisition is sent to the third-party server for record of production information,
So that this third-party server generates record information according to service request.Such as, when getting a business
During request, including: (China Merchants Bank uses for service identification (flowing water odd numbers 201501280900) and business information
Family A transfers accounts RMB 100 yuan to China Merchants Bank user B), accounting information (silver of promoting trade and investment can be directly generated
OK, 201501280900, transfer accounts, user A, user B, RMB, 100);Can also be first by this business
Request is sent to be responsible for the Accounting system server of book keeping operation so that Accounting system server is according to this request, raw
Become accounting information.
It should be noted that service identification and service request generate, unique this service request of expression simultaneously
Mark.Service identification will be locked after generating, and must not change.It is right to be saved in by this service identification
In the record information of this service request.
It is the most checked a kind of state to embody the record information of generation, the record information that can will generate
It is labeled as not checking, in order to obtain the record information being labeled as not checking in a step 11.Such as, generate
Accounting information (China Merchants Bank, 201501280900, transfer accounts, user A to user B, RMB, 100),
It is labeled as not checking by this accounting information, when searching the accounting information do not checked, it is possible to find
201501280900 these accounting informations.
In one embodiment, owing to there will be different types of service and business source, generate the most of the same trade or business
Service type and the system and method for record information in different business source and the record information format generated
It is likely to difference, so in order to obtain some service request targetedly,
Obtain service request, including: obtain and meet the service request imposed a condition;Wherein, setting bar is met
Part includes: possesses particular traffic type and/or possesses specific transactions source.
Specifically, type of service can be, but not limited to include: storage service;Extraction business etc..Such as,
The transferred account service that the deposit business that bank provides the user, business of withdrawing the money and access combine.Business source can
With but be not limited to include: PC (Personal Computer personal computer) hold, mobile terminal etc..When
When only needing to generate from the accounting information of the transferred account service of mobile terminal, can first obtain from mobile terminal
Transferred account service request, then generate should the accounting information of service request.
For for step 11, the record information being labeled as not checking can be obtained, such as, use in bank
In the Accounting system kept accounts, get one that be labeled as not checking, from mobile terminal, flowing water odd numbers
Be the transferred account service of 201501280900 accounting information (China Merchants Bank, 201501280900, transfer accounts,
User A is to user B, RMB, 100).
For for step 12, can obtain in the service request that record information is corresponding according to service identification
Business information, such as, in a step 11, get book keeping operation that flowing water odd numbers is 201501280900 letter
Breath, according to this flowing water odd numbers, the business information got in the service request mapped mutually with this flowing water odd numbers (is recruited
Business bank-user A transfers accounts RMB 100 yuan to China Merchants Bank user B).
For for step 13, whether record information is mated with business information and checks, including: sentence
Whether disconnected record information mates with described business information, upon a match, determine checked result be record information without
By mistake;By the described record information flag do not verified for check.When not mating, determine that checked result is note
Record information is wrong;Send false alarm.
Specifically, it is judged that whether record information mates with described business information, can be by judging record letter
Breath determines whether to mate with the keyword in business information.Such as, flowing water odd numbers is 201501280900
The accounting information of transferred account service be: China Merchants Bank, 201501280900, transfer accounts, user A to user B,
RMB, 100;To should the business information of flowing water odd numbers be: China Merchants Bank user A is to China Merchants Bank user
B transfers accounts RMB 100 yuan;It is possible to by coupling keyword " transfer accounts ", " user A ", " user
B ", " 100 " and " RMB (or RMB) " etc., determine whether record information mates with business information.
Upon a match, determine that checked result is that accounting information is errorless, and by this accounting information labelling before step 11
Do not check, amendment be labeled as checking;When again checking, the most no longer choose the book keeping operation checked
Information, also just no longer checks the accounting information that flowing water odd numbers is 201501280900.When not mating
Time (e.g., accounting information is: China Merchants Bank, 201501280900, transfer accounts, user A to user B, RMB,
90;Go out amount in cash not mate), determine that checked result is that accounting information is wrong, then can send to manager
False alarm, it is also possible to this accounting information is re-flagged into mistake, in order to manager finds the note of mistake
Account information, then manager can check the reason of system fault and repair system vulnerability.
It should be noted that the executive agent of each step of the provided method of embodiment 1 may each be same and sets
Standby, or, each step of the method can also be by distinct device as executive agent.Such as, step 11
Can be equipment 1 with the executive agent of step 12, the executive agent of step 13 can be equipment 2;Again than
As, the executive agent of step 11 can be the executive agent of equipment 1, step 12 and step 13 can be to set
Standby 2;Etc..
Embodiment 2
Based on identical inventive concept, embodiment 2 provides a kind of checking device recording information, is used for
Judge after record information that the information of record is the most correct.As in figure 2 it is shown, the checking device bag of this record information
Include:
First acquiring unit 21, may be used for obtaining the record information do not checked;
Second acquisition unit 22, may be used for the business letter obtaining in the service request that described record information is corresponding
Breath;
Information verification unit 23, may be used for whether mating described record information with described business information carrying out
Verification.
Use this device that embodiment 2 provides, owing to the information of record can be judged after generating record information
The most correct, such that it is able to after record occurs, judge that record information is the most consistent with service request the most at once,
The most just can find in time to record wrong information, it is to avoid causing due to occurrence record mistake makes an inventory makes mistakes
Problem.
In one embodiment, device also includes: information generating unit, may be used for:
Before obtaining the record information do not verified,
Obtain service request;Record information is generated according to the service request obtained;The record information mark that will generate
It is designated as not checking.
In one embodiment, information generating unit, may be used for:
Obtain and meet the service request imposed a condition;Wherein, satisfied imposing a condition includes: possess specific transactions
Type and/or possess specific transactions source.
In one embodiment, information verification unit 23, may be used for:
Judge whether described record information mates with described business information;Upon a match, determine that checked result is
Record information is errorless;By the described record information flag do not verified for check.
In one embodiment, information verification unit 23, it is also possible to be used for:
When not mating, determine that checked result is that record information is wrong;Send false alarm.
In one embodiment, information verification unit 23, may be used for:
Described record information and described business information are carried out keyword match.
Embodiment 3
Based on identical inventive concept, embodiment 3 provides the account checking method in a kind of banking system, the party
In method, it is assumed that executive agent is the server of the operation system in banking system, banking system also comprises account
Family system (is used for keeping accounts), only checks the accounting information of the RMB transferred account service from PC end.Signal
Figure is as it is shown on figure 3, comprise the steps:
Step 31, operation system obtains a RMB transferred account service from PC end and asks.
As shown in following table 3-1, the list of fields of the China Merchants Bank's service request got, including: flowing water list
Numbers 2015012801000;(China Merchants Bank user A's business information transfers accounts the people to China Merchants Bank user B
100 yuan of coin).
Table 3-1
Step 32, operation system calls the Accounting system being responsible for book keeping operation, to (the letter of this China Merchants Bank's service request
Claim " request ") keep accounts.
As shown in following table 3-2, the word of this China Merchants Bank's accounting information (being called for short " accounting information ") obtained
Duan Liebiao.
Table 3-2
Step 33, is labeled as not checking by accounting information.As shown in following table 3-3, it it is a note do not checked
Account information.
Table 3-3
Step 34, the accounting information do not checked generated in obtaining step 33, according to flowing water odd numbers, obtain
Business information in the request that this accounting information is corresponding.
Step 35, it is judged that in the list of fields of business information and accounting information, for " currency type ", " producing ",
" proceed to ", keyword in the information such as " amount of money " is coupling, it is determined that accounting information is errorless;Such as following table
Shown in 3-4, accounting information is re-flagged as checking.
Table 3-4
Account checking method in the banking system of embodiment 3 offer is provided, can be after book keeping operation occur, the most at once
Judge that accounting information is the most consistent with service request, the most just can find wrong information of keeping accounts in time, it is to avoid
Due to the problem occurring error in entering accounts to occur not being inconsistent with actual funds flowing when causing making an inventory.
Those skilled in the art are it should be appreciated that embodiments herein can be provided as method, system or meter
Calculation machine program product.Therefore, the application can use complete hardware embodiment, complete software implementation or knot
The form of the embodiment in terms of conjunction software and hardware.And, the application can use and wherein wrap one or more
Computer-usable storage medium containing computer usable program code (include but not limited to disk memory,
CD-ROM, optical memory etc.) form of the upper computer program implemented.
The application is with reference to method, equipment (system) and the computer program product according to the embodiment of the present application
The flow chart of product and/or block diagram describe.It should be understood that can by computer program instructions flowchart and
/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to general purpose computer, special-purpose computer, embedding
The processor of formula datatron or other programmable data processing device is to produce a machine so that by calculating
The instruction that the processor of machine or other programmable data processing device performs produces for realizing at flow chart one
The device of the function specified in individual flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions may be alternatively stored in and computer or the process of other programmable datas can be guided to set
In the standby computer-readable memory worked in a specific way so that be stored in this computer-readable memory
Instruction produce and include the manufacture of command device, this command device realizes in one flow process or multiple of flow chart
The function specified in flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makes
Sequence of operations step must be performed to produce computer implemented place on computer or other programmable devices
Reason, thus the instruction performed on computer or other programmable devices provides for realizing flow chart one
The step of the function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
In a typical configuration, calculating equipment includes one or more processor (CPU), input/defeated
Outgoing interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
(RAM) and/or the form such as Nonvolatile memory, such as read only memory (ROM) or flash memory (flash RAM).
Internal memory is the example of computer-readable medium.
Computer-readable medium includes that removable media permanent and non-permanent, removable and non-can be by appointing
Where method or technology realize information storage.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory
(PRAM), static RAM (SRAM), dynamic random access memory (DRAM), its
The random access memory (RAM) of his type, read only memory (ROM), electrically erasable are read-only
Memorizer (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc read only memory
(CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassette tape, tape magnetic
Disk storage or other magnetic storage apparatus or any other non-transmission medium, can be used for storage can be calculated
The information that equipment accesses.According to defining herein, computer-readable medium does not include temporary computer-readable matchmaker
Body (transitory media), such as data signal and the carrier wave of modulation.
Also, it should be noted term " includes ", " comprising " or its any other variant are intended to non-
Comprising of exclusiveness, so that include that the process of a series of key element, method, commodity or equipment not only wrap
Include those key elements, but also include other key elements being not expressly set out, or also include for this process,
The key element that method, commodity or equipment are intrinsic.In the case of there is no more restriction, statement " include
One ... " key element that limits, it is not excluded that in including the process of key element, method, commodity or equipment
There is also other identical element.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can use complete hardware embodiment, complete software implementation or combine software and
The form of the embodiment of hardware aspect.And, the application can use and wherein include calculating one or more
The computer-usable storage medium of machine usable program code (include but not limited to disk memory, CD-ROM,
Optical memory etc.) form of the upper computer program implemented.
These are only embodiments herein, be not limited to the application.For people in the art
For Yuan, the application can have various modifications and variations.All made within spirit herein and principle
Any modification, equivalent substitution and improvement etc., within the scope of should be included in claims hereof.