CN104123608B - A kind of method and apparatus for establishing accounting records - Google Patents

A kind of method and apparatus for establishing accounting records Download PDF

Info

Publication number
CN104123608B
CN104123608B CN201410311275.7A CN201410311275A CN104123608B CN 104123608 B CN104123608 B CN 104123608B CN 201410311275 A CN201410311275 A CN 201410311275A CN 104123608 B CN104123608 B CN 104123608B
Authority
CN
China
Prior art keywords
data item
accounting
billing information
accounting data
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410311275.7A
Other languages
Chinese (zh)
Other versions
CN104123608A (en
Inventor
包能辉
丁文斌
李彬孟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201410311275.7A priority Critical patent/CN104123608B/en
Publication of CN104123608A publication Critical patent/CN104123608A/en
Application granted granted Critical
Publication of CN104123608B publication Critical patent/CN104123608B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

It is an object of the invention to provide a kind of method and apparatus for establishing accounting records.Wherein, by gathering billing information, to obtain the data item content in the billing information corresponding at least one accounting data item;Then, this (s) data item content is filled up in the corresponding accounting data item of book keeping operation list, to establish the accounting records corresponding to the billing information.According to the solution of the present invention, can cause user need not hand input-data item content, such as specific amount of money, particular use again, the operating process of user is simplified, so as to improve the book keeping operation of user experience.

Description

A kind of method and apparatus for establishing accounting records
Technical field
The present invention relates to areas of information technology, more particularly to a kind of technology for establishing accounting records.
Background technology
With the popularization of mobile terminal, more and more people begin to use mobile terminal to keep accounts.In the prior art, exist more The book keeping operation application that kind may be mounted in mobile terminal, such as with written notes, wealth is dug, these book keeping operation applications provide a variety of book keeping operation sides Formula.For example, user can select book keeping operation to apply provided predetermined content, " Morning Afternoon Evening meal ", " clothing accessories ", " OK are such as selected Purposes of any one of the car traffic " as expenditure.For another example, user can also input particular content by keyboard/dummy keyboard.
However, either selecting predetermined content, or it is both needed to by keyboard/dummy keyboard come input content, these modes User's multi-pass operation is wanted, determines the plurality of kinds of contents of accounting records in terms by terms, such as expenditure or is taken in, what purposes is, the amount of money It is how many.Therefore, existing book keeping operation mode is excessively cumbersome, is unfavorable for the usage experience of user, in some instances it may even be possible to so that user abandons Book keeping operation.
The content of the invention
It is an object of the invention to provide a kind of method and apparatus for establishing accounting records.
According to an aspect of the invention, there is provided a kind of method for establishing accounting records, wherein, this method includes:
- collection billing information, to obtain in the data item in the billing information corresponding at least one accounting data item Hold;
- be filled up to the data item content in the corresponding accounting data item of book keeping operation list, to establish the billing information Corresponding accounting records.
According to another aspect of the present invention, a kind of device for establishing accounting records is additionally provided, wherein, the device bag Include:
For gathering billing information, to obtain the data item in the billing information corresponding at least one accounting data item The device of content;
For the data item content to be filled up in the corresponding accounting data item of book keeping operation list, believed with establishing the bill The device of the corresponding accounting records of breath.
Compared with prior art, the present invention is by gathering billing information, to obtain at least one book keeping operation in the billing information Data item content corresponding to data item;Then, this (s) data item content is filled up to the corresponding accounting data of book keeping operation list Xiang Zhong, to establish the accounting records corresponding to the billing information.According to the solution of the present invention, user can be caused manual again The data item content of each accounting data item is inputted, such as the specific amount of money, particular use, the operating process of user is simplified, so as to carry The book keeping operation experience of user has been risen, has added user's viscosity.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows a kind of method flow diagram for establishing accounting records according to an embodiment of the invention;
Fig. 2 shows a kind of schematic device for establishing accounting records in accordance with another embodiment of the present invention.
Same or analogous reference represents same or analogous part in accompanying drawing.
Embodiment
The present invention is described in further detail below in conjunction with the accompanying drawings.
The present invention can realize in mobile terminal.Specifically, mobile terminal collection billing information, to obtain in the billing information Data item content corresponding at least one accounting data item;Then, this (s) data item content is filled up to note by mobile terminal In the corresponding accounting data item of account list, to establish the accounting records corresponding to the billing information.
Here, mobile terminal include but is not limited to any one can with user by keyboard, dummy keyboard, touch pad and The input equipments such as voice-operated device carry out the electronic product of man-machine interaction, such as mobile phone, smart mobile phone, PDA, tablet personal computer etc..
Unless otherwise instructed, mobile terminal herein is equal with billing device uses.
The present invention also can interacting by mobile terminal and the network equipment, establish accounting records in network-side.Specifically, use Billing information is sent to the network equipment by family by its mobile terminal, and correspondingly, the network equipment receives the billing information, to obtain Data item content in the billing information corresponding at least one accounting data item;Then, the network equipment will be somebody's turn to do (s) data item Content is filled up in the corresponding accounting data item of book keeping operation list, is remembered with establishing the book keeping operation corresponding to the billing information of the user Record.
Or the present invention can also interacting by mobile terminal and the network equipment, by network equipment auxiliary come it is mobile eventually Accounting records are established in end.Specifically, billing information is sent to the network equipment by mobile terminal, and correspondingly, the network equipment receives The billing information, to obtain the data item content in the billing information corresponding at least one accounting data item;Then, network is set It is standby that this (s) data item content is returned into mobile terminal, so that these data item contents are filled up into book keeping operation list by mobile terminal Corresponding accounting data item in, to establish the accounting records corresponding to the billing information of the user.
Here, the network equipment include but is not limited to network host, single network server, multiple webserver set or The cloud that multiple servers are formed.Here, cloud is by a large amount of main frames or the webserver based on cloud computing (Cloud Computing) Form, wherein, cloud computing is one kind of Distributed Calculation, a super void being made up of the set of computers of a group loose couplings Intend computer.
Further, in the present invention, the network equipment can be used as it is overall, or by which part network host/server, even The specific device being installed in one or more network host/servers, book keeping operation note is interacted and established with mobile terminal Record.
For the sake of simple declaration, the present invention only establishes accounting records to carry out concrete example explanation with mobile terminal.Ability Field technique personnel will be understood that to establish mentioned by mobile terminal with interacting for the network equipment in the network equipment or mobile terminal The scheme of accounting records, and existing other schemes or the scheme that is likely to occur from now on are such as applicable to the present invention, should also include Within the scope of the present invention, and it is incorporated herein by reference herein.
Fig. 1 is the method flow diagram according to one embodiment of the invention, shows a kind of process for establishing accounting records.Such as figure Shown in 1, in step sl, mobile terminal 1 gathers billing information, to obtain at least one accounting data item institute in the billing information Corresponding data item content;In step s 2, this (s) data item content is filled up to the corresponding note of book keeping operation list by mobile terminal 1 In account data item, to establish the accounting records corresponding to the billing information.
Specifically, in step sl, mobile terminal 1 gathers billing information, to obtain at least one note in the billing information Data item content corresponding to account data item.
Here, billing information includes but is not limited to the image information and Quick Response Code billing information of usual bill.Wherein, lead to Normal bill includes but is not limited to:Call a taxi the paper-bills such as ticket, food and drink receipt, invoice, and in display or other display devices The electronic bill of upper display.
Accounting data item refers to that the title of the data items relevant with bill to be recorded is specific such as bill type, bill The amount of money, bill purposes, bill time, telephone number, remarks data item etc..
In this manual, statement is answered to be interpreted broadly, i.e., not only comprising expenditure bill, also comprising income bill.
Data item content refers to, the particular content of the data items relevant with bill to be recorded.Data item content and note Account data item is corresponding, for example, " income " and " expenditure " corresponds to bill type, " XX members " corresponds to billing amount, " Morning Afternoon Evening Meal ", " clothing accessories ", " moving traffic ", " investment income " etc. correspond to bill purposes, " 2014-06-2715:10:06 " is corresponding In the bill time, " 0106264XXXX ", " 135XXXXXXXX " correspond to telephone number.
Here, this specification will discuss that at least one accounting data item institute is right in the image information for obtaining usual bill respectively The process for the data item content answered, and obtain the data item in Quick Response Code billing information corresponding at least one accounting data item The process of content.
The image information of usual bill
Here, mobile terminal 1 by external or built-in camera, is taken pictures to paper-bill or electronic bill, To obtain the image information of usual bill.
Then, mobile terminal 1 is using optical character identification (Optical Character Recognition, abbreviation OCR) Mode, the image information of usual bill is identified as text message.
Specifically, the image information of the usual bill obtained is generally coloured image, mobile terminal 1 can be by gray scale at The existing processing mode such as reason, binary conversion treatment, by Color Image Processing be distinguish foreground pixel point and background pixel point two Value figure, then, mobile terminal 1 are determined each in the binary picture by way of detecting foreground pixel point, background pixel point The shape of individual character, then, mobile terminal 1 determine word corresponding to each character shape using pre-established character shape storehouse Information is accorded with, so as to obtain the text message corresponding to the image information of usual bill.
Preferably due to different types of bill has different shape facilities, for example, seal is ellipse in ticket of calling a taxi , and " TAXI " character is included in the seal, and the logo of bank is typically contained in credit card purchase bill.Therefore, it is mobile Terminal 1 can also determine the shape facility in the binary picture by way of detecting foreground pixel point, background pixel point, so as to really The bill type of booking evidence.Then, mobile terminal 1 according to bill type, can determine the typesetting format and font letter of the bill Breath, so as to more preferably determine the position of key character in binary picture, and using the character corresponding to the font information Shape library determines character information corresponding to each character shape, so as to improving the accuracy rate of optical character identification.
Then, after the text message corresponding to the image information of usual bill is obtained, mobile terminal 1 is believed from the text The data item content corresponding at least one accounting data item is extracted in breath.
For example, by default classified lexicon, and corresponding classification and the corresponding relation of accounting data item, mobile terminal 1 It can determine that the data item content corresponding with its accounting data item.Specifically such as, when scanning into text message comprising " consumption ", During characters such as " expenses ", mobile terminal 1 determines that these characters belong to " expenditure " this classification, and then determines corresponding accounting data The data item content of item " bill type " is expenditure, and when the character such as scanning to " interest ", " income ", mobile terminal 1 can determine that The data item content of accounting data item " bill type " belonging to it corresponding to classification " income " is income.Similarly, scanning is worked as During to the character such as " water rate ", " traffic ", mobile terminal 1 can determine that data item content corresponding to " bill purposes ".It is or mobile whole End 1 can determine accounting data item and its corresponding data item content by specific character/expression formula.For example, when scanning is arrived " during the character/expression formula such as RMB XXX.XX ", " XXX.XX members ", mobile terminal 1 can determine that data item corresponding to " billing amount " Content;When scanning to " XX days month XX ", " XXXX/XX/XX " character/expression formula, mobile terminal 1 can determine that " bill time " is right The data item content answered;When the character/expression formula such as scanning to " 135XXXXXXXX ", " 010XXXXXXXX ", mobile terminal 1 can It is determined that data item content corresponding to " telephone number ".
In addition, mobile terminal 1 can also be according to corresponding to identified bill type directly determines bill purposes number According to item content, for example, ticket of calling a taxi corresponds to " moving traffic ", water rate list corresponds to " house property ".
In general, by the identification to common billing information, data corresponding to predetermined accounting data item can be obtained Item content.
Quick Response Code billing information
Here, the present invention proposes one kind based on data item content corresponding to one or more accounting data items and its difference Generate the scheme of Quick Response Code billing information.
Specifically, the program defines accounting data item and the table of data item content in the source information of Quick Response Code billing information Show mode and the form for arranging accounting data item and data item content.
For example, representing bill type using TYPE, INCOME represents income, and OUTGO represents expenditure, and COST represents bill gold Volume, USE represent that bill purposes, DATE represent that statement date, TEL represent that telephone number, EXTRA represent remarks data item.
It is for an example of the form for arranging accounting data item and data item content below.
BEGIN:ACCOUNTS
TYPE:INCOME
COST:100
USE:FUND
DATE:2013-01-0108:00:00
TEL:12345678
EXTRA:SOME THING
END:ACCOUNTS
Wherein, the first row uses origin identification BEGIN:ACCOUNTS represents the original position of data, and last column uses End of identification END:ACCOUNTS represents the end position of data, the second row to the 7th specific data division of behavior, often row expression One accounting data item, specific data division using ":" separator is used as, to separate accounting data item and its corresponding data Item content.
Wherein, the second row represents that bill type is " income ";The third line represents that billing amount is " 100 ", the unit of acquiescence For member;Fourth line represents that bill purposes is " fund ";Fifth line represents that statement date is " on 01 01st, 2,013 08:00:00”; 6th row represents that telephone number is " 12345678 ";7th row represents that remarks data item is " SOME THING ".
Those skilled in the art will be understood that one kind be preferable to carry out side of the above-mentioned six kinds of accounting data items only as the present invention Formula, without that should be construed as limiting the invention, any other existing or accounting data item for being likely to occur and its correspondingly in the future Data item content, be such as applicable to the present invention, then equally should be included in the present invention scope of patent protection within, and herein with Way of reference is incorporated herein.
Also, above-mentioned six kinds of accounting data items and its order which row is corresponding data item content be located at respectively are can be with Exchange;Above-mentioned six kinds of accounting data items and its respectively corresponding to data item content necessarily all use, it can be also used only Middle one or more.
Bill supplier can generate Quick Response Code billing information based on such scheme, so that user passes through its mobile terminal 1 gathers the Quick Response Code billing information.For example, bill supplier Quick Response Code billing information can be directly displayed at display or its On its display device.Or bill printer company can also be based on the program come design application so that run the application The computer of program can obtain the data item content corresponding to accounting data item, then, based on accounting data item and its divide Not corresponding data item content generation Quick Response Code billing information, then, the Quick Response Code billing information is printed in paper-bill.
Accordingly, mobile terminal 1 scans the Quick Response Code billing information, and pass through two by external or built-in camera The mode of dimension code decoding obtains its corresponding source information;Then, mobile terminal 1 extracts each accounting data item institute in the source information Data item content corresponding to respectively, specifically, the character on the separator left side be accounting data item in a line, the separator right side in the row The character on side is corresponding data item content.And for including the situation of multiple separators in a line, such as " DATE:2013- 01-0108:00:00 ", mobile terminal 1 will be defined as substantive separator by first separator from left to right, and other separators are determined For data item content.
For the accounting data item included in Quick Response Code billing information, it can be only predetermined accounting data item, i.e., Existing accounting data item in mobile terminal 1, or other accounting data items can also be included, i.e., not yet established in mobile terminal 1 Accounting data item, corresponding note can be included using these other accounting data items as new accounting data item so as to mobile terminal 1 Account records.
Except above two obtain the mode of the data item content in billing information corresponding at least one accounting data item with Outside, mobile terminal 1 can also gather billing information, by being interacted with user to determine accounting data item wherein to be identified And/or its corresponding data item content, and then obtain the data item in the billing information corresponding at least one accounting data item Content.
Specifically, for the image information of the bill gathered, such as the image information of usual bill or Quick Response Code ticket is included It is believed that in the bill of breath other parts image information, the image information can be presented to user by mobile terminal 1;Then, user Image information can be watched, and the specific region in image information is drawn a circle to approve by gesture operation, is included in the specific region and waits to know Other accounting data item and/or its corresponding data item content;Then, mobile terminal 1 is obtained by way of optical character identification The text message corresponding to the specific region is obtained, using as accounting data item and/or its corresponding data item content, for example, such as Included in the text message that fruit is obtained ":" etc. separator, can be using the text message on the separator left side as accounting data item, will Text message on the right of separator is as data item content, can should if not including separator in the text message obtained Text message is presented to user, determines that text information belongs to accounting data item by user, or belong to data item content.
This interaction by with user determines in accounting data item wherein to be identified and/or its corresponding data item Hold, and then obtain the mode of the data item content in the billing information corresponding at least one accounting data item, for including two The identification for tieing up information in the usual bill of code billing information is also beneficial.For example, mobile terminal 1 scans Quick Response Code bill letter Breath, after obtaining the data item content in the Quick Response Code billing information corresponding to whole accounting data items, for Quick Response Code ticket It is believed that not included in breath but other accounting data items included in the usual bill where the Quick Response Code billing information and/or its is right The data item content answered, such as " loco:Haidian District, Beijing City XXXX street XXXX ", or " name of firm:Beijing XXXX Food and drink Co., Ltd " etc., mobile terminal 1 can gather the image information of the usual bill again, by with user interact come really Fixed accounting data item wherein to be identified and/or its corresponding data item content, and then obtain at least one in the billing information Data item content corresponding to accounting data item.
Preferably, if the accounting data item not yet established comprising book keeping operation list in billing information, mobile terminal 1 are made For the new accounting data item corresponding to accounting records, and obtain its corresponding data item content.
Here, in book keeping operation list the accounting data item established be it is known/default, as bill type, billing amount, Bill purposes, bill time, telephone number, remarks data item this six kinds of accounting data items.And for it is unknown/not yet establish Accounting data item, mobile terminal 1 also can be using the accounting data items as the new accounting data item corresponding to accounting records.
For example, when acquisition text message " loco:After Haidian District, Beijing City XXXX street XXXX ", mobile terminal 1 by separator ":" left side character as accounting data item;Then, mobile terminal 1 detects whether the accounting data item is book keeping operation The accounting data item established in list, if it is not, then using loco as a new accounting data item, and by separator “:" on the right of character " Haidian District, Beijing City XXXX street XXXX " be used as data item content corresponding to loco.
In step s 2, data item content is filled up in the corresponding accounting data item of book keeping operation list by mobile terminal 1, to build Found the accounting records corresponding to the billing information.
Here, established multiple accounting data items in book keeping operation list, it is specific as bill type, billing amount, bill purposes, Bill time, telephone number, remarks data item this six kinds of accounting data items.Accordingly, mobile terminal 1 fills out " income " or " expenditure " In the bill type for writing book keeping operation list, " XX members " is filled up in the billing amount of book keeping operation list, by " Morning Afternoon Evening meal " or " clothing Furnishings " is filled up in the bill purposes of book keeping operation list, by " 2014-06-2715:10:06 " is filled up to the bill of book keeping operation list In time, " 135XXXXXXXX " is filled up in the telephone number of book keeping operation list.
In addition, for the accounting data item not set up in book keeping operation list, mobile terminal 1 can at least use following two modes To be filled in:
1) new accounting data item is established for book keeping operation list.
For example, mobile terminal 1, which can be book keeping operation list, establish new accounting data item " loco ", and by loco pair The data item content " Haidian District, Beijing City XXXX street XXXX " answered is filled up to the new accounting data item " transaction of book keeping operation list In place ".
2) the accounting data item not yet established and its corresponding data item content are filled up to the remarks number of book keeping operation list According in item.
For example, mobile terminal 1 can be by " loco:Haidian District, Beijing City XXXX street XXXX " are filled up to book keeping operation table In single remarks data item.
In addition, in recording process, book keeping operation list can be also presented to user by mobile terminal 1, for user feedback/repair Change.
Preferably, mobile terminal 1 according to user interact change book keeping operation list in accounting data item and/or data Item content.
Here, current accounting data item and/or data item content in book keeping operation list can be presented to use by mobile terminal 1 Family, so that user changes correspondingly accounting data item and/or data item content.
Or mobile terminal 1 can to user present amending advice, for example, when detect the bill time for evening 6 points it Afterwards, and bill purposes is " Morning Afternoon Evening meal ", and an amending advice can be presented to user in mobile terminal 1:" Morning Afternoon Evening meal " is repaiied " dinner " is changed to, so that user receives or refuses, if received, mobile terminal 1 is corresponding according to the amending advice reconciliation single-use Data item content modify.
Further, the union operation that mobile terminal 1 can be according to user to multinomial accounting data item, to prompt the user with Accounting data item after modification merging, and data item content corresponding before every accounting data item is also merged including at this Under accounting data item after merging.For example, the corresponding billing information of accounting records, such as a piece of paper matter bill, when a plurality of Include different accounting data items in accounting records respectively, as accounting records 1 include accounting data item " flight number ", book keeping operation note Record 2 includes accounting data item " train number ", and in order to avoid accounting records are excessively scattered, user is closed the two accounting data items And it can be defined as one of " flight number " or " train number " for the accounting data item after merging, mobile terminal 1, be also amenable to Classification belonging to them, such as " stroke ", or mobile terminal 1 prompts user to input new accounting data item title;Then, it is mobile Former accounting records 1 and 2 are corresponded to the data item content migration of former accounting data item " flight number " and " train number " to should by terminal 1 respectively Under new accounting data item.
Fig. 2 is the schematic device according to another embodiment of the present invention, shows a kind of device for establishing accounting records, That is billing device 10.As shown in Fig. 2 billing device 10 is installed in mobile terminal 1, billing device 10 includes device 11 and device 12。
Device 11 gathers billing information, to obtain the data item in the billing information corresponding at least one accounting data item Device 11 (for ease of distinguishing, is referred to as internal content below and obtains device 11) by content;Device 12 will be somebody's turn to do (s) data item content Be filled up to book keeping operation list corresponding accounting data item in, with establish corresponding to the billing information accounting records (for ease of distinguish, Device 12 is referred to as record below and establishes device 12).
Specifically, content obtains device 11 and gathers billing information, to obtain at least one accounting data in the billing information Data item content corresponding to.
Here, billing information includes but is not limited to the image information and Quick Response Code billing information of usual bill.Wherein, lead to Normal bill includes but is not limited to:Call a taxi the paper-bills such as ticket, food and drink receipt, invoice, and in display or other display devices The electronic bill of upper display.
Accounting data item refers to that the title of the data items relevant with bill to be recorded is specific such as bill type, bill The amount of money, bill purposes, bill time, telephone number, remarks data item etc..
In this manual, statement is answered to be interpreted broadly, i.e., not only comprising expenditure bill, also comprising income bill.
Data item content refers to, the particular content of the data items relevant with bill to be recorded.Data item content and note Account data item is corresponding, for example, " income " and " expenditure " corresponds to bill type, " XX members " corresponds to billing amount, " Morning Afternoon Evening Meal ", " clothing accessories ", " moving traffic ", " investment income " etc. correspond to bill purposes, " 2014-06-2715:10:06 " is corresponding In the bill time, " 0106264XXXX ", " 135XXXXXXXX " correspond to telephone number.
Here, this specification will discuss that at least one accounting data item institute is right in the image information for obtaining usual bill respectively The process for the data item content answered, and obtain the data item in Quick Response Code billing information corresponding at least one accounting data item The process of content.
The image information of usual bill
Here, content obtains device 11 by external or built-in camera, paper-bill or electronic bill are carried out Take pictures, to obtain the image information of usual bill.
Then, content obtains device 11 using optical character identification (Optical Character Recognition, letter Claim OCR) mode, the image information of usual bill is identified as text message.
Specifically, the image information of the usual bill obtained is generally coloured image, and content, which obtains device 11, to be passed through The existing processing mode such as gray proces, binary conversion treatment, it is to distinguish foreground pixel point and background pixel by Color Image Processing The binary picture of point, then, content obtain device 11 and determine the two-value by way of detecting foreground pixel point, background pixel point Change the shape of each character in figure, then, content obtains device 11 and determines each using pre-established character shape storehouse Character information corresponding to character shape, so as to obtain the text message corresponding to the image information of usual bill.
Preferably due to different types of bill has different shape facilities, for example, seal is ellipse in ticket of calling a taxi , and " TAXI " character is included in the seal, and the logo of bank is typically contained in credit card purchase bill.Therefore, content Acquisition device 11 can also determine the shape facility in the binary picture by way of detecting foreground pixel point, background pixel point, So that it is determined that the bill type of bill.Then, content, which obtains device 11, according to bill type, can determine the typesetting format of the bill And font information, so as to more preferably determine the position of key character in binary picture, and use the font information institute Corresponding character shape storehouse determines character information corresponding to each character shape, so as to improving the accurate of optical character identification Rate.
Then, after the text message corresponding to the image information of usual bill is obtained, content obtains device 11 from this The data item content corresponding at least one accounting data item is extracted in text message.
For example, by default classified lexicon, and corresponding classification and the corresponding relation of accounting data item, content are filled Put 11 and can determine that the data item content corresponding with its accounting data item.Specifically such as, " disappear when scanning includes into text message Take ", the character such as " expense " when, content obtains device 11 and determines that these characters belong to " expenditure " this classification, and then determines accordingly The data item content of accounting data item " bill type " be expenditure, when scanning to " interest ", the character such as " income ", content obtains Obtain device 11 and can determine that the data item content of the accounting data item " bill type " belonging to it corresponding to classification " income " is income. Similarly, when the character such as scanning to " water rate ", " traffic ", content obtains device 11 and can determine that data corresponding to " bill purposes " Item content.Or content acquisition device 11 can determine accounting data item and its corresponding data by specific character/expression formula Item content.For example, when scanning is to " during the character/expression formula such as RMB XXX.XX ", " XXX.XX members ", content obtains device 11 can be true Data item content corresponding to fixed " billing amount ";It is interior when scanning to " XX days month XX ", " XXXX/XX/XX " character/expression formula Hold acquisition device 11 and can determine that data item content corresponding to " bill time ";When scanning to " 135XXXXXXXX ", During character/the expression formula such as " 010XXXXXXXX ", content obtains device 11 and can determine that data item content corresponding to " telephone number ".
In addition, content acquisition device 11 can also be according to corresponding to identified bill type directly determines bill purposes Data item content, for example, ticket of calling a taxi corresponds to " moving traffic ", water rate list corresponds to " house property ".
In general, by the identification to common billing information, data corresponding to predetermined accounting data item can be obtained Item content.
Quick Response Code billing information
Here, the present invention proposes one kind based on data item content corresponding to one or more accounting data items and its difference Generate the scheme of Quick Response Code billing information.
Specifically, the program defines accounting data item and the table of data item content in the source information of Quick Response Code billing information Show mode and the form for arranging accounting data item and data item content.
For example, representing bill type using TYPE, INCOME represents income, and OUTGO represents expenditure, and COST represents bill gold Volume, USE represent that bill purposes, DATE represent that statement date, TEL represent that telephone number, EXTRA represent remarks data item.
It is for an example of the form for arranging accounting data item and data item content below.
BEGIN:ACCOUNTS
TYPE:INCOME
COST:100
USE:FUND
DATE:2013-01-0108:00:00
TEL:12345678
EXTRA:SOME THING
END:ACCOUNTS
Wherein, the first row uses origin identification BEGIN:ACCOUNTS represents the original position of data, and last column uses End of identification END:ACCOUNTS represents the end position of data, the second row to the 7th specific data division of behavior, often row expression One accounting data item, specific data division using ":" separator is used as, to separate accounting data item and its corresponding data Item content.
Wherein, the second row represents that bill type is " income ";The third line represents that billing amount is " 100 ", the unit of acquiescence For member;Fourth line represents that bill purposes is " fund ";Fifth line represents that statement date is " on 01 01st, 2,013 08:00:00”; 6th row represents that telephone number is " 12345678 ";7th row represents that remarks data item is " SOME THING ".
Those skilled in the art will be understood that one kind be preferable to carry out side of the above-mentioned six kinds of accounting data items only as the present invention Formula, without that should be construed as limiting the invention, any other existing or accounting data item for being likely to occur and its correspondingly in the future Data item content, be such as applicable to the present invention, then equally should be included in the present invention scope of patent protection within, and herein with Way of reference is incorporated herein.
Also, above-mentioned six kinds of accounting data items and its order which row is corresponding data item content be located at respectively are can be with Exchange;Above-mentioned six kinds of accounting data items and its respectively corresponding to data item content necessarily all use, it can be also used only Middle one or more.
Bill supplier can generate Quick Response Code billing information based on such scheme, so that user passes through its mobile terminal 1 content obtains device 11 and gathers the Quick Response Code billing information.For example, bill supplier can be direct by Quick Response Code billing information It is shown on display or other display devices.Or bill printer company can also be designed using journey based on the program Sequence so that data item content corresponding to accounting data item can be obtained by running the computer of the application program, then, based on note Account data item and its data item content generation Quick Response Code billing information corresponding to distinguishing, then, by the Quick Response Code billing information Print in paper-bill.
Accordingly, content obtains device 11 by external or built-in camera, scans the Quick Response Code billing information, and lead to The mode for crossing Quick Response Code decoding obtains its corresponding source information;Then, content obtains device 11 and extracted and each remembers in the source information Account data item distinguish corresponding to data item content, specifically, the character on the separator left side is accounting data item in a line, the row Character on the right of middle separator is corresponding data item content.And for including the situation of multiple separators in a line, such as “DATE:2013-01-0108:00:00 ", content, which will obtain device 11, to be defined as substantive separator by first separator from left to right, and Other separators are defined as data item content.
For the accounting data item included in Quick Response Code billing information, it can be only predetermined accounting data item, i.e., Existing accounting data item in mobile terminal 1, or other accounting data items can also be included, i.e., not yet established in mobile terminal 1 Accounting data item, so as to content obtain device 11 can be included accordingly using these other accounting data items as new accounting data item Accounting records.
Except above two obtain the mode of the data item content in billing information corresponding at least one accounting data item with Outside, content, which obtains device 11, can also gather billing information, by being interacted with user to determine book keeping operation number wherein to be identified According to item and/or its corresponding data item content, and then obtain the number in the billing information corresponding at least one accounting data item According to item content.
Specifically, for the image information of the bill gathered, such as the image information of usual bill or Quick Response Code ticket is included It is believed that breath bill in other parts image information, content obtain device 11 image information can be presented to user;Then, User can watch image information, and draw a circle to approve the specific region in image information by gesture operation, be included in the specific region Accounting data item to be identified and/or its corresponding data item content;Then, content acquisition device 11 passes through optical character identification Mode, the text message corresponding to the specific region is obtained, using as in accounting data item and/or its corresponding data item Hold, if for example, in the text message obtained comprising ":" etc. separator, can using the text message on the separator left side as note Account data item, using the text message on the right of separator as data item content, divide if do not included in the text message obtained Every symbol, text information can be presented to user, determine that text information belongs to accounting data item by user, or belong to data Item content.
This interaction by with user determines in accounting data item wherein to be identified and/or its corresponding data item Hold, and then obtain the mode of the data item content in the billing information corresponding at least one accounting data item, for including two The identification for tieing up information in the usual bill of code billing information is also beneficial.For example, content, which obtains device 11, scans Quick Response Code ticket It is believed that breath, after obtaining the data item content in the Quick Response Code billing information corresponding to whole accounting data items, for two dimension Do not included in code billing information but other accounting data items for being included in the usual bill where the Quick Response Code billing information and/or Its corresponding data item content, such as " loco:Haidian District, Beijing City XXXX street XXXX ", or " name of firm:Beijing XXXX food and drink Co., Ltd " etc., content, which obtains device 11, can gather the image information of the usual bill again, by with user's Interact to determine accounting data item wherein to be identified and/or its corresponding data item content, and then obtain in the billing information Data item content corresponding at least one accounting data item.
Preferably, if the accounting data item not yet established comprising book keeping operation list in billing information, content obtain device 11 As the new accounting data item corresponding to accounting records, and obtain its corresponding data item content.
Here, in book keeping operation list the accounting data item established be it is known/default, as bill type, billing amount, Bill purposes, bill time, telephone number, remarks data item this six kinds of accounting data items.And for it is unknown/not yet establish Accounting data item, content obtains device 11 also can be using the accounting data item as the new accounting data item corresponding to accounting records.
For example, when acquisition text message " loco:After Haidian District, Beijing City XXXX street XXXX ", content obtains Device 11 by separator ":" left side character as accounting data item;Then, content obtains device 11 and detects the accounting data item Whether it is the accounting data item established in book keeping operation list, if it is not, then using loco as a new accounting data item, and By separator ":" on the right of character " Haidian District, Beijing City XXXX street XXXX " be used as corresponding to loco in data item Hold.
Record is established device 12 and is filled up to data item content in the corresponding accounting data item of book keeping operation list, to establish the ticket It is believed that the accounting records that breath is corresponding.
Here, established multiple accounting data items in book keeping operation list, it is specific as bill type, billing amount, bill purposes, Bill time, telephone number, remarks data item this six kinds of accounting data items.Accordingly, record establishes device 12 by " income " or " branch Go out " it is filled up in the bill type of book keeping operation list, " XX members " is filled up in the billing amount of book keeping operation list, by " Morning Afternoon Evening meal " Or " clothing accessories " are filled up in the bill purposes of book keeping operation list, by " 2014-06-2715:10:06 " is filled up to book keeping operation list In the bill time, " 135XXXXXXXX " is filled up in the telephone number of book keeping operation list.
In addition, for the accounting data item not set up in book keeping operation list, record, which establishes device 12, can at least use following two Kind of mode is filled in:
1) new accounting data item is established for book keeping operation list.
For example, it can be that book keeping operation list establishes new accounting data item " loco " that record, which establishes device 12, and will transaction Data item content corresponding to place " Haidian District, Beijing City XXXX street XXXX " is filled up to the new accounting data of book keeping operation list In item " loco ".
2) the accounting data item not yet established and its corresponding data item content are filled up to the remarks number of book keeping operation list According in item.
For example, record establish device 12 can be by " loco:Haidian District, Beijing City XXXX street XXXX " are filled up to In the remarks data item of list of keeping accounts.
In addition, in recording process, book keeping operation list can be also presented to user by mobile terminal 1, for user feedback/repair Change.
Preferably, the modification device (not shown) of mobile terminal 1 according to user interact change book keeping operation list in Accounting data item and/or data item content.
Here, current accounting data item and/or data item content in book keeping operation list can be presented to user by modification device, So that user changes correspondingly accounting data item and/or data item content.
Or amending advice can be presented to user in modification device, for example, after it is late 6 point to detect the bill time, And bill purposes is " Morning Afternoon Evening meal ", an amending advice can be presented to user in modification device:" Morning Afternoon Evening meal " is revised as " dinner ", so that user receives or refuses, if received, modification device is according to data corresponding to the amending advice reconciliation single-use Item content is modified.
Further, the union operation that device can be according to user to multinomial accounting data item is changed, to prompt the user with Accounting data item after modification merging, and data item content corresponding before every accounting data item is also merged including at this Under accounting data item after merging.For example, the corresponding billing information of accounting records, such as a piece of paper matter bill, when a plurality of Include different accounting data items in accounting records respectively, as accounting records 1 include accounting data item " flight number ", book keeping operation note Record 2 includes accounting data item " train number ", and in order to avoid accounting records are excessively scattered, user is closed the two accounting data items And it can be defined as one of " flight number " or " train number " for the accounting data item after merging, modification device, be also amenable to him Belonging to classification, such as " stroke ", or modification device prompting user inputs new accounting data item title;Then, modification dress Put former accounting records 1 and 2 are corresponded to respectively former accounting data item " flight number " and " train number " data item content migration it is new to this Under accounting data item.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, can adopt With application specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment In, software program of the invention can realize steps described above or function by computing device.Similarly, it is of the invention Software program (including related data structure) can be stored in computer readable recording medium storing program for performing, for example, RAM memory, Magnetically or optically driver or floppy disc and similar devices.In addition, some steps or function of the present invention can employ hardware to realize, example Such as, coordinate as with processor so as to perform the circuit of each step or function.
In addition, the part of the present invention can be applied to computer program product, such as computer program instructions, when its quilt When computer performs, by the operation of the computer, the method according to the invention and/or technical scheme can be called or provided. And the programmed instruction of the method for the present invention is called, it is possibly stored in fixed or moveable recording medium, and/or pass through Broadcast or the data flow in other signal bearing medias and be transmitted, and/or be stored according to described program instruction operation In the working storage of computer equipment.Here, including a device according to one embodiment of present invention, the device includes using Memory in storage computer program instructions and processor for execute program instructions, wherein, when the computer program refers to When order is by the computing device, method and/or skill of the plant running based on foregoing multiple embodiments according to the present invention are triggered Art scheme.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference in claim should not be considered as to the involved claim of limitation.This Outside, it is clear that the word of " comprising " one is not excluded for other units or step, and odd number is not excluded for plural number.That is stated in system claims is multiple Unit or device can also be realized by a unit or device by software or hardware.The first, the second grade word is used for table Show title, and be not offered as any specific order.

