CN110209667A - Statistical method, device and the computer equipment of balance data - Google Patents

Statistical method, device and the computer equipment of balance data Download PDF

Info

Publication number
CN110209667A
CN110209667A CN201910337205.1A CN201910337205A CN110209667A CN 110209667 A CN110209667 A CN 110209667A CN 201910337205 A CN201910337205 A CN 201910337205A CN 110209667 A CN110209667 A CN 110209667A
Authority
CN
China
Prior art keywords
revenue
expenditure
format
text
information
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
Application number
CN201910337205.1A
Other languages
Chinese (zh)
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.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart 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 OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910337205.1A priority Critical patent/CN110209667A/en
Publication of CN110209667A publication Critical patent/CN110209667A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Probability & Statistics with Applications (AREA)
  • Software Systems (AREA)
  • Fuzzy Systems (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This application discloses a kind of statistical method of balance data, device and computer equipments, are related to field of computer technology, when can realize balance data typing in such a way that effective solution is typewrited, the problem that be easy to cause data input low efficiency, user experience bad.Wherein method includes: to obtain the account book input information of target user;Identify the corresponding Format Type of the account book input information, wherein the Format Type includes audio format or picture format;The balance data in the account book input information is determined using the corresponding default recognition rule of the Format Type;The balance data is recorded according to account book record format.The application is suitable for the statistics to balance data.

Description

Statistical method, device and the computer equipment of balance data
Technical field
This application involves field of computer technology more particularly to a kind of statistical methods of balance data, device and calculating Machine equipment.
Background technique
With the intelligentized development of science and technology, many activities of the mankind all by intelligent science and technology instead of traditional labour, In, book keeping operation software is exactly that a kind of intelligence for recording the assets income and expenses of the entities such as individual, family, department, enterprise is answered With the use for software of keeping accounts provides convenient and fast tool for collection, the arrangement of data, also provides reliably for the analysis of data Basic material, welcome it more and more widely.
Book keeping operation application software in the industry is all the list of Lai Jilu personal income and expenditure by the way of manual typing at present Expense, this input mode is more single, inefficiency, also be easy to cause user experience bad while wasting time.
Summary of the invention
In view of this, this application provides a kind of statistical method of balance data, device and computer equipment, main purpose When being that the mode for solving typewriting realizes balance data typing, it be easy to cause data input low efficiency, user experience bad Problem.
According to the one aspect of the application, a kind of statistical method of balance data is provided, this method comprises:
The account book for obtaining target user inputs information;
Identify the corresponding Format Type of the account book input information, wherein the Format Type includes audio format or figure Piece format;
The balance data in the account book input information is determined using the corresponding default recognition rule of the Format Type;
The balance data is recorded according to account book record format.
According to further aspect of the application, a kind of statistic device of balance data is provided, which includes:
Module is obtained, the account book for obtaining target user inputs information;
Identification module, for identification corresponding Format Type of account book input information, wherein the Format Type includes Audio format or picture format;
Determining module, for being determined in the account book input information using the corresponding default recognition rule of the Format Type Balance data;
Logging modle, for being recorded according to account book record format to the balance data.
According to the another aspect of the application, a kind of non-volatile readable storage medium is provided, calculating is stored thereon with Machine program realizes the statistical method of above-mentioned balance data when described program is executed by processor.
According to another aspect of the application, a kind of computer equipment is provided, including non-volatile readable storage medium, Processor and it is stored in the computer program that can be run on non-volatile readable storage medium and on a processor, the processor The statistical method of above-mentioned balance data is realized when executing described program.
By above-mentioned technical proposal, a kind of statistical method of balance data, device and computer equipment provided by the present application, Compared with the method for existing account book statistics balance data at present, the application adds on the basis of traditional-handwork typing balance data Intelligent sound and intelligent identification function of taking pictures are added, account can have been uploaded into account book by way of audio input or picture input Forms data information, and balance data is recorded according to account book record format, enrich the mode of accounting information typing, user It can be chosen according to their own situation suitable bill input form, to keep book keeping operation operation more convenient, save book keeping operation operation and account for Time improves book keeping operation efficiency.
Above description is only the general introduction of technical scheme, in order to better understand the technological means of the application, And it can be implemented in accordance with the contents of the specification, and in order to which the above and other objects, features and advantages of the application can be more It becomes apparent, below the special specific embodiment for lifting the application.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present application, constitutes part of this application, this Shen Illustrative embodiments and their description please do not constitute the improper restriction to locally applying for explaining the application.In the accompanying drawings:
Fig. 1 shows a kind of flow diagram of the statistical method of balance data provided by the embodiments of the present application;
Fig. 2 shows the flow diagrams of the statistical method of another balance data provided by the embodiments of the present application;
Fig. 3 shows a kind of structural schematic diagram of the statistic device of balance data provided by the embodiments of the present application;
Fig. 4 shows the structural schematic diagram of the statistic device of another balance data provided by the embodiments of the present application.
Specific embodiment
The application is described in detail hereinafter with reference to attached drawing and in conjunction with the embodiments.It should be noted that in the feelings not conflicted Under condition, the features in the embodiments and the embodiments of the present application can be combined with each other.
When for realizing balance data typing with the mode of typewriting at present, it be easy to cause data input low efficiency, user's body Bad problem is tested, a kind of statistical method of balance data is present embodiments provided, as shown in Figure 1, this method comprises:
101, the account book for obtaining target user inputs information.
Wherein, target user is the user for needing to carry out billing data record;Account book input information is to include target user The file for the balance data for needing to record, it may include audio file and picture file.
In specific application scenarios, needs to configure third party's speech recognition software on client application software in advance and open Send out kit (Software Development Kit, SDK) and image data identification facility, it is also necessary to configure voice input Button is taken pictures and picture uploading module.Application program starts microphone to iOS system application by starting UI page control, uses The button is pinned at family, can carry out voice input and acquisition.Existing speech recognition SDK can be used in speech recognition, is divided into online Or offline versions.Speech recognition technology, also referred to as automatic speech recognition (Automatic Speech Recognition, ASR), it is computer-readable input that target, which is the vocabulary Content Transformation in the voice by the mankind, such as key, binary system are compiled Code or character string.Different from Speaker Identification and speaker verification, the latter attempts identification or confirmation issues speaking for voice People rather than vocabulary content included in it;Image data identification can utilize optical character identification (Optical Character Recognition, OCR), by identification technology, by the text conversion in image at text formatting, for word processor into one Walk the technology edited and processed.
It can be the device or equipment for counting target user's balance data for executing subject of the invention, receive target The account book of user inputs information, and the corresponding Format Type of identification account book input information matches default identification rule according to Format Type Then, it and then determines the balance data for needing to record, balance data is recorded according still further to preset account book record format.
102, the corresponding Format Type of identification account book input information.
Wherein, Format Type includes audio format or picture format.
In specific application scenarios, the file extension of information can be inputted according to account book to judge its corresponding format class It can determine that its corresponding Format Type is when the forms such as type, such as file extent entitled .jpg .jpeg .bmp .png .gif Picture format;It can determine that its corresponding Format Type is audio format when the forms such as file extent entitled .avi .wav .mp3.
103, the balance data in account book input information is determined using the corresponding default recognition rule of Format Type.
Wherein, it presets recognition rule to be set according to practical application request in advance, be used to from each Format Type Account book input information in extract and need to carry out the balance data of record storage;In balance data comprising record in need it is interior Hold element, content element at least should include attribute classification, revenue and expenditure time, the revenue and expenditure amount of money, revenue and expenditure type.
104, balance data is recorded according to account book record format.
Wherein, account book record format is data displaying be set in advance according to actual demand, for showing balance data Format.
The statistical method of middle balance data through this embodiment can pass through acquisition audio format or the account book of picture format Information is inputted, automatically identifies the balance data in account book input information using the corresponding default recognition rule of Format Type;And Balance data is recorded according to account book record format, is added to voice input and photo scanning module, perfect book keeping operation is soft The functionality of part provides multiple choices mode for the typing of account book information, reduces the difficulty of book keeping operation operation, makes the note of user Account operation is more convenient, to improve the efficiency of book keeping operation.
Further, as the refinement and extension of above-described embodiment specific embodiment, in order to completely illustrate the present embodiment In specific implementation process, provide the statistical method of another balance data, as shown in Fig. 2, this method comprises:
201, the account book for obtaining target user inputs information.
In specific application scenarios, audio and picture reception pattern can be set separately, receive target user at any time and upload Account book input information, when system receive account book input information when, can automatically send identification request arrive corresponding identification module, Realize the automatic identification to the account book input information content.
202, the corresponding Format Type of identification account book input information.
For example, getting its corresponding entitled .avi of file extent if recognizing account book input information, then can determine account book Inputting the corresponding Format Type of information is audio format;If getting the corresponding entitled .png of file extent of account book input information, It then can determine that the corresponding Format Type of account book input information is picture format.
203a, when Format Type is audio format, the identification account book input information voice messaging that includes obtains voice text This information.
For the present embodiment, speech recognition, Jin Ershi are carried out to voice messaging using each word in default dictionary Not Chu user's typing voice content.Further, in order to enrich application of the default dictionary of speech recognition under scene of keeping accounts, It can be pre-configured with the keyword that book keeping operation scene can be used, remembered so as to subsequent according to these keywords according to speech recognition SDK Speech recognition can also be accurately carried out under account scene.Specifically it can arrange the key that can be used with language identification SDK provider in advance Word, convenient for carrying out the identification of voice after voice input.For example, being pre-configured with " date ", " today ", " yesterday ", " expenditure ", " receiving Enter ", " having a meal ", " shopping ", " bonus ", the keywords such as " income " " acquisition ".
During being specifically based on speech recognition technology to voice messaging progress speech recognition, from speech recognition modeling Angle says that the speech recognition system theory of mainstream is built upon on statistical-simulation spectrometry basis, and the voice inputted first is special Levy sequence vector X=x1, x2 ... ..., xT;Again by these speech feature vectors and pre-set crucial term vector progress Match, and then be converted to word sequence W=w1, w2 ... ..., wN, to obtain speech recognition result according to these word sequences.
During speech recognition, since the voice messaging of user's input may have the feature of country dialect, it is The voice messaging that in such a scenario can also accurately identify user's input, can configure the default pass of some provincialisms in advance Keyword, and the mapping relations between these keywords and mandarin standard keyword are established, recognizing these provincialisms Predetermined keyword, can use the mapping relations, be automatically converted into the speech recognition result for meeting mandarin standard.
204a, speech text information is matched with default sentence pattern.
Wherein, default sentence pattern is in advance according to revenue and expenditure time format, revenue and expenditure type keyword format, sorting item noun lattice Formula, revenue and expenditure amount of money format create.
For example, if the corresponding default Sentence Template of setting income type are as follows: the time+...+income keyword (as taken in, Obtain, receive, receiving returned money etc.)+...+attributive noun (such as A fund, B stock)+...+amount of money;Setting expenditure type pair The default Sentence Template answered are as follows: time+...+draw keyword (such as consume, pay, drawing, remitting money or beat money to XX) + ...+attributive noun (such as commodity A, restaurant B)+...+amount of money can be closed when getting speech text information according to income Keyword or the default sentence pattern for drawing crucial word judgment Yu speech text information matches, such as get speech text information are as follows: April 8 Day my market that goes shopping buys commodity A and has spent 3000 yuan, and 2000 yuan have been paid on commodity B, then can according to " spending " " expenditure " this It is the corresponding default Sentence Template of expenditure type that two, which are drawn keyword and determined with speech text information matches,.
If 205a, speech text information and default sentence pattern successful match, from speech text information, determines and receive respectively The matched revenue and expenditure time text of branch time format, revenue and expenditure type text and sorting item with revenue and expenditure type keyword format match The sorting item noun text of noun format match, the revenue and expenditure amount of money text with revenue and expenditure amount of money format match, so as to the receipts that will be obtained Branch time text, revenue and expenditure type text, sorting item noun text, revenue and expenditure amount of money text are determined as balance data.
For example, if speech text information and default sentence pattern successful match, and the default Sentence Template of successful match are as follows: the time + ...+income keyword (such as take in, obtain, receiving, receiving returned money)+...+attributive noun (such as A fund, B stock) + ...+amount of money;If it is determined that speech text information corresponding with default Sentence Template is taken in are as follows: March 12, I had received wage It 2000 yuan, then can determine respectively with the matched revenue and expenditure time text of revenue and expenditure time format to be " March 12 from speech text information The revenue and expenditure type text of day " and revenue and expenditure type keyword format match is " receiving ", the classification with sorting item noun format match Item noun text is " wage " and the revenue and expenditure amount of money text of revenue and expenditure amount of money format match is " 2000 yuan ", and then determines account book Input the balance data in information are as follows: March 12;It receives;Wage;2000 yuan.
If 206a, speech text information are with default sentence pattern, it fails to match, and it is crucial to obtain revenue and expenditure time format, revenue and expenditure type Word format, attributive noun format, the item that it fails to match in revenue and expenditure amount of money format this four, and export prompt and the item that it fails to match Corresponding shortage of data prompt information.
Wherein, the prompt information of shortage of data may include text prompt information, picture prompting information, audio prompt information, Visual prompts information, vibration prompting information etc..
For example, then can determine revenue and expenditure time format, revenue and expenditure class if it is determined that speech text information and default sentence pattern mismatch out Type keyword format, attributive noun format at least have one in revenue and expenditure amount of money format and do not complete matching, then need further really Making in this four leads to the item that it fails to match, such as determines to lack revenue and expenditure type text in speech text information, can be further Lead to the content of revenue and expenditure type keyword format to can not achieve matching, then exports mentioning for missing revenue and expenditure type keyword format content Show information, so that input related content, completes the matching of speech text information and default sentence pattern.
In specific application scenarios, if recognize have in speech text information today, tomorrow etc. these do not include it is specific The time noun at time point then it is corresponding can to extrapolate automatically balance data according to current time in system point and time noun Time point.
The step 203b arranged side by side with step 203a, when Format Type is picture format, identification account book input information includes Pictorial information in title content.
In specific application scenarios, because the image data of input is different types of invoice, receipt etc., therefore it can press Unified according to predeterminated position reads rule, and corresponding title content is identified from pictorial information.
204b, title content is subjected to text semantic parsing, obtains the corresponding picture data type of pictorial information.
In specific application scenarios, the title content of information can be inputted according to the account book of picture type, determines to correspond to Picture data type.For example, working as different zones if the title content read in picture is Liaoning Province's VAT invoice VAT invoice typesetting it is identical when, text semantic resolution rules can be set are as follows: reject zone name title content make For the picture data type of acquisition, that is, it can determine that picture data type is VAT invoice;When the increment of different zones When tax special invoice typesetting difference, the determination of the VAT invoice of different zones can also be independent picture data type, Such as Liaoning Province's VAT invoice.
In specific application scenarios, takes pictures or picture is uploaded primarily directed to all types of corresponding bills, be divided into expenditure The bill of type, the bill for taking in type, specifically can include: invoice type and receipt type etc., invoice type is again can include: increase Value tax special invoice, common invoice, motor vehicle special invoice, machine dismiss ticket, quota invoice, the invoice for cutting off formula etc..
The default recognition template of 205b, acquisition bill corresponding with picture data type.
Wherein, the formwork style content for corresponding to bill in recognition template comprising picture data type is preset.
In specific application scenarios, different invoice types corresponds to the amount of money or pays the display area difference of type, and Similar, without much difference, therefore is preset different default recognition templates and corresponding data recognition rule for different type respectively, Facilitate and matches the account book input information of picture format with default recognition template, it is quasi- according to matched data recognition rule Really read out the balance data in account book input information.Alternatively, by picture data type and default identification mould The matched method of plate can are as follows: reads the title content in picture in account book input information;It is matched according to title content corresponding pre- If recognition template.
For example, VAT invoice can be obtained if the title content read in picture is VAT invoice Corresponding default template, the foundation as information extraction;If reading the title content in picture is that tax bureau's universal machine is dismissed Ticket can then match tax bureau's universal machine and dismiss the corresponding default template of ticket.
206b, according to revenue and expenditure time record position in formwork style content, the receipts of corresponding position are read from pictorial information Branch time text;And according to revenue and expenditure class record position in formwork style content, the receipts of corresponding position are read from pictorial information Branch type text;And according to sorting item record position in formwork style content, the classification of corresponding position is read from pictorial information Item noun text;And according to revenue and expenditure amount record position in formwork style content, the receipts of corresponding position are read from pictorial information Branch amount of money text.
For example, obtaining the corresponding default recognition template of picture type are as follows: tax bureau's universal machine dismisses ticket, then according to the tax bureau Universal machine dismisses revenue and expenditure time record position in ticket, and the revenue and expenditure time text of corresponding position is read from pictorial information;And according to Tax bureau's universal machine dismisses revenue and expenditure class record position in ticket, and the revenue and expenditure type text of corresponding position is read from pictorial information; And sorting item record position in ticket is dismissed according to tax bureau's universal machine, the sorting item noun of corresponding position is read from pictorial information Text;And revenue and expenditure amount record position in ticket is dismissed according to tax bureau's universal machine, the receipts of corresponding position are read from pictorial information Branch amount of money text.
207b, by the revenue and expenditure time text read, revenue and expenditure type text, sorting item noun text, revenue and expenditure amount of money text It is determined as balance data.
For example, by picture recognition read the corresponding revenue and expenditure time text of A market shopping invoice, revenue and expenditure type text, Sorting item noun text, revenue and expenditure amount of money text are respectively as follows: January 12, expenditure, amusement, 200 yuan, then can by January 12, expenditure, Amusement, 200 yuan be uniformly determined as balance data.
208, revenue and expenditure time text, revenue and expenditure type text, sorting item noun text and the revenue and expenditure gold in balance data are extracted Volume text.
209, the revenue and expenditure time text extracted is parsed, obtains revenue and expenditure temporal information;And the revenue and expenditure that will be extracted Corresponding first keyword of type text is matched with default revenue and expenditure type keyword, is obtained matched default revenue and expenditure type and is closed Keyword, wherein matched default revenue and expenditure type keyword if it does not exist then exports revenue and expenditure type corresponding with the first keyword and knows The prompt information not confirmed;And by corresponding second keyword of sorting item noun text extracted respectively with it is each pre- in account book If the default sorting item keyword of sorting item configuration is matched, matched default sorting item keyword is obtained, wherein if not depositing In matched default sorting item keyword, then the prompt information of sorting item recognition and verification corresponding with the second keyword is exported;And The revenue and expenditure amount of money text extracted is identified, revenue and expenditure amount information is obtained.
In specific application scenarios, the content in revenue and expenditure time text can be determined directly as revenue and expenditure temporal information;It will Content in revenue and expenditure amount of money text is determined directly as revenue and expenditure amount information;It will be true with the default revenue and expenditure type of the first Keywords matching It is set to revenue and expenditure type information, such as the first keyword is " consumption ", then can will be with " consumption " matched default revenue and expenditure type keyword " expenditure " is determined as final revenue and expenditure type information, matches if it does not exist, then the corresponding receipts of exportable first keyword " consumption " The prompt information of branch type identification confirmation, corresponding revenue and expenditure type is independently chosen by user;It will be pre- with the second Keywords matching If sorting item keyword is determined as sorting item information, such as the first keyword is " clothes ", then can will be matched default with " clothes " Sorting item keyword " dress ornament " is determined as final sorting item information, matches if it does not exist, then exportable second keyword " clothing The prompt information of the corresponding sorting item recognition and verification of clothes ", corresponding sorting item is independently chosen by user.
Correspondingly, alternatively, step 208 specifically includes: by content of text information the first keyword, Second keyword respectively with the default revenue and expenditure type keyword of default sorting item configuration each in account book, default sorting item keyword Carry out similarity mode;Similarity is greater than or equal to default revenue and expenditure type keyword, the default sorting item of preset threshold respectively Keyword is determined as matched default revenue and expenditure type keyword, default sorting item keyword.
Wherein, the first keyword may include each revenue and expenditure type, such as " consumption ", " spending ", " profit ", and the second keyword can Including each revenue and expenditure attributive noun, such as restaurant, breakfast, market, clothes, trousers, fund A, stock B.Default revenue and expenditure type is crucial Word, default sorting item keyword are preset each attributive classification in account book software, such as income, expenditure, clothes, food and drink, financing Deng.
For example, if revenue and expenditure information includes the representative of at least one of " clothes ", " housing ", " trousers ", " shoes ", " packet " etc. The keyword of clothes one kind, the attributes similarity between corresponding with clothes sorting item predetermined keyword (such as " clothes ") are greater than Given threshold, then the revenue and expenditure information can be included into clothes sorting item;If revenue and expenditure information includes " breakfast ", " lunch ", " evening The keyword of representative diet one kind of at least one of meal ", " cold drink ", " having a meal " etc., it is corresponding with food and drink sorting item default Similarity between keyword (such as " food and drink ") is greater than given threshold, then the revenue and expenditure information can be included into food and drink sorting item; If revenue and expenditure information includes the key of representative stock one kind of at least one of " A-share ", " B strands ", " H-share ", " S strands ", " N strands " etc. Word, the similarity between the corresponding predetermined keyword of financing sorting item is greater than given threshold, then can be by the revenue and expenditure information It is included into stock classification item.
210, according to account book record format, with revenue and expenditure temporal information, matched default revenue and expenditure type keyword, matched pre- If sorting item keyword, revenue and expenditure amount information generate the corresponding book keeping operation text information of balance data as record format parameter, and It will be in default sorting item corresponding to book keeping operation text information filling and matched default sorting item.
In specific application scenarios, it can be required to formulate account book record format according to the display of account book software, for example, setting Account book record format is " the affiliated sorting item spending amount of time consumption type ", if recognizing content of text information are as follows: my today It has a meal and has spent 20 yuan, a fund bonus obtains 1000 yuan.Then can according to matched predetermined keyword and account book record format, Pre-display goes out revenue and expenditure information in food and drink sorting item are as follows: 2018.11.14 pays 20 yuan of food and drink, and in financing sorting item in advance Show that revenue and expenditure information is 1000 yuan of 2018.11.14 income fund.
211, pre-display is carried out to the balance data of record.
In specific application scenarios, in order to guarantee the accuracy of the balance data counted, the note for needing will identify that Account text information is all presented in the pre-display page, and target user is facilitated to carry out the comparison of information, determines the content identified It is whether correct.
If 212, receiving registration confirmed instruction, structuring processing is carried out to the balance data of determining record, and will knot Treated that balance data is synchronized to data platform for structureization.
In specific application scenarios, when receiving registration confirmed instruction, illustrate that the book keeping operation text information identified is It is accurate, then can by structuring, treated that balance data is synchronized in data platform, facilitate record and statistics.
If 213, receiving record change directive, the balance data of record is modified according to data change instruction.
In specific application scenarios, when receiving record change directive, illustrate that the book keeping operation text information identified is deposited In mistake, then for user selection content to be modified, carry out information re-recognize or typing, can independently be selected by target user The mode that breath of winning the confidence uploads again, selectable mode include: to be manually entered Alternate text to modify, in voice input modification Hold and picture is re-recognized.
214, the history for counting audio format or the corresponding account book input information of picture format changes number.
In specific application scenarios, real-time update counts modification of all target users to account book input information, and divides Not Lei Jia audio format and the corresponding change number of picture format, as the Functional Characterization to statistical function.
215, according to history change number determine voice input account book with take pictures that typing account book is corresponding to be recommended to use Priority.
In specific application scenarios, number real-time update voice input account book can be changed and typing account of taking pictures according to history Two kinds of data input modes are corresponding is recommended to use priority for this, by the less data input mode of history change number, It is determined as high priority, by the more data input mode of history change number, is determined as low priority.
216, the high account book typing mode preferential recommendation of priority will be recommended to use to other users.
In order to guarantee the quality of account book typing information, good customer experience is built, is determining two kinds of account book typing modes It is corresponding when being recommended to use priority, can be by the high account book typing mode preferential recommendation of priority to other users, and root According to the real-time update of history change number, the synchronous adjustment of recommendation information is carried out.
For the statistical method of above-mentioned balance data, the account of available target user's audio format or picture format is defeated Enter information, and corresponding data identification method in both formats, determine the balance data for including in account input information, It identifies the content of text information in balance data, determines its corresponding default sorting item, finally shown according to account book record format Content of text information, and book keeping operation text information is inserted in matched default sorting item, it is provided with a variety of account books in this programme and believes The upload mode of breath facilitates user's selection and also saves the hand of user while realizing the automatic identification and typing of data The work operating time, and number can also be changed according to the corresponding history of two kinds of formats, it determines preferential recommendation mode, enhances user's Usage experience.
Further, the specific implementation as method shown in Fig. 1 and Fig. 2, the embodiment of the present application provide a kind of revenue and expenditure number According to statistic device, as shown in figure 3, the device include: obtain module 31, identification module 32, determining module 33, logging modle 34。
Module 31 is obtained, can be used for obtaining the account book input information of target user;
Identification module 32 can be used to identify the corresponding Format Type of account book input information, wherein Format Type includes audio Format or picture format;
Determining module 33 can be used for determining the receipts in account book input information using the corresponding default recognition rule of Format Type Branch data;
Logging modle 34 can be used for recording balance data according to account book record format.
In specific application scenarios, when Format Type is audio format, determining module 33, it may also be used for identification account book The voice messaging that input information includes, obtains speech text information;Speech text information is matched with default sentence pattern, In, default sentence pattern is in advance according to revenue and expenditure time format, revenue and expenditure type keyword format, sorting item noun format, the revenue and expenditure amount of money What format created;If speech text information and default sentence pattern successful match, from speech text information, determine respectively with The matched revenue and expenditure time text of revenue and expenditure time format and the revenue and expenditure type text of revenue and expenditure type keyword format match and classification Sorting item noun text, the revenue and expenditure amount of money text with revenue and expenditure amount of money format match of item noun format match, so as to what will be obtained Revenue and expenditure time text, revenue and expenditure type text, sorting item noun text, revenue and expenditure amount of money text are determined as balance data;If voice is literary It fails to match with default sentence pattern for this information, then obtain revenue and expenditure time format, revenue and expenditure type keyword format, attributive noun format, The item that it fails to match in revenue and expenditure amount of money format this four, and export prompt shortage of data prompt letter corresponding with the item that it fails to match Breath.
Correspondingly, when Format Type is picture format, determining module 33, it may also be used for identification account book inputs information and includes Pictorial information in title content;Title content is subjected to text semantic parsing, obtains the corresponding image data of pictorial information Type;Obtain the default recognition template of bill corresponding with picture data type, wherein include image data in default recognition template Type corresponds to the formwork style content of bill;According to revenue and expenditure time record position in formwork style content, read from pictorial information Take the revenue and expenditure time text of corresponding position;And it according to revenue and expenditure class record position in formwork style content, is read from pictorial information Take the revenue and expenditure type text of corresponding position;And it according to sorting item record position in formwork style content, is read from pictorial information The sorting item noun text of corresponding position;And it according to revenue and expenditure amount record position in formwork style content, is read from pictorial information Take the revenue and expenditure amount of money text of corresponding position;By the revenue and expenditure time text read, revenue and expenditure type text, sorting item noun text, Revenue and expenditure amount of money text is determined as balance data.
In specific application scenarios, in order to be recorded according to account book record format to balance data, logging modle 34, It can also be used to extract revenue and expenditure time text, revenue and expenditure type text, sorting item noun text and the revenue and expenditure amount of money text in balance data This;The revenue and expenditure time text extracted is parsed, revenue and expenditure temporal information is obtained;And the revenue and expenditure type text pair that will be extracted The first keyword answered is matched with default revenue and expenditure type keyword, obtains matched default revenue and expenditure type keyword, wherein Matched default revenue and expenditure type keyword if it does not exist then exports mentioning for revenue and expenditure type identification confirmation corresponding with the first keyword Show information;And corresponding second keyword of sorting item noun text extracted is matched with default sorting item each in account book respectively The default sorting item keyword set is matched, and obtains matched default sorting item keyword, wherein matched pre- if it does not exist If sorting item keyword, then the prompt information of sorting item recognition and verification corresponding with the second keyword is exported;And it will extract Revenue and expenditure amount of money text is identified, revenue and expenditure amount information is obtained;According to account book record format, with revenue and expenditure temporal information, matched Default revenue and expenditure type keyword, matched default sorting item keyword, revenue and expenditure amount information are generated and are received as record format parameter The corresponding book keeping operation text information of branch data, and will be corresponding to book keeping operation text information filling and matched default sorting item keyword In default sorting item.
Correspondingly, each default sorting item configures default in keyword and account book in content of text information in order to realize The matching of keyword, logging modle 34, it may also be used for configure the second keyword with default sorting item each in account book respectively Default sorting item keyword carries out similarity mode;The default sorting item keyword that similarity is greater than or equal to preset threshold is true It is set to matched default sorting item keyword.
In specific application scenarios, in order to guarantee the accuracy of the balance data identified, as shown in figure 4, the present apparatus Further include: display module 35, processing module 36, change module 37.
Display module 35 can be used for carrying out pre-display to the balance data of record;
Processing module 36 carries out structure to the balance data for determining record if can be used for receiving registration confirmed instruction Change processing, and treated that balance data is synchronized to data platform by structuring;
Module 37 is changed, if can be used for receiving record change directive, according to data change instruction to the revenue and expenditure of record Data are modified.
Correspondingly, in order to guarantee to guarantee the good user experience of user, as shown in figure 4, the present apparatus further include:
Statistical module 38, can be used for counting audio format or the corresponding account book of picture format inputs the history of information more Change number;
Determining module 33, it may also be used for number is changed according to history and determines voice input account book or typing account book difference of taking pictures It is corresponding to be recommended to use priority;
Recommending module 39 can be used for be recommended to use the high account book typing mode preferential recommendation of priority to other users.
It should be noted that its of each functional unit involved by a kind of statistic device of balance data provided in this embodiment He accordingly describes, and can describe referring to figs. 1 to the corresponding of Fig. 2, details are not described herein.
It is deposited thereon based on above-mentioned method as shown in Figure 1 to Figure 2 correspondingly, the present embodiment additionally provides a kind of storage medium Computer program is contained, which realizes the statistics side of above-mentioned balance data as shown in Figure 1 to Figure 2 when being executed by processor Method.
Based on this understanding, the technical solution of the application can be embodied in the form of software products, which produces Product can store in a non-volatile memory medium (can be CD-ROM, USB flash disk, mobile hard disk etc.), including some instructions With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution the application is each Method described in implement scene.
It is above-mentioned in order to realize based on above-mentioned method as shown in Figure 1 to Figure 2, Fig. 3, virtual bench embodiment shown in Fig. 4 Purpose, the present embodiment additionally provide a kind of computer equipment, which includes storage medium and processor;Storage is situated between Matter, for storing computer program;Processor realizes above-mentioned revenue and expenditure as shown in Figure 1 to Figure 2 for executing computer program The statistical method of data.
Optionally, which can also include user interface, network interface, camera, radio frequency (Radio Frequency, RF) circuit, sensor, voicefrequency circuit, WI-FI module etc..User interface may include display screen (Display), input unit such as keyboard (Keyboard) etc., optional user interface can also connect including USB interface, card reader Mouthful etc..Network interface optionally may include standard wireline interface and wireless interface (such as WI-FI interface).
It will be understood by those skilled in the art that a kind of computer equipment structure provided in this embodiment is not constituted to the meter The restriction for calculating machine equipment, may include more or fewer components, perhaps combine certain components or different component layouts.
It can also include operating system, network communication module in storage medium.Operating system is that the above-mentioned computer of management is set The program of standby hardware and software resource, supports the operation of message handling program and other softwares and/or program.Network communication mould Block for realizing the communication between each component in storage medium inside, and with other hardware and softwares in information processing entities equipment Between communicate.
By the description of embodiment of above, those skilled in the art can be understood that the application can be by Software adds the mode of necessary general hardware platform to realize, can also pass through hardware realization.Pass through the technology of application the application Scheme, compared with currently available technology, the mode of voice and picture input account book data is can be used in the application, can automatic identification account Voice data or image data in this input information, and correspondence can be found from the voice data or image data recognized Balance data, balance data is recorded according to account book record format, further, pre-display balance data exist When mistake, the modification of the true-to-shape of user can receive.It reduces and fills in difficulty, improve the input efficiency of information, to reach Good technical effect is arrived.And number can also be changed according to the corresponding history of two kinds of formats, determine preferential recommendation mode, increase The operating experience of strong user.
It will be appreciated by those skilled in the art that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, module in attached drawing or Process is not necessarily implemented necessary to the application.It will be appreciated by those skilled in the art that the mould in device in implement scene Block can according to implement scene describe be distributed in the device of implement scene, can also carry out corresponding change be located at be different from In one or more devices of this implement scene.The module of above-mentioned implement scene can be merged into a module, can also be into one Step splits into multiple submodule.
Above-mentioned the application serial number is for illustration only, does not represent the superiority and inferiority of implement scene.Disclosed above is only the application Several specific implementation scenes, still, the application is not limited to this, and the changes that any person skilled in the art can think of is all The protection scope of the application should be fallen into.

Claims (10)

1. a kind of statistical method of balance data characterized by comprising
The account book for obtaining target user inputs information;
Identify the corresponding Format Type of the account book input information, wherein the Format Type includes audio format or picture lattice Formula;
The balance data in the account book input information is determined using the corresponding default recognition rule of the Format Type;
The balance data is recorded according to account book record format.
2. the method according to claim 1, wherein if the Format Type is audio format, the utilization The corresponding default recognition rule of the Format Type determines the balance data in the account book input information, specifically includes:
It identifies the voice messaging that the account book input information includes, obtains speech text information;
The speech text information is matched with default sentence pattern, wherein the default sentence pattern is in advance according to the revenue and expenditure time Format, revenue and expenditure type keyword format, sorting item noun format, revenue and expenditure amount of money format create;
If the speech text information and the default sentence pattern successful match determine respectively from the speech text information With the revenue and expenditure type text of the matched revenue and expenditure time text of the revenue and expenditure time format and the revenue and expenditure type keyword format match The sorting item noun text of this and the sorting item noun format match, the revenue and expenditure amount of money with the revenue and expenditure amount of money format match Text, so as to by the obtained revenue and expenditure time text, the revenue and expenditure type text, the sorting item noun text, the receipts Branch amount of money text is determined as the balance data;
If the speech text information is with the default sentence pattern, it fails to match, obtains the revenue and expenditure time format, the revenue and expenditure Type keyword format, the attributive noun format, the item that it fails to match in the revenue and expenditure amount of money format this four, and export and mention Show shortage of data prompt information corresponding with the item that it fails to match.
3. the method according to claim 1, wherein if the Format Type is picture format, the utilization The corresponding default recognition rule of the Format Type determines the balance data in the account book input information, specifically includes:
Identify the title content that the account book inputs in the pictorial information that information includes;
The title content is subjected to text semantic parsing, obtains the corresponding picture data type of the pictorial information;
Obtain the default recognition template of bill corresponding with the picture data type, wherein include in the default recognition template The picture data type corresponds to the formwork style content of bill;
According to revenue and expenditure time record position in the formwork style content, the revenue and expenditure of corresponding position is read from the pictorial information Time text;And
According to revenue and expenditure class record position in the formwork style content, the revenue and expenditure of corresponding position is read from the pictorial information Type text;And
According to sorting item record position in the formwork style content, the sorting item of corresponding position is read from the pictorial information Noun text;And
According to revenue and expenditure amount record position in the formwork style content, the revenue and expenditure of corresponding position is read from the pictorial information Amount of money text;
By the revenue and expenditure time text read, the revenue and expenditure type text, the sorting item noun text, revenue and expenditure gold Volume text is determined as the balance data.
4. according to the method in claim 2 or 3, which is characterized in that it is described according to account book record format to the revenue and expenditure number According to being recorded, specifically include:
Extract revenue and expenditure time text, revenue and expenditure type text, sorting item noun text and the revenue and expenditure amount of money text in the balance data This;
The revenue and expenditure time text extracted is parsed, revenue and expenditure temporal information is obtained;And
Corresponding first keyword of the revenue and expenditure type text extracted is matched with default revenue and expenditure type keyword, is obtained To matched default revenue and expenditure type keyword, wherein matched default revenue and expenditure type keyword if it does not exist, then output with it is described The prompt information of the corresponding revenue and expenditure type identification confirmation of first keyword;And
Corresponding second keyword of the sorting item noun text extracted is matched with default sorting item each in account book respectively The default sorting item keyword set is matched, and obtains matched default sorting item keyword, wherein matched pre- if it does not exist If sorting item keyword, then the prompt information of sorting item recognition and verification corresponding with second keyword is exported;And
The revenue and expenditure amount of money text extracted is identified, revenue and expenditure amount information is obtained;
According to the account book record format, with the revenue and expenditure temporal information, the matched default revenue and expenditure type keyword, described It is corresponding to generate the balance data as record format parameter for matched default sorting item keyword, the revenue and expenditure amount information Book keeping operation text information, and by the book keeping operation text information filling with it is pre- corresponding to the matched default sorting item keyword If in sorting item.
5. according to the method described in claim 4, it is characterized in that, described that the sorting item noun text extracted is corresponding The second keyword matched respectively with the default sorting item keyword of default sorting item configuration each in account book, it is specific to wrap It includes:
Second keyword is similar to the default sorting item keyword progress of default sorting item configuration each in account book respectively Degree matching;
The default sorting item keyword that the similarity is greater than or equal to preset threshold is determined as described matched default Sorting item keyword.
6. according to the method described in claim 5, it is characterized in that, it is described according to account book record format to the balance data After being recorded, the method also includes:
Pre-display is carried out to the balance data of record;
If receiving registration confirmed instruction, structuring processing is carried out to the balance data for determining record, and by structuring Treated, and the balance data is synchronized to data platform;
If receiving record change directive, carried out more according to the balance data of the data change instruction to the record Change.
7. according to the method described in claim 6, it is characterized in that, being instructed according to the data change to the record described The balance data be modified after, the method also includes:
Count the history change number of the audio format or the corresponding account book input information of the picture format;
It determines that voice input account book is corresponding with typing account book of taking pictures according to history change number to be recommended to use preferentially Grade;
By the high account book typing mode preferential recommendation of priority that is recommended to use to other users.
8. a kind of statistic device of balance data characterized by comprising
Module is obtained, the account book for obtaining target user inputs information;
Identification module, the account book inputs the corresponding Format Type of information for identification, wherein the Format Type includes audio Format or picture format;
Determining module, for determining the receipts in the account book input information using the corresponding default recognition rule of the Format Type Branch data;
Logging modle, for being recorded according to account book record format to the balance data.
9. a kind of non-volatile readable storage medium, is stored thereon with computer program, which is characterized in that described program is processed Device realizes the statistical method of balance data described in any one of claims 1 to 7 when executing.
10. a kind of computer equipment, including non-volatile readable storage medium, processor and it is stored in non-volatile readable storage On medium and the computer program that can run on a processor, which is characterized in that the processor is realized when executing described program The statistical method of balance data described in any one of claims 1 to 7.
CN201910337205.1A 2019-04-25 2019-04-25 Statistical method, device and the computer equipment of balance data Pending CN110209667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910337205.1A CN110209667A (en) 2019-04-25 2019-04-25 Statistical method, device and the computer equipment of balance data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910337205.1A CN110209667A (en) 2019-04-25 2019-04-25 Statistical method, device and the computer equipment of balance data

Publications (1)

Publication Number Publication Date
CN110209667A true CN110209667A (en) 2019-09-06

Family

ID=67786358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910337205.1A Pending CN110209667A (en) 2019-04-25 2019-04-25 Statistical method, device and the computer equipment of balance data

Country Status (1)

Country Link
CN (1) CN110209667A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008329A (en) * 2019-11-22 2020-04-14 厦门美柚股份有限公司 Page content recommendation method and device based on content classification
CN111192584A (en) * 2019-12-11 2020-05-22 秒针信息技术有限公司 Document verification and cancellation method and system
CN111260456A (en) * 2020-01-17 2020-06-09 厦门快商通科技股份有限公司 Intelligent accounting management system
CN111382290A (en) * 2020-02-24 2020-07-07 泰康保险集团股份有限公司 Document picture processing method and device
CN111680150A (en) * 2020-06-05 2020-09-18 深圳市铭数信息有限公司 Information processing method, device, equipment and storage medium
CN111985230A (en) * 2020-06-28 2020-11-24 百度在线网络技术(北京)有限公司 Sound box based accounting method and device
CN112037028A (en) * 2020-09-01 2020-12-04 中国银行股份有限公司 Transaction detail recording method and device
CN112184265A (en) * 2020-10-10 2021-01-05 上海博泰悦臻网络技术服务有限公司 Realization method, device, terminal and vehicle for accounting and financing
CN112201244A (en) * 2020-09-30 2021-01-08 北京搜狗科技发展有限公司 Accounting method and device and earphone
CN114092209A (en) * 2021-11-23 2022-02-25 中国银行股份有限公司 Customer acceptance and payment data analysis method and device
CN115346513A (en) * 2021-04-27 2022-11-15 暗物智能科技(广州)有限公司 Voice synthesis method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880649A (en) * 2012-08-27 2013-01-16 北京搜狗信息服务有限公司 Individualized information processing method and system
CN109360571A (en) * 2018-10-31 2019-02-19 深圳壹账通智能科技有限公司 Processing method and processing device, storage medium, the computer equipment of credit information

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880649A (en) * 2012-08-27 2013-01-16 北京搜狗信息服务有限公司 Individualized information processing method and system
CN109360571A (en) * 2018-10-31 2019-02-19 深圳壹账通智能科技有限公司 Processing method and processing device, storage medium, the computer equipment of credit information

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111008329A (en) * 2019-11-22 2020-04-14 厦门美柚股份有限公司 Page content recommendation method and device based on content classification
CN111192584A (en) * 2019-12-11 2020-05-22 秒针信息技术有限公司 Document verification and cancellation method and system
CN111260456A (en) * 2020-01-17 2020-06-09 厦门快商通科技股份有限公司 Intelligent accounting management system
CN111382290A (en) * 2020-02-24 2020-07-07 泰康保险集团股份有限公司 Document picture processing method and device
CN111382290B (en) * 2020-02-24 2023-10-10 泰康保险集团股份有限公司 Document picture processing method and device
CN111680150A (en) * 2020-06-05 2020-09-18 深圳市铭数信息有限公司 Information processing method, device, equipment and storage medium
CN111985230A (en) * 2020-06-28 2020-11-24 百度在线网络技术(北京)有限公司 Sound box based accounting method and device
CN112037028A (en) * 2020-09-01 2020-12-04 中国银行股份有限公司 Transaction detail recording method and device
CN112201244A (en) * 2020-09-30 2021-01-08 北京搜狗科技发展有限公司 Accounting method and device and earphone
CN112184265A (en) * 2020-10-10 2021-01-05 上海博泰悦臻网络技术服务有限公司 Realization method, device, terminal and vehicle for accounting and financing
CN115346513A (en) * 2021-04-27 2022-11-15 暗物智能科技(广州)有限公司 Voice synthesis method and device, electronic equipment and storage medium
CN114092209A (en) * 2021-11-23 2022-02-25 中国银行股份有限公司 Customer acceptance and payment data analysis method and device

Similar Documents

Publication Publication Date Title
CN110209667A (en) Statistical method, device and the computer equipment of balance data
CN109360571A (en) Processing method and processing device, storage medium, the computer equipment of credit information
CN109409220A (en) Business bootstrap technique, device and storage medium based on recognition of face
WO2017032084A1 (en) Information output method and apparatus
CN108305050A (en) Information of reporting a case to the security authorities and the extracting method of service requirement information, device, equipment and medium
CN107707745A (en) Method and apparatus for extracting information
JP2017010511A (en) Voiceprint authentication method and device
TW201234213A (en) Multimedia input method
CN109254669A (en) A kind of expression picture input method, device, electronic equipment and system
CN112434501B (en) Method, device, electronic equipment and medium for intelligent generation of worksheet
CN108280166A (en) Production method, device, terminal and the computer readable storage medium of expression
CN109285548A (en) Information processing method, system, electronic equipment and computer storage medium
US11373057B2 (en) Artificial intelligence driven image retrieval
CN112672188A (en) Anchor recommendation method, device and storage medium
CN111142834B (en) Service processing method and system
CN108319591A (en) Realize the method, apparatus and speech translation apparatus of voiced translation
CN106782567A (en) Method and device for establishing voiceprint model
CN109359298A (en) Emoticon recommended method, system and electronic equipment
CN113297520A (en) Page design auxiliary processing method and device and electronic equipment
CN116467033A (en) Information display method and device, storage medium and computer equipment
CN106873798A (en) For the method and apparatus of output information
KR20230073152A (en) Method of creating video making platform for users
CN115860829A (en) Intelligent advertisement image generation method and device
WO2019184539A1 (en) Image processing
CN114528851B (en) Reply sentence determination method, reply sentence determination device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination