CN109785024A - Invoice data processing method, device, computer equipment and storage medium - Google Patents
Invoice data processing method, device, computer equipment and storage medium Download PDFInfo
- Publication number
- CN109785024A CN109785024A CN201910007500.0A CN201910007500A CN109785024A CN 109785024 A CN109785024 A CN 109785024A CN 201910007500 A CN201910007500 A CN 201910007500A CN 109785024 A CN109785024 A CN 109785024A
- Authority
- CN
- China
- Prior art keywords
- invoice
- data
- making out
- information
- initially
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 18
- 238000003860 storage Methods 0.000 title claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 131
- 238000004080 punching Methods 0.000 claims abstract description 30
- 238000000034 method Methods 0.000 claims abstract description 21
- 238000004590 computer program Methods 0.000 claims description 27
- 230000006870 function Effects 0.000 claims description 24
- 230000006978 adaptation Effects 0.000 claims description 22
- 238000004458 analytical method Methods 0.000 claims description 6
- 230000005540 biological transmission Effects 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 8
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000012552 review Methods 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000013500 data storage Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
This application involves technical field of data processing, are applied to financial industry, more particularly to a kind of invoice data processing method, device, computer equipment and storage medium.Method in one embodiment includes: to receive the invoice processing request of requesting terminal, invoice processing request carries information of initially making out an invoice, apply for user identifier and application item mark, parse invoice processing request, when applying for that user identifier belongs to legitimate user's mark, according to initially making out an invoice, information is matched in presetting data source of making out an invoice, when in data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and it sends and makes out an invoice data and apply for that item is identified to default processing terminal, the invoice for receiving processing terminal feedback handles data, invoice handles data and handles to obtain according to the red punching/calcellation of the split ticket data progress of application item mark by processing terminal, in this way without being accomplished manually the red punching of invoice/calcellation process flow, it can effectively improve working efficiency.
Description
Technical field
This application involves computer data processing technology field, more particularly to a kind of invoice data processing method, device,
Computer equipment and storage medium.
Background technique
Invoice has great importance and acts in socio-economic activity, and invoice has many characteristics, such as legitimacy, authenticity,
It is most basic one of accounting original certificate, is the important work for recording the carrier and financial management work of economic activity content
Tool.In addition, invoice is also tax authority's control source of tax revenue, the important evidence of collection of tax.
Credit note is needed out for across the invoice that the moon is staggered, i.e. former pin item is eaten up part of in the red punching processing of progress invoice;For working as
It has drawn a bill the moon and has needed to cancel processing, needed to carry out invoice positive number calcellation processing.And the red punching of traditional invoice/calcellation process,
Finance staff's manpower workload is big, and working efficiency is low.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of invoice data processing that can be improved working efficiency
Method, apparatus, computer equipment and storage medium.
A kind of invoice data processing method, which comprises
The invoice for receiving requesting terminal handles request, and the invoice processing request carries information of initially making out an invoice, application user
Mark and application item mark;
The invoice processing request is parsed, when the application user identifier belongs to legitimate user's mark, according to described first
Beginning information of making out an invoice is matched in default data source of making out an invoice;
When in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and described in sending
Data of making out an invoice and application item are identified to default processing terminal;
It receives invoice and handles data, the invoice processing data are by the processing terminal according to application item mark pair
The data of making out an invoice carry out red punching/calcellation and handle to obtain.
In one embodiment, it is described when in the data source of making out an invoice there are it is matched make out an invoice information when, obtain it is corresponding
It makes out an invoice data, comprising:
When in the caching of the data source of making out an invoice exist with it is described initially make out an invoice information it is corresponding make out an invoice data when, obtain with
The corresponding data of making out an invoice of information of initially making out an invoice.
In one embodiment, the method also includes:
When in the caching of the data source of making out an invoice there is no with it is described initially make out an invoice information it is corresponding make out an invoice data when, in institute
State searched in the database for data source of making out an invoice with the corresponding data of making out an invoice of information of initially making out an invoice, will find with it is described at the beginning of
Beginning makes out an invoice in the corresponding data write-in caching of making out an invoice of information.
In one embodiment, the method also includes:
The corresponding relationship of user information, authority information, user and permission is respectively stored in different tables of data;
Initialization obtains Page Name, identifies the Access Column in the Page Name from preset data library inquiry active user
Table compares the access list, traverses the corresponding control of the Page Name, the access according to the tables of data to the control
It is limited.
In one embodiment, the information of initially making out an invoice includes querying attributes and querying attributes value;
It is described to be matched in default data source of making out an invoice according to the information of initially making out an invoice, comprising:
Matching tree is generated by the information of initially making out an invoice, and the matching is set for recording the querying attributes value, described
Position, adaptation function for matching inquiry attribute or logical operation of the querying attributes in default data source of making out an invoice;
It is described when in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, comprising:
It is searched in the data source of making out an invoice by matching tree, acquisition is made out an invoice with the information matches of initially making out an invoice
Data.
It in one embodiment, include multiple queries attribute in the information of initially making out an invoice, it is described initially to be opened by described
Ticket information generates matching tree, comprising:
The matching tree including matched node and logical node is generated by the information of initially making out an invoice, wherein the matching
Node is the leaf node of the logical node, the logical node for record with operation or operation and inverse, described
With node be used to record position of the querying attributes in the data source of making out an invoice, the adaptation function pointer address and
Corresponding querying attributes value.
A kind of invoice data processing unit, described device include:
Request receiving module, the invoice for receiving requesting terminal handle request, and the invoice processing request carries initial
Information, application user identifier and the application item of making out an invoice identify;
Request analysis module, for parsing the invoice processing request, when the application user identifier belongs to legitimate user
When mark, matched in default data source of making out an invoice according to the information of initially making out an invoice;
Matching module, for when in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding number of making out an invoice
According to, and make out an invoice described in transmission data and application item are identified to default processing terminal;
Request processing module, the invoice for receiving the processing terminal feedback handle data, and the invoice handles data
It is identified by the processing terminal according to the application item and the red punching/calcellation of data progress of making out an invoice is handled to obtain.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing
Device performs the steps of when executing the computer program
The invoice for receiving requesting terminal handles request, and the invoice processing request carries information of initially making out an invoice, application user
Mark and application item mark;
The invoice processing request is parsed, when the application user identifier belongs to legitimate user's mark, according to described first
Beginning information of making out an invoice is matched in default data source of making out an invoice;
When in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and described in sending
Data of making out an invoice and application item are identified to default processing terminal;
Receive the invoice processing data of processing terminal feedback, the invoice processing data by the processing terminal according to
The application item mark carries out red punching/calcellation to the data of making out an invoice and handles to obtain.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
The invoice for receiving requesting terminal handles request, and the invoice processing request carries information of initially making out an invoice, application user
Mark and application item mark;
The invoice processing request is parsed, when the application user identifier belongs to legitimate user's mark, according to described first
Beginning information of making out an invoice is matched in default data source of making out an invoice;
When in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and described in sending
Data of making out an invoice and application item are identified to default processing terminal;
Receive the invoice processing data of processing terminal feedback, the invoice processing data by the processing terminal according to
The application item mark carries out red punching/calcellation to the data of making out an invoice and handles to obtain.
Above-mentioned invoice data processing method, device, computer equipment and storage medium, by the invoice for receiving requesting terminal
Processing request, invoice processing request carry information of initially making out an invoice, application user identifier and application item mark, parsing invoice processing
Request, when applying for that user identifier belongs to legitimate user's mark, according to initially making out an invoice, information carries out in presetting data source of making out an invoice
Matching, when in data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and send make out an invoice data and Shen
Please item identify to default terminal, the invoice for receiving processing terminal feedback handles data, and invoice handles data by processing terminal root
It identifies the red punching/calcellation of split ticket data progress according to application item to handle to obtain, in this way without being accomplished manually at the red punching/calcellation of invoice
Process is managed, can effectively improve working efficiency, in addition, invoice can be improved by the user's operation for distinguishing different rights terminal
Red punching/calcellation processing operation convenience and accuracy.
Detailed description of the invention
Fig. 1 is the applied environment figure of invoice data processing method in one embodiment;
Fig. 2 is the flow diagram of invoice data processing method in one embodiment;
Fig. 3 is the flow diagram of priority assignation step in one embodiment;
Fig. 4 is the flow diagram of invoice data processing method in another embodiment;
Fig. 5 is the timing diagram of invoice data processing method in one embodiment;
Fig. 6 is the structural block diagram of invoice data processing unit in one embodiment;
Fig. 7 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
Invoice data processing method provided by the present application can be applied in application environment as shown in Figure 1.Wherein, it asks
Terminal 102, processing terminal 104 is asked to be communicated respectively by network with server 106.Server receives what requesting terminal was sent
Invoice processing request, invoice processing request carry information of initially making out an invoice, application user identifier and application item mark.Server solution
Invoice processing request is analysed, when applying for that user identifier belongs to legitimate user's mark, according to information of initially making out an invoice in default number of making out an invoice
According to being matched in source, when in data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and send and open
Ticket data and application item are identified to default processing second terminal.The invoice that server receives processing terminal feedback handles data,
Invoice handles data and handles to obtain according to the red punching/calcellation of the split ticket data progress of application item mark by processing terminal.Wherein, it asks
Asking terminal 102 and processing terminal 104 can be, but not limited to is various personal computers, laptop, smart phone peace
Plate computer, server 106 can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of invoice data processing method, it is applied to Fig. 1 in this way
In server for be illustrated, comprising the following steps:
Step 202, the invoice processing request of requesting terminal is received, invoice processing request carries information of initially making out an invoice, application
User identifier and application item mark.
Invoice processing request refers to be carried out red punching processing or had drawn a bill to this month to make to across the invoice being staggered the moon
The request of useless processing.Information of initially making out an invoice refers to the information of initially having made out an invoice of invoice corresponding with invoice processing request, such as former
Billing request number, primary ticket number, original invoice code etc..Apply for that user identifier is used for the request to invoice processing request is initiated
The corresponding user of terminal is identified, and application item mark is for being that the red punching request of invoice or invoice cancel to the request of initiation
Request is identified.For example, the hilllock staff that handles of each business bar line initiates the red punching request of invoice, the red punching of invoice is submitted to ask
It asks to financial enterprise planning system, the red punching request of invoice carries information of initially making out an invoice, application user identifier and application item mark, initially
Information of making out an invoice can be former billing request number, primary ticket number, original invoice code etc..
Step 204, parsing invoice processing request, when applying for that user identifier belongs to legitimate user's mark, according to initially opening
Ticket information is matched in default data source of making out an invoice.
Legitimate user's mark specifically can be each business bar line and handle the corresponding user identifier of hilllock staff, default to open
Ticket data source refers to the medium for being stored with the data of making out an invoice for opening invoice generation.Invoice processing request is parsed, is initially made out an invoice
Information, application user identifier and application item mark judge that applying for whether user identifier belongs to handles hilllock staff's permission pair
The user identifier answered, when apply user identifier belong to handle hilllock staff's permission corresponding user identifier when, according to initially opening
Ticket information is matched in default data source of making out an invoice.It is only met certain condition in this way in the user for initiating invoice processing request
When, just matching operation is searched in meeting respond request, execution to server, can be to avoid the non-permission user bring non-productive work of response
Amount, speed up processing.
Step 206, when in data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and send
Data of making out an invoice and application item are identified to default processing terminal.
The default corresponding permission of processing terminal user identifier and the corresponding permission of legitimate user's mark are different, specifically,
Legitimate user identifies corresponding can be and handles hilllock user, and processing terminal user identifier is corresponding to can be review hilllock user, than
Such as financial staff.Using the information of initially making out an invoice in invoice processing request as matching keywords, the progress in data source of making out an invoice
Match, when exist in data source of making out an invoice with information matches of initially making out an invoice make out an invoice information when, obtain this information of making out an invoice be corresponding and make out an invoice
Data, and send make out an invoice data and the application item and identify to processing terminal.
Step 208, the invoice for receiving processing terminal feedback handles data, and invoice handles data by processing terminal according to application
Item identifies the red punching/calcellation of split ticket data progress and handles to obtain.
Split ticket data is identified according to application item and carries out red punching/calcellation processing, is hair when application item mark is corresponding
Ticket is red when rushing, and split ticket data carries out the red punching processing of invoice, opens credit note, and to eat up part of former pin item, by having carried out, invoice is red
The data of making out an invoice of punching processing rush data as invoice is red.When it is that invoice cancels that application item mark is corresponding, split ticket data
Invoice positive number calcellation processing is carried out, the data of making out an invoice that will have carried out invoice calcellation processing make dirty data as invoice.
Above-mentioned invoice data processing method, receives the invoice processing request of requesting terminal, and invoice processing request carries initial
Information, application user identifier and the application item of making out an invoice identify, parsing invoice processing request, when application user identifier belongs to legal use
When family identifies, according to initially making out an invoice, information is matched in presetting data source of making out an invoice, when there are matched in data source of making out an invoice
When information of making out an invoice, corresponding data of making out an invoice are obtained, and is sent and is made out an invoice data and apply for that item is identified to default processing terminal, are received
The invoice of processing terminal feedback handles data, invoice handle data by processing terminal according to application item identify split ticket data into
Red punching/the calcellation of row handles to obtain, and in this way without being accomplished manually the red punching of invoice/calcellation process flow, can effectively improve work effect
Rate, in addition, the red punching of invoice/calcellation processing operation convenience can be improved by the user's operation for distinguishing different rights terminal
And accuracy.
In one embodiment, when in data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice,
Include: when exist in the caching for data source of making out an invoice it is corresponding with information of initially making out an invoice make out an invoice data when, obtain and initially make out an invoice letter
Cease corresponding data of making out an invoice.Specifically, the data of making out an invoice in data source of making out an invoice partially are stored in caching since data volume is larger
In, part storage is in the database.According to information of initially making out an invoice, for example using primary ticket number as matching keywords, caching
In carry out lookup matching, when in caching exist with original invoice numbers match make out an invoice data when, obtain the data of making out an invoice.By slow
Deposit as storage medium, be stored with part data to be checked in caching, when the data storage for needing to inquire in the buffer when, can be with
It is directly transferred from caching, avoids the inquiry operation to database, inquiry velocity can be accelerated, caching can be set in service
In device.
In one embodiment, invoice data processing method further include: when in the caching for data source of making out an invoice there is no with it is first
Beginning make out an invoice information it is corresponding make out an invoice data when, searched in the database for data source of making out an invoice and make out an invoice that information is corresponding to make out an invoice with initial
Data, will be in the data write-in caching of making out an invoice corresponding with information of initially making out an invoice that found.Specifically, according to letter of initially making out an invoice
Breath, for example, using former billing request number as matching keywords, carry out lookup matching in the buffer, when in caching be not present and original
Invoice application number it is matched make out an invoice data when, in the database for data source of making out an invoice search it is corresponding with original invoice application numbers
It makes out an invoice data, in the data write-in caching of making out an invoice corresponding with original invoice application numbers that will be found.Further according to original invoice application
Number judgement make out an invoice data source caching in the presence or absence of data of making out an invoice corresponding with original invoice application numbers, when existing in caching
It is corresponding with original invoice application numbers make out an invoice data when, obtain the data of making out an invoice.It is used as storage medium by caching, when needs are looked into
When the data of inquiry are stored in the database, the data are transferred from database, write-in caching avoids looking into database repeatedly
It askes, to accelerate subsequent query response speed.
In one embodiment, as shown in figure 3, data creation method of making out an invoice further includes priority assignation, priority assignation includes:
Step 302, the corresponding relationship of user information, authority information, user and permission is respectively stored in different tables of data;Step
304, initialization obtains Page Name, the access list from preset data library inquiry active user mark in Page Name, control
Access list, the corresponding control of traversal Page Name, limits the access of control according to tables of data.In financial enterprise planning system
Setting of the server about staff's permission, the permission of staff include handling hilllock permission and review hilllock permission, wherein multiple
Core hilllock permission includes financial staff's permission and tax staff's permission.The administrative staff of financial enterprise planning system choose in newly-built user
The affiliated business bar line of user and said module, affiliated business bar line includes the same trade, loan, medium and small enterprise and development platform etc., affiliated
Module includes income, cost and the online product of institutional client etc..The addressable menu permission of user is the dish for relying on role and assigning
The menu for handling hilllock access of single permission, different business bar line is different, therefore needs to establish by business bar line or said module more
It is a to handle hilllock and multiple review hilllocks.To avoid creating excessive redundancy role, Role Management logic need to be optimized, by user information,
The corresponding relationship of authority information, user and permission is respectively stored in different tables of data.Then system initialization obtains page name
Claim, from preset data library inquiry active user mark in the access list of Page Name, compares access list, traverse Page Name
Corresponding control limits the access of control according to tables of data.
In one embodiment, as shown in figure 4, information of initially making out an invoice includes querying attributes and querying attributes value;According to first
Beginning information of making out an invoice is matched in default data source of making out an invoice, comprising: step 404, matching tree is generated by information of initially making out an invoice,
Matching sets the position being used for record queries attribute value, querying attributes in default data source of making out an invoice, for matching inquiry attribute
Adaptation function or logical operation;When in data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, packet
It includes: step 406, being searched in data source of making out an invoice by matching tree, obtain the data of making out an invoice with information matches of initially making out an invoice.Inquiry
Attribute refers to the field for inquiry, and querying attributes may include original invoice code, primary ticket number, commodity code, trade name
Title, date of application, main body of making out an invoice etc., querying attributes value refer to the corresponding attribute value of querying attributes.For matching inquiry attribute
Adaptation function, which refers to, carries out matched function between querying attributes and querying attributes value, adaptation function can according to querying attributes from
It is transferred in pre-stored adaptation function.For example data of the inquiry date of application after on June 1st, 2018, querying attributes are
Date of application, the data type of querying attributes value are number, and corresponding adaptation function specifically can be number and be greater than adaptation function.
Logical operation refers to the logical operation between each querying attributes, can specifically include with operation or operation, inverse etc., than
Such as inquire with operation by two querying attributes of main body and date of application of making out an invoice.According to acquisition of information inquiry item of initially making out an invoice
Part generates matching tree, matches in tree and carry querying condition, it is possible thereby to lookup and inquiry in data source of making out an invoice by matching tree
The identical data of condition.Specifically, matching tree has recorded the position of querying attributes value, querying attributes in default data source of making out an invoice
It sets, the adaptation function for matching inquiry attribute or logical operation, quick search may be implemented according to the information in matching tree.
In one embodiment, include multiple queries attribute in information of initially making out an invoice, pass through information generation of initially making out an invoice
With tree, comprising: pass through information of initially making out an invoice and generate include matched node and logical node matching tree, wherein matched node is
The leaf node of logical node, logical node are used for record queries with operation or operation and inverse, matched node for recording
Position of the attribute in data source of making out an invoice, the pointer address of adaptation function and corresponding querying attributes value.Leaf node is
Node with lowermost end in tree, leaf node do not have child node.When only including a querying attributes in information of initially making out an invoice,
A matched node is only included with tree.When including multiple queries attribute in information of initially making out an invoice, matching tree includes matched node
And logical node.Adaptation function can be transferred from pre-stored adaptation function according to querying attributes, and matched node is for remembering
Record has the pointer address of adaptation function, so as to transfer corresponding adaptation function according to pointer address.?
Nodes records have commodity code, two querying attributes of product name or operation, matched node record have commodity code, trade name
Claim position of two querying attributes in data source of making out an invoice, the pointer position of adaptation function and corresponding querying attributes value.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, the timing diagram of invoice data processing method as shown in Figure 5 gives in the timing diagram and asks
Seek the dynamic cooperative between terminal, server and processing terminal.Specifically, as shown, requesting terminal sends invoice processing
To server, invoice processing request carries information of initially making out an invoice, application user identifier and application item mark for request.Server connects
Receive and dispatch ticket processing request, parsing invoice processing request, when applying for that user identifier belongs to legitimate user's mark, according to initially making out an invoice
Information is matched in default data source of making out an invoice, when in data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding
It makes out an invoice data, and sends and make out an invoice data and application item is identified to processing terminal.Processing terminal receives make out an invoice data and application thing
Item mark identifies split ticket data according to application item and carries out red punching/calcellation processing, obtains invoice processing data, and be sent to
Server.
In one embodiment, as shown in fig. 6, providing a kind of invoice data processing unit, comprising: request receiving module
602, request analysis module 604, matching module 606 and request processing module 608.Wherein, request receiving module, for receiving
The invoice of requesting terminal handles request, and invoice processing request carries information of initially making out an invoice, application user identifier and application item mark
Know.Request analysis module, for parsing invoice processing request, when applying for that user identifier belongs to legitimate user's mark, according to first
Beginning information of making out an invoice is matched in default data source of making out an invoice.Matching module is opened for working as in data source of making out an invoice there are matched
When ticket information, corresponding data of making out an invoice are obtained, and is sent and is made out an invoice data and apply for that item is identified to default processing terminal.At request
Module is managed, the invoice for receiving processing terminal feedback handles data, and invoice handles data by processing terminal according to application item
Red punching/the calcellation of split ticket data progress is identified to handle to obtain.
In one embodiment, matching module is also used to when existing in the caching for data source of making out an invoice and initially make out an invoice information pair
Answer make out an invoice data when, obtain data of making out an invoice corresponding with initial information of making out an invoice.
In one embodiment, invoice data processing unit further includes caching writing module, for when data source of making out an invoice
In caching there is no with initially make out an invoice information it is corresponding make out an invoice data when, in the database for data source of making out an invoice search and initially open
The corresponding data of making out an invoice of ticket information, will be in the data write-in caching of making out an invoice corresponding with information of initially making out an invoice that found.
In one embodiment, invoice data processing unit further includes information storage module, is used for user information, permission
The corresponding relationship of information, user and permission is respectively stored in different tables of data;Permission enquiry module obtains page for initializing
Face title compares access list from preset data library inquiry active user mark in the access list of Page Name, traverses the page
The corresponding control of title limits the access of control according to tables of data.
In one embodiment, information of initially making out an invoice includes querying attributes and querying attributes value;Request analysis module is also used
In generating matching tree by information of initially making out an invoice, matching tree is for record queries attribute value, querying attributes in default data of making out an invoice
Position in source, the adaptation function for matching inquiry attribute or logical operation;Matching module is also used to opening by matching tree
Ticket data is searched in source, obtains the data of making out an invoice with information matches of initially making out an invoice.
It in one embodiment, include multiple queries attribute in information of initially making out an invoice, request analysis module is also used to pass through
Information of initially making out an invoice generates the matching tree including matched node and logical node, wherein matched node is the leaf of logical node
Node, logical node are used for record queries attribute in data of making out an invoice with operation or operation and inverse, matched node for recording
The pointer address of position, adaptation function in source and corresponding querying attributes value.
Specific about invoice data processing unit limits the limit that may refer to above for invoice data processing method
Fixed, details are not described herein.Modules in above-mentioned invoice data processing unit can fully or partially through software, hardware and its
Combination is to realize.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with
It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding
Operation.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction
Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and
Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment
Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data
Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating
The database of machine equipment is for storing the number such as corresponding relationship and access list of user information, authority information, user and permission
According to.The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program is processed
To realize a kind of invoice data processing method when device executes.
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied
The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment
It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with
Computer program, the processor perform the steps of the invoice processing request for receiving requesting terminal, hair when executing computer program
Ticket processing request carries information of initially making out an invoice, application user identifier and application item mark;Invoice processing request is parsed, application is worked as
When user identifier belongs to legitimate user's mark, according to initially making out an invoice, information is matched in presetting data source of making out an invoice;When making out an invoice
In data source there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and send make out an invoice data and application item mark
To default processing terminal;The invoice for receiving processing terminal feedback handles data, and invoice handles data by processing terminal according to application
Item identifies the red punching/calcellation of split ticket data progress and handles to obtain.
In one embodiment, delaying when data source of making out an invoice also is performed the steps of when processor executes computer program
Deposit it is middle exist it is corresponding with information of initially making out an invoice make out an invoice data when, obtain data of making out an invoice corresponding with initial information of making out an invoice.
In one embodiment, delaying when data source of making out an invoice also is performed the steps of when processor executes computer program
In depositing there is no with initially make out an invoice information it is corresponding make out an invoice data when, in the database for data source of making out an invoice search and initially make out an invoice
The corresponding data of making out an invoice of information, will be in the data write-in caching of making out an invoice corresponding with information of initially making out an invoice that found.
In one embodiment, it is also performed the steps of when processor executes computer program by user information, permission letter
The corresponding relationship of breath, user and permission is respectively stored in different tables of data;Initialization obtains Page Name, from presetting database
Active user's mark is inquired in the access list of Page Name, compares access list, traverses the corresponding control of Page Name, according to
Tables of data limits the access of control.
In one embodiment, it also performs the steps of when processor executes computer program through information of initially making out an invoice
Generation matching tree, matching set the position being used for record queries attribute value, querying attributes in default data source of making out an invoice, for matching
The adaptation function of querying attributes or logical operation;It is searched, is obtained and information of initially making out an invoice in data source of making out an invoice by matching tree
Matched data of making out an invoice.
In one embodiment, it also performs the steps of when processor executes computer program through information of initially making out an invoice
Generate the matching tree including matched node and logical node, wherein matched node is the leaf node of logical node, logical node
For record with operation or operation and inverse, matched node for position of the record queries attribute in data source of making out an invoice,
Pointer address and corresponding querying attributes value with function.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the invoice processing request for receiving requesting terminal when being executed by processor, invoice processing request carries
Information, application user identifier and the application item of initially making out an invoice identify;Invoice processing request is parsed, when application user identifier belongs to conjunction
When method user identifier, according to initially making out an invoice, information is matched in presetting data source of making out an invoice;When in data source of making out an invoice exist
Match make out an invoice information when, obtain corresponding data of making out an invoice, and send and make out an invoice data and application item is identified to default processing terminal;
The invoice for receiving processing terminal feedback handles data, and invoice handles data and identifies split poll according to application item by processing terminal
It handles to obtain according to red punching/calcellation is carried out.
In one embodiment, it also performs the steps of when computer program is executed by processor when data source of making out an invoice
Exist in caching it is corresponding with information of initially making out an invoice make out an invoice data when, obtain data of making out an invoice corresponding with initial information of making out an invoice.
In one embodiment, it also performs the steps of when computer program is executed by processor when data source of making out an invoice
In caching there is no with initially make out an invoice information it is corresponding make out an invoice data when, in the database for data source of making out an invoice search and initially open
The corresponding data of making out an invoice of ticket information, will be in the data write-in caching of making out an invoice corresponding with information of initially making out an invoice that found.
In one embodiment, it is also performed the steps of when computer program is executed by processor by user information, permission
The corresponding relationship of information, user and permission is respectively stored in different tables of data;Initialization obtains Page Name, from preset data
Library inquiry active user identifies the access list in Page Name, compares access list, the corresponding control of traversal Page Name, root
The access of control is limited according to tables of data.
In one embodiment, it also performs the steps of when computer program is executed by processor through letter of initially making out an invoice
Breath generates matching tree, matching tree for position in default data source of making out an invoice of record queries attribute value, querying attributes, for
Adaptation function or logical operation with querying attributes;It is searched, is obtained and letter of initially making out an invoice in data source of making out an invoice by matching tree
Cease matched data of making out an invoice.
In one embodiment, it also performs the steps of when computer program is executed by processor through letter of initially making out an invoice
Breath generates the matching tree including matched node and logical node, wherein matched node is the leaf node of logical node, logic section
Point for record with operation or operation and inverse, matched node for position of the record queries attribute in data source of making out an invoice,
The pointer address of adaptation function and corresponding querying attributes value.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer
In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein,
To any reference of memory, storage, database or other media used in each embodiment provided herein,
Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of invoice data processing method, which comprises
The invoice for receiving requesting terminal handles request, and the invoice processing request carries information of initially making out an invoice, application user identifier
With application item mark;
The invoice processing request is parsed, when the application user identifier belongs to legitimate user's mark, is initially opened according to described
Ticket information is matched in default data source of making out an invoice;
When in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and make out an invoice described in sending
Data and application item are identified to default processing terminal;
The invoice processing data of the processing terminal feedback are received, the invoice processing data are as the processing terminal according to
Application item mark carries out red punching/calcellation to the data of making out an invoice and handles to obtain.
2. the method according to claim 1, wherein described make out an invoice when in the data source of making out an invoice there are matched
When information, corresponding data of making out an invoice are obtained, comprising:
When in the caching of the data source of making out an invoice exist with it is described initially make out an invoice information it is corresponding make out an invoice data when, obtain with it is described
The initial corresponding data of making out an invoice of information of making out an invoice.
3. according to the method described in claim 2, it is characterized by further comprising:
When in the caching of the data source of making out an invoice there is no with it is described initially make out an invoice information it is corresponding make out an invoice data when, opened described
Data of making out an invoice corresponding with the information of initially making out an invoice are searched in the database in ticket data source, are initially opened what is found with described
The corresponding data of making out an invoice of ticket information are written in the caching.
4. the method according to claim 1, wherein further include:
The corresponding relationship of user information, authority information, user and permission is respectively stored in different data lists;
Initialization obtains Page Name, identifies the access list in the Page Name from preset data library inquiry active user,
The access list is compareed, the corresponding control of the Page Name, the access according to the data list to the control are traversed
It is limited.
5. the method according to claim 1, wherein the information of initially making out an invoice includes that querying attributes and inquiry belong to
Property value;
It is described to be matched in default data source of making out an invoice according to the information of initially making out an invoice, comprising:
Matching tree is generated by the information of initially making out an invoice, the matching tree is for recording the querying attributes value, the inquiry
Position, adaptation function for matching inquiry attribute or logical operation of the attribute in default data source of making out an invoice;
It is described when in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, comprising:
It is searched in the data source of making out an invoice by matching tree, obtains the number of making out an invoice with the information matches of initially making out an invoice
According to.
6. according to the method described in claim 5, it is characterized in that, described initially make out an invoice includes multiple queries attribute in information,
It is described that matching tree is generated by the information of initially making out an invoice, comprising:
The matching tree including matched node and logical node is generated by the information of initially making out an invoice, wherein the matched node
For the leaf node of the logical node, the logical node is for recording and operation or operation and inverse, the matching section
Point is for recording the pointer address and correspondence of position of the querying attributes in the data source of making out an invoice, the adaptation function
Querying attributes value.
7. a kind of invoice data processing unit, which is characterized in that described device includes:
Request receiving module, the invoice for receiving requesting terminal handle request, and the invoice processing request, which carries, initially makes out an invoice
Information, application user identifier and application item mark;
Request analysis module, for parsing the invoice processing request, when the application user identifier belongs to legitimate user's mark
When, it is matched in default data source of making out an invoice according to the information of initially making out an invoice;
Matching module, for when in the data source of making out an invoice there are it is matched make out an invoice information when, obtain corresponding data of making out an invoice, and
Data of making out an invoice described in transmission and application item are identified to default processing terminal;
Request processing module, the invoice for receiving the processing terminal feedback handle data, and the invoice processing data are by institute
It states processing terminal and the red punching/calcellation of data progress of making out an invoice is handled to obtain according to application item mark.
8. device according to claim 7, which is characterized in that the matching module is also used to when the data source of making out an invoice
Exist in caching it is corresponding with the information of initially making out an invoice make out an invoice data when, obtain and initial make out an invoice that information is corresponding to make out an invoice with described
Data.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists
In the step of processor realizes any one of claims 1 to 6 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program
The step of method described in any one of claims 1 to 6 is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910007500.0A CN109785024A (en) | 2019-01-04 | 2019-01-04 | Invoice data processing method, device, computer equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910007500.0A CN109785024A (en) | 2019-01-04 | 2019-01-04 | Invoice data processing method, device, computer equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109785024A true CN109785024A (en) | 2019-05-21 |
Family
ID=66500027
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910007500.0A Pending CN109785024A (en) | 2019-01-04 | 2019-01-04 | Invoice data processing method, device, computer equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109785024A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110473034A (en) * | 2019-08-22 | 2019-11-19 | 携程旅游网络技术(上海)有限公司 | Red punching method, system, electronic equipment and the medium of electronic invoice |
CN110599267A (en) * | 2019-09-16 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Electronic invoice billing method and device, computer readable storage medium and computer equipment |
CN110930206A (en) * | 2019-11-19 | 2020-03-27 | 广州酷狗计算机科技有限公司 | Invoice matching method and device and storage medium |
CN111242563A (en) * | 2019-12-31 | 2020-06-05 | 航天信息股份有限公司 | Method and system for processing bill data |
CN111340490A (en) * | 2020-02-24 | 2020-06-26 | 金蝶软件(中国)有限公司 | Transaction certificate management method, data processing system and computer storage medium |
CN113610586A (en) * | 2021-08-18 | 2021-11-05 | 国网电子商务有限公司 | Invoice application data compensation method and device |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002123729A (en) * | 2000-10-12 | 2002-04-26 | System Bank Kk | Device and method for issuing and checking ticket |
US20020138282A1 (en) * | 2001-03-22 | 2002-09-26 | International Business Machines Corporation | System and method for invoice imaging through negative confirmation process |
CN101937552A (en) * | 2010-09-26 | 2011-01-05 | 周绍君 | Device and method for processing credit note |
CN104268779A (en) * | 2014-09-30 | 2015-01-07 | 税友软件集团股份有限公司 | Method and system for generating red mark electronic invoice |
CN106997554A (en) * | 2016-01-26 | 2017-08-01 | 航天信息股份有限公司 | A kind of credit note information table processing method and processing system |
CN107798612A (en) * | 2016-12-15 | 2018-03-13 | 平安科技(深圳)有限公司 | One kind, which is saved from damage, red rushes treating method and apparatus |
CN108122139A (en) * | 2016-11-29 | 2018-06-05 | 阿里巴巴集团控股有限公司 | A kind of invoice data processing method, equipment and system |
CN108242000A (en) * | 2017-10-27 | 2018-07-03 | 北京车和家信息技术有限公司 | Invoice management method, system, computer installation and computer readable storage medium |
-
2019
- 2019-01-04 CN CN201910007500.0A patent/CN109785024A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002123729A (en) * | 2000-10-12 | 2002-04-26 | System Bank Kk | Device and method for issuing and checking ticket |
US20020138282A1 (en) * | 2001-03-22 | 2002-09-26 | International Business Machines Corporation | System and method for invoice imaging through negative confirmation process |
CN101937552A (en) * | 2010-09-26 | 2011-01-05 | 周绍君 | Device and method for processing credit note |
CN104268779A (en) * | 2014-09-30 | 2015-01-07 | 税友软件集团股份有限公司 | Method and system for generating red mark electronic invoice |
CN106997554A (en) * | 2016-01-26 | 2017-08-01 | 航天信息股份有限公司 | A kind of credit note information table processing method and processing system |
CN108122139A (en) * | 2016-11-29 | 2018-06-05 | 阿里巴巴集团控股有限公司 | A kind of invoice data processing method, equipment and system |
CN107798612A (en) * | 2016-12-15 | 2018-03-13 | 平安科技(深圳)有限公司 | One kind, which is saved from damage, red rushes treating method and apparatus |
CN108242000A (en) * | 2017-10-27 | 2018-07-03 | 北京车和家信息技术有限公司 | Invoice management method, system, computer installation and computer readable storage medium |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110473034A (en) * | 2019-08-22 | 2019-11-19 | 携程旅游网络技术(上海)有限公司 | Red punching method, system, electronic equipment and the medium of electronic invoice |
CN110599267A (en) * | 2019-09-16 | 2019-12-20 | 腾讯科技(深圳)有限公司 | Electronic invoice billing method and device, computer readable storage medium and computer equipment |
CN110930206A (en) * | 2019-11-19 | 2020-03-27 | 广州酷狗计算机科技有限公司 | Invoice matching method and device and storage medium |
CN111242563A (en) * | 2019-12-31 | 2020-06-05 | 航天信息股份有限公司 | Method and system for processing bill data |
CN111340490A (en) * | 2020-02-24 | 2020-06-26 | 金蝶软件(中国)有限公司 | Transaction certificate management method, data processing system and computer storage medium |
CN113610586A (en) * | 2021-08-18 | 2021-11-05 | 国网电子商务有限公司 | Invoice application data compensation method and device |
CN113610586B (en) * | 2021-08-18 | 2024-01-23 | 国网数字科技控股有限公司 | Invoice application data compensation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109785024A (en) | Invoice data processing method, device, computer equipment and storage medium | |
US7043714B2 (en) | Method, system, and program for using objects in data stores during execution of a workflow | |
CN109558440A (en) | Batch data processing method, device, computer equipment and storage medium | |
US7100147B2 (en) | Method, system, and program for generating a workflow | |
US7200806B2 (en) | System and method for generating pre-populated forms | |
CN104361119B (en) | A kind of method and system of data scrubbing | |
US7539689B2 (en) | Bundling database | |
US20050210442A1 (en) | Method and system for planning and control/estimation of software size driven by standard representation of software structure | |
CN109492021A (en) | Enterprise's portrait information query method, device, computer equipment and storage medium | |
US6584453B1 (en) | Reversible move/merge operation for a general ledger | |
CN110008226A (en) | Construction method, device, computer equipment and the storage medium of data model | |
CN109816331A (en) | Audit task processing method, device, computer equipment and storage medium | |
US8180748B2 (en) | Surrogate key generation and utilization | |
CN110109656A (en) | Interface analogy method, device, computer equipment and storage medium | |
CN109358874A (en) | Business rule update method, device, computer equipment and storage medium | |
CN108334625A (en) | Processing method, device, computer equipment and the storage medium of user information | |
WO2019033741A1 (en) | Investment commodity resource processing method, device, storage medium and computer apparatus | |
CN109919449A (en) | Asset count method and computer readable storage medium | |
US20230418879A1 (en) | System and method of data transformation | |
CN106021566A (en) | Method, device and system for improving concurrent processing capacity of single database | |
CN106777037A (en) | A kind of method for generating operation platform integration form | |
JP2022002145A (en) | Classification data preparation device, classification data creation method and classification data creation program | |
US20240127379A1 (en) | Generating actionable information from documents | |
CN116755679A (en) | Service processing method, device, equipment and storage medium | |
TWI685808B (en) | Management method and system for credit line |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190521 |