Claims (12)

1. a kind of method for establishing accounting records, wherein, this method includes:
- collection billing information, to obtain the data item content in the billing information corresponding at least one accounting data item;
Wherein, when the billing information is gathered by IMAQ mode, character recognition is carried out to bill images,
- by default classified lexicon, and corresponding classification and the corresponding relation of accounting data item, from the character identified really The fixed data item content with corresponding accounting data item;
- corresponding accounting data item and its data item content are determined according to specific character/expression formula from the character identified;
Wherein, when the billing information includes Quick Response Code billing information, read Quick Response Code therein obtain accounting data item and Its corresponding data item content;
- be filled up to the data item content in the corresponding accounting data item of book keeping operation list, it is right to establish the billing information institute The accounting records answered.
2. according to the method for claim 1, wherein, the billing information includes Quick Response Code billing information, two dimension therein Corresponding data item content generates based on one or more accounting data items and its respectively for code.
3. the method according to claim 11, wherein, in the data item obtained corresponding at least one accounting data item The step of appearance, includes:
- collection the billing information, accounting data item wherein to be identified is determined by the interaction with user and/or its is corresponding Data item content, and then obtain the data item content in the billing information corresponding at least one accounting data item.
4. according to the method in any one of claims 1 to 3, wherein, at least one accounting data item institute of acquisition is right The step of data item content answered, also includes:
If the accounting data item not yet established comprising the book keeping operation list in the-billing information, as corresponding to institute The new accounting data item of accounting records is stated, and obtains its corresponding data item content.
5. according to the method in any one of claims 1 to 3, wherein, the accounting data item of the book keeping operation list is including standby Note data item;
Wherein, it is described establish corresponding to the billing information accounting records the step of also include:
If the accounting data item not yet established comprising the book keeping operation list in-the billing information, by the accounting data item and Its corresponding data item content is filled into the remarks data item.
6. according to the method for claim 1, wherein, this method also includes:
- according to user interact change it is described book keeping operation list in accounting data item and/or data item content.
7. a kind of device for establishing accounting records, wherein, the device includes:
For gathering billing information, to obtain the data item content in the billing information corresponding at least one accounting data item Device;
Wherein, when the billing information is gathered by IMAQ mode, character recognition is carried out to bill images,
- by default classified lexicon, and corresponding classification and the corresponding relation of accounting data item, from the character identified really The fixed data item content with corresponding accounting data item;
- corresponding accounting data item and its data item content are determined according to specific character/expression formula from the character identified;
Wherein, when the billing information includes Quick Response Code billing information, read Quick Response Code therein obtain accounting data item and Its corresponding data item content;
For the data item content to be filled up in the corresponding accounting data item of book keeping operation list, to establish the billing information institute The device of corresponding accounting records.
8. device according to claim 7, wherein, the billing information includes Quick Response Code billing information, two dimension therein Corresponding data item content generates based on one or more accounting data items and its respectively for code.
9. device according to claim 7, wherein, in the data item obtained corresponding at least one accounting data item The device of appearance is used for:
- collection the billing information, accounting data item wherein to be identified is determined by the interaction with user and/or its is corresponding Data item content, and then obtain the data item content in the billing information corresponding at least one accounting data item.
10. the device according to any one of claim 7 to 9, wherein, at least one accounting data item institute of acquisition is right The device for the data item content answered is additionally operable to:
If the accounting data item not yet established comprising the book keeping operation list in the-billing information, as corresponding to institute The new accounting data item of accounting records is stated, and obtains its corresponding data item content.
11. the device according to any one of claim 7 to 9, wherein, the accounting data item of the book keeping operation list is including standby Note data item;
Wherein, the device for establishing the accounting records corresponding to the billing information is additionally operable to:
If the accounting data item not yet established comprising the book keeping operation list in-the billing information, by the accounting data item and Its corresponding data item content is filled into the remarks data item.
12. device according to claim 7, wherein, the device also includes:
For according to user interact change it is described book keeping operation list in accounting data item and/or data item content dress Put.
CN201410311275.7A 2014-07-01 2014-07-01 A kind of method and apparatus for establishing accounting records Active CN104123608B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410311275.7A CN104123608B (en) 2014-07-01 2014-07-01 A kind of method and apparatus for establishing accounting records

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410311275.7A CN104123608B (en) 2014-07-01 2014-07-01 A kind of method and apparatus for establishing accounting records

