CN101807273A - Method and system for performing financial management by extracting consumption information in credit card short message - Google Patents

Method and system for performing financial management by extracting consumption information in credit card short message Download PDF

Info

Publication number
CN101807273A
CN101807273A CN 201010132847 CN201010132847A CN101807273A CN 101807273 A CN101807273 A CN 101807273A CN 201010132847 CN201010132847 CN 201010132847 CN 201010132847 A CN201010132847 A CN 201010132847A CN 101807273 A CN101807273 A CN 101807273A
Authority
CN
China
Prior art keywords
note
consumption
mobile banking
credit card
bank
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
CN 201010132847
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.)
Shanghai Hehe Information Technology Development Co Ltd
Original Assignee
Shanghai Hehe Information Technology Development 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 Shanghai Hehe Information Technology Development Co Ltd filed Critical Shanghai Hehe Information Technology Development Co Ltd
Priority to CN 201010132847 priority Critical patent/CN101807273A/en
Publication of CN101807273A publication Critical patent/CN101807273A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a method and a system for performing financial management by extracting consumption information in a credit card short message. After a user receives a mobile banking message, the method and the system for the performing financial management automatically judge consumption types of the short message contents, extract and sort the consumption contents and amount, and store the consumption contents and amount into financial management software. Due to the invention, when the user uses the financial management software, credit card consumption records are not needed to be input manually, and more rapid and accurate use experience is achieved. The functions of the credit card consumption and financial management are extended, and the user can conveniently record the credit card consumption records per se by combining the credit card consumption with the financial management. Due to a great number of users and use frequency of the credit card, the method and the system have excellent practical value and popularization value.

Description

Extract the method and system that the consumption information in the credit card short message is carried out financial management
Technical field
The invention belongs to the mobile phone application software technical field, relate to a kind of data processing method, relate in particular to the method that a kind of consumption information of extracting in the credit card short message is carried out financial management; Simultaneously, the invention still further relates to the system that a kind of consumption information of extracting in the credit card short message is carried out financial management.
Background technology
In recent years, the use of credit card and mobile phone is constantly popularized.And credit card business generally all comprises Mobile banking's function, and after the user uses credit card purchase success, bank will send to user mobile phone by the note bill of will concluding the business.Credit card with bank of Shenzhen Ping'an is an example, and the user has selected telephone banking when handling bank card.When certain day, he consumed 500 yuan of purchase dress in the market, use the POS checkout.Transaction finishes the back in a few minutes, and he will receive consumption SMS confirmation a: from:95511: the safety credit of your tail number 1234 is stuck in 22:13 consumption on Dec 31 RMB500.00.[safety bank].
Simultaneously, in modern society, rhythm of life is accelerated, and people's funds transaction is more and more frequent, and in order to follow the tracks of the cash flow of oneself, so that individual's property is effectively managed, increasing people uses the financing management software.At present, these softwares all be the user will consume by hand bill be input to the inside.Mobile phone book keeping operation software such as the hot topic on the iPhone mobile phone Chinese market just has quick book keeping operation, consumption management (iXpenselt), family's book keeping operation or the like.The multiple Payment Methods of quick book keeping operation record support.When the user writes down consumption information at every turn, select consumption type (such as credit card purchase) and then manual typing consumption bill earlier.Consumption management (iXpenselt) also supports image to show financial report and more powerful financial query function.
Summary of the invention
Technical matters to be solved by this invention is: the method that provides a kind of consumption information of extracting in the credit card short message to carry out financial management, can differentiate the consumption type of short message content automatically, and, sort out processing with after content of consumption and the number extraction, store in the financing management software.
In addition, the present invention also provides the system that a kind of consumption information of extracting in the credit card short message is carried out financial management.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
The method that a kind of consumption information of extracting in the credit card short message is carried out financial management, described method comprises the steps:
Step 110 is according to setting the content that rule reads certain bar note in the mobile phone;
Step 120 judges whether this note is the note that Mobile banking sends; If forward step 130 to, otherwise forward step 150 to;
Step 130 judges whether this note is the consumption confirmation note of Mobile banking; If forward step 140 to, otherwise forward step 150 to;
Step 140 is extracted consumption data, stores in the database of financial software;
Step 150 judges whether note travels through end; If answer forwards 110 to for not, if answer is for being to forward step 160 to;
Step 160 finishes.
As a preferred embodiment of the present invention, also comprise between described step 150 and the step 160 step 160 ': after all notes traversal finishes, write down the time that this checks note, reference when checking note in order to next time; Correspondingly, in the described step 110, before reading certain note, check that earlier the time of receiving this note is last time whether before checking the time of note, if receive the time of this note is before checking the time of note last time, represent that this note checked, jump to next bar, otherwise read this note.
As a preferred embodiment of the present invention, in the described step 110, the interface of the visit note of calling mobile phone operating system, short message reading content one by one.
As a preferred embodiment of the present invention, in the described step 120, the determination methods of determining step is:
Search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking; If find, judge that then this note is the note that bank sends, and note the title of corresponding bank; If can't find, judge that then this note is not the note that bank sends; The phone number of bank is well-determined character string, and the method for search is: the phone number of this note and the number in the described template database are compared one by one, if two character strings that are compared are equal, then search for successfully and termination; If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends.
As a preferred embodiment of the present invention, in the described step 130, according to the bank that step 120 is confirmed, from database, obtain the consumption information messaging format of this bank, and mate with regular expression with the current phone note; If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking.
As a preferred embodiment of the present invention, in the described step 140, use the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposit in the database of financial software.
As a preferred embodiment of the present invention, described method also comprised the data acquisition in early stage before step 110 and sorts out step: the short message content that obtains all credit-card call banks, extract Mobile banking's number, the messaging format of credit card purchase note and keyword are stored in the template database as template data.
The system that a kind of consumption information of extracting in the credit card short message is carried out financial management, described system comprises:
The note reading unit is in order to read the content of certain bar note in the mobile phone according to the setting rule;
First judging unit is connected with described note reading unit, in order to judge whether the note that described note reading unit reads is the note that Mobile banking sends;
Whether second judging unit is connected with described first judging unit, be the consumption confirmation note of Mobile banking in order to judge corresponding note;
Information extraction unit is connected with described second judging unit, after the corresponding note of described second judgment unit judges is the consumption confirmation note of Mobile banking, extracts consumption data, stores in the database of financial software.
As a preferred embodiment of the present invention, described information extraction unit writes down the time that this checks note, reference when checking note in order to next time after all note traversals finish; Correspondingly, described note reading unit is before reading certain note, check that earlier the time of receiving this note is last time whether before checking the time of note, if receive the time of this note is before checking the time of note last time, represent that this note checked, jump to next bar, otherwise read this note.
As a preferred embodiment of the present invention, the determination methods of described first judging unit is:
Search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking; If find, judge that then this note is the note that bank sends, and note the title of corresponding bank; If can't find, judge that then this note is not the note that bank sends; The phone number of bank is well-determined character string, and the method for search is: the phone number of this note and the number in the described template database are compared one by one, if two character strings that are compared are equal, then search for successfully and termination; If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends.
As a preferred embodiment of the present invention, described second judging unit obtains the consumption information messaging format of this bank according to the bank of step 120 affirmation from database, and mates with regular expression with the current phone note; If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking; Described information extraction unit is used the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposits in the database of financial software.
As a preferred embodiment of the present invention, described system further comprises the template database generation unit, in order to data acquisition and the classification to early stage; Obtain the short message content of all credit-card call banks, extract the messaging format and the keyword of Mobile banking's number, credit card purchase note, be stored in the template database as template data.
Beneficial effect of the present invention is: the method and system that the consumption information in the extraction credit card short message that the present invention proposes is carried out financial management, the user receives after Mobile banking's note, use the present invention, automatically differentiate the consumption type of short message content, and with after content of consumption and the number extraction, sort out processing, store in the financing management software.By this invention, when the user uses financial management software, the credit card purchase of record credit card need not manually be imported, and obtain faster experience accurately.The present invention has extended the function of credit card purchase and financial management, and with both combinations, makes the user note the credit card purchase record of oneself easily.Because the number of users and the number of times quantity of credit card are big, this invention has good practical and popularizing value.
Description of drawings
Fig. 1 is the process flow diagram of the inventive method.
Fig. 2 is the composition synoptic diagram of system of the present invention.
Fig. 3 is the process flow diagram of the inventive method among the embodiment two.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
The information that the present invention discloses credit card purchase in a kind of direct extraction note is kept at the method for financial management software.The user receives after Mobile banking's note, uses the present invention, differentiates the consumption type of short message content automatically, and with after content of consumption and the number extraction, sorts out processing, stores in the financing management software.By this invention, when the user uses financial management software, the credit card purchase of record credit card need not manually be imported, and obtain faster experience accurately.
See also Fig. 1, the present invention discloses the method that a kind of consumption information of extracting in the credit card short message is carried out financial management, and described method comprises the steps:
The data acquisition and the classification in [step 100] early stage.
Obtain the short message content of all credit-card call banks, extract Mobile banking's number, the messaging format of credit card purchase note and keyword are stored in the template database as template data; And form the regular expression of each credit-card call bank consumption information note.
[step 110] reads the note in the user mobile phone.
The interface of the visit note of calling mobile phone respective operations system reads the content of certain bar note in the mobile phone in proper order according to setting.Different cell phone platforms, the routine interface of short message reading can be different.
[step 120] judges whether this note is the note that Mobile banking sends; If answer forwards step 130 to for being, if answer forwards step 150 to for not.
The determination methods of above-mentioned determining step is: search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking; If find, judge that then this note is the note that bank sends, and note the title of corresponding bank; If can't find, judge that then this note is not the note that bank sends; The phone number of bank is well-determined character string, and the method for search is for to compare the phone number of this note and the number in the described template database one by one, if two character strings that are compared are equal, then searches for successfully and termination; If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends.
[step 130] judges whether this note is the consumption confirmation note of Mobile banking; If forward step 140 to, otherwise forward step 150 to.
According to the bank that step 120 is confirmed, from database, obtain the consumption information messaging format (regular expression) of this bank, and mate with regular expression with the current phone note; Matching process is: the character information of the regular expression of consumption information note and the information of current phone note are mated one by one, if both occur in the process of coupling any difference is arranged, think that then it fails to match, otherwise think that the match is successful.If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking.
The note of credit card has certain pattern, but but owing to different banks, short message content can be different with consuming the amount of money for different consumption times.In computer science, regular expression is exactly a formula that goes to mate a class character string with certain pattern.It act as: whether (1) checking character string meets specific characteristic.Whether such as checking is whether legal addresses of items of mail and the note among the present invention is Mobile banking's credit card purchase note.(2) search the character string that meets specific characteristic from a long text, the fixed character string is more flexible than searching.Such as expression formula " ab+ " and description be one ' a ' and arbitrarily ' b ', ' ab ' so, ' abbbbb ' all meets this feature.Credit card short message with the safety credit card is an example:
1. credit card purchase note: the safety credit of your tail number 1234 is stuck in 18:33 consumption on Dec 09 RMB66[safety bank].
2. credit card refund reminding short message:
Safety credit card bill in Dec is reminded: your the current period bill amount of money is RMB864 unit, and the repayment date that expires is 01 year 07 day.[safety bank]
Regular expression " ^ you tail number [0-9] { 4} " can the matching sms beginning be " your tail number " character string that adds four numerals again.Be that it finds matched character string " your tail number 1234 " in above-mentioned article one note beginning, and can't in the second note, find.Thereby can judge the second note is not that note is confirmed in consumption.If this bank also has the extended formatting note, and this regular expression can match " your tail number 1234 " too, then pass through the relatively note and the difference of consuming note of this form, and new differentiation pattern is added regular expression.The messaging format of each bank is limited, so the regular expression of limited pattern can distinguish credit card purchase note and other note in theory.
[step 140] extracts the content of consumption and the consumption amount of money, stores in the database of financial software.
Use the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposit in the database of financial software.
Such as, the regular expression of coupling consumption character string: " consumption RMB[0-9]+[.] [0-9] 2} ", represent that this mode of string is that " " heel any number word adds a radix point to consumption RMB again, adds two numerals again." consumption RMB888.00 ", " consumption RMB 500.23 " can find with this expression formula.And " depositing RMB777.77 in " then can't match.Concrete expression formula form will obtain according to the data pre-service in early stage.Guarantee that this expression formula is unique corresponding relation with the pattern that will find in all credit card short message scopes.After obtaining corresponding consumption information, deposit in the data of financial software.
[step 150] judges whether note travels through end; If answer forwards 110 to for not, if answer is for being to forward step 160 to.
[step 160] finishes.
In order to carry out the present invention, need possess following hardware condition: need in this equipment and can receive note, can move the smart mobile phone of regular software.This operation system of smart phone also must provide the interface of routine access short message content.
With blackberry, blueberry (BlackBerry) mobile phone is example, and the code of the traversal SMS of use JAVA language is as follows:
DatagramConnection_dc=
(DatagramConnection)Connector.open(″sms://″);
for(;;)
{
Datagram?d=_dc.newDatagram(_dc.getMaximumLength());
_dc.receive(d);
byte[]bytes=d.getData();
String?address=d.getAddress();
String?msg=new?String(bytes);
}
Wherein, what character string address stored is the transmission cell-phone number of note, and what character string msg stored is the character string of note.
More than introduced the present invention and extracted the idiographic flow that consumption information in the credit card short message is carried out the method for financial management, the present invention has also disclosed the management system of said method correspondence when disclosing said method.
See also Fig. 2, the present invention extracts consumption information in the credit card short message and carries out financial management system and comprise template database generation unit 11, note reading unit 12, first judging unit 13, second judging unit 14, information extraction unit 15.
Template database generation unit 11 is in order to data acquisition and classification to early stage.Obtain the short message content of all credit-card call banks, extract the messaging format and the keyword of Mobile banking's number, credit card purchase note, be stored in the template database as template data.
Note reading unit 12 is in order to the interface of the visit note of calling mobile phone respective operations system, according to setting the content that rule reads certain bar note in the mobile phone.
First judging unit 13 is connected with described note reading unit, in order to judge whether the note that described note reading unit reads is the note that Mobile banking sends; The determination methods of described first judging unit is: search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking; If find, judge that then this note is the note that bank sends, and note the title of corresponding bank; If can't find, judge that then this note is not the note that bank sends; The phone number of bank is well-determined character string, and the method for search is for to compare the phone number of this note and the number in the described template database one by one, if two character strings that are compared are equal, then searches for successfully and termination; If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends.
Whether second judging unit 14 is connected with described first judging unit, be the consumption confirmation note of Mobile banking in order to judge corresponding note; According to the bank that step 120 is confirmed, from database, obtain the consumption information messaging format of this bank, and mate with regular expression with the current phone note; If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking.
Information extraction unit 15 is connected with described second judging unit, after the corresponding note of described second judgment unit judges is the consumption confirmation note of Mobile banking, extracts the content of consumption and the consumption amount of money, stores in the database of financial software; Use the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposit in the database of financial software.
In sum, the method and system that consumption information in the extraction credit card short message that the present invention proposes is carried out financial management, the user receives after Mobile banking's note, use the present invention, automatically differentiate the consumption type of short message content, and, sort out processing with after content of consumption and the number extraction, store in the financing management software.By this invention, when the user uses financial management software, the credit card purchase of record credit card need not manually be imported, and obtain faster experience accurately.The present invention has extended the function of credit card purchase and financial management, and with both combinations, makes the user note the credit card purchase record of oneself easily.Because the number of users and the number of times quantity of credit card are big, this invention has good practical and popularizing value.
Embodiment two
Compare with embodiment one, in the present embodiment, the consumption information of extracting in the credit card short message is carried out in the method for financial management, can also comprise between step 150 and the step 160 step 160 ': after all notes traversal finishes, write down the time that this checks note, reference when checking note in order to next time.Correspondingly, in the described step 110 (the then corresponding note reading unit 12 of management system), before reading certain note, check that earlier the time of receiving this note is last time whether before checking the time of note, if receive the time of this note is before checking the time of note last time, represent that this note checked, jump to next bar, otherwise read this note.
See also Fig. 3, in the present embodiment, the method that the consumption information in the extraction credit card short message is carried out financial management comprises the steps:
The data acquisition and the classification in [step 100] early stage.
Obtain the short message content of all credit-card call banks, extract Mobile banking's number, the messaging format of credit card purchase note and keyword are stored in the template database as template data.
[step 110] reads the note in the user mobile phone.
The interface of the visit note of calling mobile phone respective operations system reads the content of certain bar note in the mobile phone in proper order according to setting.Different cell phone platforms, the routine interface of short message reading can be different.
Before reading certain note, can check earlier that the time of receiving this note whether before checking the time of note, is before checking the time of note if receive the time of this note last time last time, represent that this note checked, jump to next bar, otherwise read this note.
[step 120] judges whether this note is the note that Mobile banking sends; If answer forwards step 130 to for being, if answer forwards step 150 to for not.
The determination methods of above-mentioned determining step is: search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking; If find, judge that then this note is the note that bank sends, and note the title of corresponding bank; If can't find, judge that then this note is not the note that bank sends; The phone number of bank is well-determined character string, and the method for search is for to compare the phone number of this note and the number in the described template database one by one, if two character strings that are compared are equal, then searches for successfully and termination; If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends.
[step 130] judges whether this note is the consumption confirmation note of Mobile banking; If forward step 140 to, otherwise forward step 150 to.
According to the bank that step 120 is confirmed, from database, obtain the consumption information messaging format of this bank, and mate with regular expression with the current phone note; If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking.
The note of credit card has certain pattern, but but owing to different banks, short message content can be different with consuming the amount of money for different consumption times.In computer science, regular expression is exactly a formula that goes to mate a class character string with certain pattern.It act as: whether (1) checking character string meets specific characteristic.Whether such as checking is whether legal addresses of items of mail and the note among the present invention is Mobile banking's credit card purchase note.(2) search the character string that meets specific characteristic from a long text, the fixed character string is more flexible than searching.Such as expression formula " ab+ " and description be one ' a ' and arbitrarily ' b ', ' ab ' so, ' abbbbb ' all meets this feature.
Credit card short message with the safety credit card is an example:
1, credit card purchase note: the safety credit of your tail number 1234 is stuck in 18:33 consumption on Dec 09 RMB66[safety bank].
2, credit card refund reminding short message: safety credit card bill in Dec is reminded: your the current period bill amount of money is RMB864 unit, and the repayment date that expires is 01 year 07 day.[safety bank]
Regular expression " ^ you tail number [0-9] { 4} " can the matching sms beginning adds the character string of four numerals again for your tail number.Be that it finds matched character string " your tail number 1234 " in the beginning of article one note, and can't in the second note, find.Thereby can judge the second note is not that note is confirmed in consumption.If this bank also has the extended formatting note, and this regular expression can match " your tail number 1234 " too, then pass through the relatively note and the difference of consuming note of this form, and new differentiation pattern is added regular expression.The messaging format of each bank is limited, so the regular expression of limited pattern can distinguish credit card purchase note and other note in theory.
[step 140] extracts the content of consumption and the consumption amount of money, stores in the database of financial software.
Use the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposit in the database of financial software.
Such as, the regular expression of coupling consumption character string: " consumption [0-9]+[.] [0-9] 2} ", represent that this mode of string is that " " heel any number word adds a radix point to consumption RMB again, adds two numerals again." consumption RMB888.00 ", " consumption RMB 500.23 " can find with this expression formula.And " depositing RMB777.77 in " then can't match.Concrete expression formula form will obtain according to the data pre-service in early stage.Guarantee that this expression formula is unique corresponding relation with the pattern that will find in all credit card short message scopes.After obtaining corresponding consumption information, deposit in the data of financial software.
[step 150] judges whether note travels through end; If answer forwards 110 to for not, if answer for being, forward to step 160 '.
[step 160 '] writes down the time that this checks note, reference when checking note in order to next time after all note traversals finish; Change step 170.
[step 170] finishes.
Embodiment three
On the blackberry mobile phone, the user has received the consumption of bank of Shenzhen Ping'an and confirmed note: from (95511): the safety credit of your tail number 7136 is stuck in 18:33 consumption on Dec 9 RMB66.30, participates in high ii-week week 37 grades of good gifts in red-letter day soon.[safety bank] uses method of the present invention, and program will be judged this note automatically according to cell-phone number 95511 and send for credit card bank.And by the credit card number 7136 of foregoing method with consumption, consumption time 18:33 on Dec 9 and consumption information RMB 66.30 extract in the data that are stored in financial software.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.

Claims (14)

1. the method that the consumption information of extracting in the credit card short message is carried out financial management is characterized in that described method comprises the steps:
Step 100 obtains the short message content of all credit-card call banks, extracts Mobile banking's number, and the messaging format of credit card purchase note and keyword are stored in the template database as template data;
Step 110, the interface of the visit note of calling mobile phone respective operations system reads the content of certain bar note in the mobile phone in proper order according to setting; Before reading certain note, check that earlier the time of receiving this note whether before checking the time of note, is before checking the time of note if receive the time of this note last time last time, represent that this note checked, jump to next bar, otherwise read this note;
Step 120 judges whether this note is the note that Mobile banking sends; If answer forwards step 130 to for being, if answer forwards step 150 to for not; The determination methods of above-mentioned determining step is: search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking; If find, judge that then this note is the note that bank sends, and note the title of corresponding bank; If can't find, judge that then this note is not the note that bank sends; The phone number of bank is well-determined character string, and the method for search is for to compare the phone number of this note and the number in the described template database one by one, if two character strings that are compared are equal, then searches for successfully and termination; If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends;
Step 130 judges whether this note is the consumption confirmation note of Mobile banking; If forward step 140 to, otherwise forward step 150 to; According to the bank that step 120 is confirmed, from database, obtain the consumption information messaging format of this bank, and mate with regular expression with the current phone note; Matching process is: the character information of the regular expression of consumption information note and the character information of current phone note are mated one by one; If in the process of coupling, both occur any difference is arranged, think that then it fails to match, otherwise think that the match is successful; If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking;
Step 140 is extracted the content of consumption and the consumption amount of money, stores in the database of financial software; Use the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposit in the database of financial software;
Step 150 judges whether note travels through end; If answer forwards 110 to for not, if answer for being, forward to step 160 ';
Step 160 ', after all note traversals finish, write down the time that this checks note, reference when checking note in order to next time; Change step 170;
Step 170 finishes.
2. the method that the consumption information of extracting in the credit card short message is carried out financial management is characterized in that described method comprises the steps:
Step 110 is according to setting the content that rule reads certain bar note in the mobile phone;
Step 120 judges whether this note is the note that Mobile banking sends; If forward step 130 to, otherwise forward step 150 to;
Step 130 judges whether this note is the consumption confirmation note of Mobile banking; If forward step 140 to, otherwise forward step 150 to;
Step 140 is extracted consumption data, stores in the database of financial software;
Step 150 judges whether note travels through end; If answer forwards 110 to for not, if answer is for being to forward step 160 to;
Step 160 finishes.
3. the method that the consumption information in the extraction credit card short message according to claim 2 is carried out financial management is characterized in that:
Also comprise between described step 150 and the step 160 step 160 ': after all notes traversal finishes, write down the time that this checks note, reference when checking note in order to next time;
Correspondingly, in the described step 110, before reading certain note, check that earlier the time of receiving this note is last time whether before checking the time of note, if receive the time of this note is before checking the time of note last time, represent that this note checked, jump to next bar, otherwise read this note.
4. the method that the consumption information in the extraction credit card short message according to claim 2 is carried out financial management is characterized in that:
In the described step 110, the interface of the visit note of calling mobile phone operating system, short message reading content one by one.
5. the method that the consumption information in the extraction credit card short message according to claim 2 is carried out financial management is characterized in that:
In the described step 120, the determination methods of determining step is:
Search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking;
If find, judge that then this note is the note that bank sends, and note the title of corresponding bank;
If can't find, judge that then this note is not the note that bank sends;
The phone number of bank is well-determined character string, and the method for search is: the phone number of this note and the number in the described template database are compared one by one, if two character strings that are compared are equal, then search for successfully and termination;
If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends.
6. the method that the consumption information in the extraction credit card short message according to claim 2 is carried out financial management is characterized in that:
In the described step 130, according to the bank that step 120 is confirmed, from database, obtain the consumption information messaging format of this bank, and mate with regular expression with the current phone note;
If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking.
7. the method that the consumption information in the extraction credit card short message according to claim 2 is carried out financial management is characterized in that:
In the described step 140, use the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposit in the database of financial software.
8. the method for carrying out financial management according to the consumption information in the described extraction credit card short message of one of claim 2 to 7 is characterized in that:
Described method also comprised the data acquisition in early stage before step 110 and sorts out step:
Obtain the short message content of all credit-card call banks, extract Mobile banking's number, the messaging format of credit card purchase note and keyword are stored in the template database as template data.
9. system that the consumption information of extracting in the credit card short message is carried out financial management is characterized in that described system comprises:
The template database generation unit is in order to data acquisition and the classification to early stage; Obtain the short message content of all credit-card call banks, extract the messaging format and the keyword of Mobile banking's number, credit card purchase note, be stored in the template database as template data;
The note reading unit is in order to the interface of the visit note of calling mobile phone respective operations system, according to setting the content that rule reads certain bar note in the mobile phone; Described note reading unit is before reading certain note, check that earlier the time of receiving this note whether before checking the time of note, is before checking the time of note if receive the time of this note last time last time, represent that this note checked, jump to next bar, otherwise read this note;
First judging unit is connected with described note reading unit, in order to judge whether the note that described note reading unit reads is the note that Mobile banking sends; The determination methods of described first judging unit is: search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking; If find, judge that then this note is the note that bank sends, and note the title of corresponding bank; If can't find, judge that then this note is not the note that bank sends; The phone number of bank is well-determined character string, and the method for search is for to compare the phone number of this note and the number in the described template database one by one, if two character strings that are compared are equal, then searches for successfully and termination; If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends;
Whether second judging unit is connected with described first judging unit, be the consumption confirmation note of Mobile banking in order to judge corresponding note; According to the bank that step 120 is confirmed, from database, obtain the consumption information messaging format of this bank, and mate with regular expression with the current phone note; If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking;
Information extraction unit is connected with described second judging unit, after the corresponding note of described second judgment unit judges is the consumption confirmation note of Mobile banking, extracts the content of consumption and the consumption amount of money, stores in the database of financial software; Use the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposit in the database of financial software; Described information extraction unit writes down the time that this checks note, reference when checking note in order to next time after all note traversals finish.
10. system that the consumption information of extracting in the credit card short message is carried out financial management is characterized in that described system comprises:
The note reading unit is in order to read the content of certain bar note in the mobile phone according to the setting rule;
First judging unit is connected with described note reading unit, in order to judge whether the note that described note reading unit reads is the note that Mobile banking sends;
Whether second judging unit is connected with described first judging unit, be the consumption confirmation note of Mobile banking in order to judge corresponding note;
Information extraction unit is connected with described second judging unit, after the corresponding note of described second judgment unit judges is the consumption confirmation note of Mobile banking, extracts consumption data, stores in the database of financial software.
11. the system that the consumption information in the extraction credit card short message according to claim 10 is carried out financial management is characterized in that:
Described information extraction unit writes down the time that this checks note, reference when checking note in order to next time after all note traversals finish;
Correspondingly, described note reading unit is before reading certain note, check that earlier the time of receiving this note is last time whether before checking the time of note, if receive the time of this note is before checking the time of note last time, represent that this note checked, jump to next bar, otherwise read this note.
12. the system that the consumption information in the extraction credit card short message according to claim 10 is carried out financial management is characterized in that:
The determination methods of described first judging unit is:
Search sends the cell-phone number of note in the template database of early-stage preparations, and the template database of described early-stage preparations has the number of Mobile banking;
If find, judge that then this note is the note that bank sends, and note the title of corresponding bank;
If can't find, judge that then this note is not the note that bank sends;
The phone number of bank is well-determined character string, and the method for search is: the phone number of this note and the number in the described template database are compared one by one, if two character strings that are compared are equal, then search for successfully and termination;
If all character strings are all unequal, then search failure judges that this note is not the note that Mobile banking sends.
13. the system that the consumption information in the extraction credit card short message according to claim 10 is carried out financial management is characterized in that:
Described second judging unit obtains the consumption information messaging format of this bank according to the bank of step 120 affirmation from database, and mates with regular expression with the current phone note; If the match is successful, think that then this note is the consumption confirmation note of Mobile banking, otherwise do not think that this note is the consumption confirmation note of Mobile banking;
Described information extraction unit is used the consumption information of the regular expression removal search correspondence of credit number, date, consumption respectively, after the consumption information of acquisition correspondence, deposits in the database of financial software.
14. the system according to the consumption information in the described extraction credit card short message of one of claim 10 to 13 is carried out financial management is characterized in that:
Described system further comprises the template database generation unit, in order to data acquisition and the classification to early stage; Obtain the short message content of all credit-card call banks, extract the messaging format and the keyword of Mobile banking's number, credit card purchase note, be stored in the template database as template data.
CN 201010132847 2010-03-25 2010-03-25 Method and system for performing financial management by extracting consumption information in credit card short message Pending CN101807273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010132847 CN101807273A (en) 2010-03-25 2010-03-25 Method and system for performing financial management by extracting consumption information in credit card short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010132847 CN101807273A (en) 2010-03-25 2010-03-25 Method and system for performing financial management by extracting consumption information in credit card short message

Publications (1)

Publication Number Publication Date
CN101807273A true CN101807273A (en) 2010-08-18

Family

ID=42609056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010132847 Pending CN101807273A (en) 2010-03-25 2010-03-25 Method and system for performing financial management by extracting consumption information in credit card short message

Country Status (1)

Country Link
CN (1) CN101807273A (en)

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012013059A1 (en) * 2010-07-30 2012-02-02 华为技术有限公司 Method and apparatus for managing user consumption particulars
WO2012079387A1 (en) * 2010-12-16 2012-06-21 中兴通讯股份有限公司 Method for using short messages and apparatus
CN102546931A (en) * 2011-12-07 2012-07-04 北京风灵创景科技有限公司 Method and equipment for generating merchant list on mobile terminal
CN102594995A (en) * 2012-01-13 2012-07-18 上海华勤通讯技术有限公司 Mobile phone having account reminding function and method for implementing account reminding function
CN102752398A (en) * 2012-07-18 2012-10-24 腾讯科技(深圳)有限公司 Method and system for resolving flow value, terminal and server
CN103078892A (en) * 2012-05-09 2013-05-01 腾讯科技(深圳)有限公司 Method, client side, server and system for intelligently identifying contents of short message
WO2014000257A1 (en) * 2012-06-29 2014-01-03 France Telecom Mobile payment method and system for scheduled payments
CN103810595A (en) * 2014-01-26 2014-05-21 小米科技有限责任公司 Information verification method and device
CN104103008A (en) * 2013-04-01 2014-10-15 百度在线网络技术(北京)有限公司 Accounting method and system based on short message
CN104955005A (en) * 2014-03-26 2015-09-30 阿里巴巴集团控股有限公司 Method and device for depositing for communication terminal
CN105354284A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Template processing method and apparatus and short message identification method and apparatus
CN106096046A (en) * 2016-06-29 2016-11-09 惠州Tcl移动通信有限公司 The information intelligent display packing of a kind of mobile terminal and system
WO2016201600A1 (en) * 2015-06-15 2016-12-22 华为技术有限公司 Information sending method and apparatus, terminal device, and system
CN106331354A (en) * 2016-08-26 2017-01-11 商客通尚景科技(上海)股份有限公司 Short message information extracting and analyzing method
CN107038185A (en) * 2016-10-17 2017-08-11 联动优势科技有限公司 A kind of method and device of Transaction Information processing
CN107292637A (en) * 2016-03-30 2017-10-24 中国电信股份有限公司 The method and system of consumption on network information is obtained based on notifying messages
CN107451912A (en) * 2016-05-31 2017-12-08 百度在线网络技术(北京)有限公司 The processing method and processing device of credit information
CN108984500A (en) * 2018-06-19 2018-12-11 平安科技(深圳)有限公司 Extracting method, terminal device and the medium of amount information
CN109064161A (en) * 2018-07-20 2018-12-21 诚泰信息科技(天津)有限公司 A kind of bank account transaction journal intelligent management and device based on short message
CN109325837A (en) * 2018-08-03 2019-02-12 挖财网络技术有限公司 The method and device kept accounts automatically is realized based on the received message of mobile terminal

Cited By (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012013059A1 (en) * 2010-07-30 2012-02-02 华为技术有限公司 Method and apparatus for managing user consumption particulars
WO2012079387A1 (en) * 2010-12-16 2012-06-21 中兴通讯股份有限公司 Method for using short messages and apparatus
CN102572064A (en) * 2010-12-16 2012-07-11 中兴通讯股份有限公司 Method and device for using short messages
CN102546931A (en) * 2011-12-07 2012-07-04 北京风灵创景科技有限公司 Method and equipment for generating merchant list on mobile terminal
CN102594995A (en) * 2012-01-13 2012-07-18 上海华勤通讯技术有限公司 Mobile phone having account reminding function and method for implementing account reminding function
CN103078892B (en) * 2012-05-09 2015-07-29 腾讯科技(深圳)有限公司 The method of content of short message Intelligent Recognition, client, server and system
US9843908B2 (en) 2012-05-09 2017-12-12 Tencent Technology (Shenzhen) Company Limited Method, client, server and system for intelligent recognizing contents of short message
CN103078892A (en) * 2012-05-09 2013-05-01 腾讯科技(深圳)有限公司 Method, client side, server and system for intelligently identifying contents of short message
WO2014000257A1 (en) * 2012-06-29 2014-01-03 France Telecom Mobile payment method and system for scheduled payments
WO2014012489A1 (en) * 2012-07-18 2014-01-23 Tencent Technology (Shenzhen) Company Limited Method, client device, server system for parsing a data usage value
CN102752398B (en) * 2012-07-18 2015-09-09 腾讯科技(深圳)有限公司 The method of resolution flow value, terminal, server and system
US9178845B2 (en) 2012-07-18 2015-11-03 Tencent Technology (Shenzhen) Company Limited Method, client device, server system for parsing a data usage value
CN102752398A (en) * 2012-07-18 2012-10-24 腾讯科技(深圳)有限公司 Method and system for resolving flow value, terminal and server
CN104103008A (en) * 2013-04-01 2014-10-15 百度在线网络技术(北京)有限公司 Accounting method and system based on short message
CN103810595B (en) * 2014-01-26 2017-02-15 小米科技有限责任公司 Information verification method and device
CN103810595A (en) * 2014-01-26 2014-05-21 小米科技有限责任公司 Information verification method and device
CN104955005A (en) * 2014-03-26 2015-09-30 阿里巴巴集团控股有限公司 Method and device for depositing for communication terminal
US10080139B2 (en) 2015-06-15 2018-09-18 Huawei Technologies Co., Ltd. Information sending method and apparatus, terminal device, and system
WO2016201600A1 (en) * 2015-06-15 2016-12-22 华为技术有限公司 Information sending method and apparatus, terminal device, and system
CN106664535A (en) * 2015-06-15 2017-05-10 华为技术有限公司 Information sending method and apparatus, terminal device, and system
CN106664535B (en) * 2015-06-15 2019-08-20 华为技术有限公司 A kind of method for sending information, device, terminal device and system
CN105354284A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Template processing method and apparatus and short message identification method and apparatus
CN107292637A (en) * 2016-03-30 2017-10-24 中国电信股份有限公司 The method and system of consumption on network information is obtained based on notifying messages
CN107451912A (en) * 2016-05-31 2017-12-08 百度在线网络技术(北京)有限公司 The processing method and processing device of credit information
CN106096046A (en) * 2016-06-29 2016-11-09 惠州Tcl移动通信有限公司 The information intelligent display packing of a kind of mobile terminal and system
CN106331354B (en) * 2016-08-26 2019-06-04 商客通尚景科技(上海)股份有限公司 A kind of short message information extracting and analysis method
CN106331354A (en) * 2016-08-26 2017-01-11 商客通尚景科技(上海)股份有限公司 Short message information extracting and analyzing method
CN107038185A (en) * 2016-10-17 2017-08-11 联动优势科技有限公司 A kind of method and device of Transaction Information processing
CN108984500A (en) * 2018-06-19 2018-12-11 平安科技(深圳)有限公司 Extracting method, terminal device and the medium of amount information
CN108984500B (en) * 2018-06-19 2022-04-29 平安科技(深圳)有限公司 Method for extracting amount information, terminal device and medium
CN109064161A (en) * 2018-07-20 2018-12-21 诚泰信息科技(天津)有限公司 A kind of bank account transaction journal intelligent management and device based on short message
CN109325837A (en) * 2018-08-03 2019-02-12 挖财网络技术有限公司 The method and device kept accounts automatically is realized based on the received message of mobile terminal

Similar Documents

Publication Publication Date Title
CN101807273A (en) Method and system for performing financial management by extracting consumption information in credit card short message
CN111047430B (en) Accounting information processing method and device
CN104639420B (en) The information processing method and system of instant messaging
CN102142127A (en) Method and device for managing consumption details of user
Ejiofor et al. Realising the benefits and challenges of cashless economy in Nigeria: IT perspective
CN104639750A (en) Financial revenue and expenditure recording method and system based on mobile terminal and mobile terminal
CN113093958B (en) Data processing method and device and server
CN105354194A (en) Intelligent commodity classifying method and system
CN106095972B (en) Information classification method and device
CN106095745A (en) Transaction record extracting method based on log and system thereof
CN101789929A (en) Online business management network and operation method thereof
CN102779067A (en) Method and device of shortcut operation setup
CN106096046A (en) The information intelligent display packing of a kind of mobile terminal and system
CN104159204A (en) Information interaction method and apparatus based on short messages
CN102521713B (en) Data processing equipment and data processing method
CN110942392A (en) Service data processing method, device, equipment and medium
Srivastava Digital financial services: Challenges and prospects for liberalized and globalized Indian Economy
CN100520840C (en) Method for network tax controller processing bill data
CN107798534A (en) A kind of information recording method and device, terminal and readable storage medium storing program for executing
CN108153715B (en) Automatic generation method and device of comparison table
Dewan Past, present and future of m-banking research: a literature review
CN111553487B (en) Business object identification method and device
CN112232894A (en) Data analysis method based on value-added tax invoice
KR101580947B1 (en) Service system for managing housekeeping book based on push messages
CN104572646A (en) Abnormal information determining device and method, as well as electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Open date: 20100818