Publications (2)

Publication Number Publication Date
CN104123608A CN104123608A (en) 2014-10-29
CN104123608B true CN104123608B (en) 2017-12-26

Family

ID=51769010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410311275.7A Active CN104123608B (en) 2014-07-01 2014-07-01 A kind of method and apparatus for establishing accounting records

Country Status (1)

Country Link
CN (1) CN104123608B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537532B (en) * 2014-12-12 2018-09-04 小米科技有限责任公司 consumption data recording method and device
CN104616122A (en) * 2015-02-28 2015-05-13 陈晓华 Electronic financing and accounting system and method using same
CN105678614A (en) * 2016-01-05 2016-06-15 北京千松科技发展有限公司 Automatic computing system based on two-dimensional codes
CN107103527B (en) * 2017-02-27 2023-05-12 宇龙计算机通信科技(深圳)有限公司 Information remarking method, information remarking device and terminal
CN107657039A (en) * 2017-09-28 2018-02-02 努比亚技术有限公司 Bill recording method, mobile terminal and computer-readable recording medium
CN108304374A (en) * 2017-10-27 2018-07-20 深圳市腾讯计算机系统有限公司 Information processing method and related product
CN107862596A (en) * 2017-11-30 2018-03-30 努比亚技术有限公司 Bookkeeping methods, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609775A (en) * 2011-04-28 2012-07-25 许晓飞 Personal consumption record invoice collecting system
CN102750794A (en) * 2012-07-10 2012-10-24 陕西海基业高科技实业有限公司 Automatic note input system and application method thereof
CN102867253A (en) * 2012-08-07 2013-01-09 李凡 Method for providing added value function for mobile phone payment
CN102930667A (en) * 2012-10-30 2013-02-13 中国工商银行股份有限公司 Information processing method and system, and intelligent terminal
CN103093219A (en) * 2013-01-28 2013-05-08 中国航空结算有限责任公司 Ticket number recognition method based on optical character recognition (OCR) technology
CN103310239A (en) * 2013-06-26 2013-09-18 张�林 System and method for electronically transmitting, storing and processing paper bills

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102609775A (en) * 2011-04-28 2012-07-25 许晓飞 Personal consumption record invoice collecting system
CN102750794A (en) * 2012-07-10 2012-10-24 陕西海基业高科技实业有限公司 Automatic note input system and application method thereof
CN102867253A (en) * 2012-08-07 2013-01-09 李凡 Method for providing added value function for mobile phone payment
CN102930667A (en) * 2012-10-30 2013-02-13 中国工商银行股份有限公司 Information processing method and system, and intelligent terminal
CN103093219A (en) * 2013-01-28 2013-05-08 中国航空结算有限责任公司 Ticket number recognition method based on optical character recognition (OCR) technology
CN103310239A (en) * 2013-06-26 2013-09-18 张�林 System and method for electronically transmitting, storing and processing paper bills

Also Published As

Publication number Publication date
CN104123608A (en) 2014-10-29

Similar Documents

Publication Publication Date Title
CN104123608B (en) A kind of method and apparatus for establishing accounting records
RU2679209C2 (en) Processing of electronic documents for invoices recognition
Karmarkar et al. Operations management in the information economy: Information products, processes, and chains
Reddick et al. The Dual Digital Divide
De Angeli et al. Introducing ATMs in India: a contextual inquiry
US10282386B1 (en) Sampling a part of a content item
US9075800B2 (en) Context switching in a business application
US20140019236A1 (en) Selecting advertisement for presentation using purchase data of pending transaction
CN110147549A (en) For executing the method and system of text error correction
US20140019256A1 (en) Selecting advertisement for presentation using previously stored data corresponding to identified customer
US20130341417A1 (en) Image embedding apparatus and method
KR102248823B1 (en) System, method and application for data visual service
US20220083979A1 (en) Systems and methods for database management and graphical user interface displays
JP6184310B2 (en) Linked input method, linked input system, information processing apparatus, and linked input program
CN115018549A (en) Method for generating advertisement file, device, equipment, medium and product thereof
CN105630893B (en) A kind of display methods and device of group picture title
CN109344347A (en) Display control method, device, electronic equipment and computer readable storage medium
CN111967970B (en) Bank product recommendation method and device based on spark platform
CN110008318A (en) Problem distributing method and device
CN102236658B (en) Webpage content extracting method and device
CN203858712U (en) E-commerce service terminal of community
CN111062262B (en) Invoice recognition method and invoice recognition device
CN111210328A (en) Voucher generation method and device, storage medium and electronic equipment
CN112270594B (en) Salary data display method, device, computer equipment and storage medium
CN102622822A (en) Library management system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant