CN109598575A - A kind of bill generation method, device, electronic equipment and medium - Google Patents
A kind of bill generation method, device, electronic equipment and medium Download PDFInfo
- Publication number
- CN109598575A CN109598575A CN201811253391.2A CN201811253391A CN109598575A CN 109598575 A CN109598575 A CN 109598575A CN 201811253391 A CN201811253391 A CN 201811253391A CN 109598575 A CN109598575 A CN 109598575A
- Authority
- CN
- China
- Prior art keywords
- bill
- data
- short message
- current
- current bill
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000012790 confirmation Methods 0.000 claims abstract description 20
- 238000000605 extraction Methods 0.000 claims description 24
- 239000000284 extract Substances 0.000 claims description 19
- 238000004590 computer program Methods 0.000 claims description 12
- 230000002123 temporal effect Effects 0.000 claims 1
- 230000000694 effects Effects 0.000 abstract description 5
- 230000008569 process Effects 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 7
- 230000008901 benefit Effects 0.000 description 6
- 230000008859 change Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- PEDCQBHIVMGVHV-UHFFFAOYSA-N Glycerine Chemical compound OCC(O)CO PEDCQBHIVMGVHV-UHFFFAOYSA-N 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000010801 machine learning Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 208000005168 Intussusception Diseases 0.000 description 1
- BQCADISMDOOEFD-UHFFFAOYSA-N Silver Chemical compound [Ag] BQCADISMDOOEFD-UHFFFAOYSA-N 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005284 excitation Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 229910052709 silver Inorganic materials 0.000 description 1
- 239000004332 silver Substances 0.000 description 1
- 238000012549 training Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/06—Buying, selling or leasing transactions
- G06Q30/0601—Electronic shopping [e-shopping]
- G06Q30/0633—Lists, e.g. purchase orders, compilation or processing
Abstract
It includes: to obtain the note data of the short message after receiving short message that the present invention, which discloses a kind of bill generation method, device, electronic equipment and medium, method,;According to preset bill template, the billing data in the note data is extracted, and according to the billing data, generates current bill;The current bill is exported to prompt user, and after receiving the confirmation operation of user, stores the current bill.Method and apparatus provided by the present application understand the consumption of oneself to solve user in the prior art, need to consume a large amount of the technical issues of searching the time, realize the technical effect for improving search efficiency.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of bill generation method, device, electronic equipment and Jie
Matter.
Background technique
With the development of science and technology smart phone has been popularized, the activity such as public life, consumption, amusement all be unable to do without each
Class mobile device.The application of smart phone brings convenience, especially in various consumption activities, is paid using mobile phone
Also more universal.
Bank end, network payment platform or businessman will appreciate that and inquire the consumption of oneself in order to facilitate user, often
Short message can will be changed using the consumption and fund transfer generation fund that mobile phone or bank card carry out, and send fund change short message to
User, to retain consumer record for user query.
However, when user wants to understand every time the consumption of oneself or inquires the consumption of a certain pen, require one by one go to turn over
Experience history short message, needs to consume a large amount of time, and efficiency is relatively low.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State bill generation method, device, electronic equipment and the medium of problem.
In a first aspect, providing a kind of bill generation method, comprising:
After receiving short message, the note data of the short message is obtained;
According to preset bill template, the billing data in the note data is extracted, and according to the billing data, it is raw
At current bill;
The current bill is exported to prompt user, and after receiving the confirmation operation of user, stores the current account
It is single.
Optionally, the note data includes following any one or more combination: the hair of the receiving time of short message, short message
The content-data of the side of sending and short message.
Optionally, according to preset bill template, the billing data in the note data is extracted, comprising: according to default
Bill template in keyword, extract the billing data in the note data;Alternatively, according in preset bill template
Extraction algorithm extracts the billing data in the note data.
Optionally, the billing data includes following any one or more combination: the amount of money, transaction categories, transaction one's own side
Account, exchange hour, counterpart's information and transaction scene.
Optionally, the billing data extracted in the note data, comprising: extract the content number of the note data
Exchange hour information in;If the exchange hour information is not present in the content-data, with connecing for the short message
The exchange hour information is used as between time receiving.
Optionally, after the generation current bill further include: compare the current bill and stored history
Bill determines the current bill and the historical bills with the presence or absence of replicated relation;If there is replicated relation, then merges and deposit
In the bill of replicated relation.
Optionally, the determination current bill and the historical bills whether there is replicated relation, comprising: if institute
The difference of the exchange hour of current bill and the historical bills is stated within the scope of preset difference value, and the bill of the current bill
Data are matched with the billing data of the historical bills, it is determined that the current bill and the historical bills have repetition and close
System;If the difference of the exchange hour of the current bill and the historical bills not within the scope of the preset difference value, alternatively,
The billing data of the billing data of the current bill and the historical bills mismatches, it is determined that the current bill with it is described
Replicated relation is not present in historical bills.
Optionally, the bill is exported to prompt user, comprising: is monitored short message and is received event, and short message is occurring every time
After reception event, generates and export the bill to prompt user;Alternatively, at preset timed intervals, exporting the bill to prompt to use
Family;Alternatively, exporting the bill after the default page for opening bill application to prompt user.
Optionally, the storage current bill, comprising: according to the billing data, determine the current bill
Type, and current bill described in classification storage.
Optionally, the method is applied to client, after the storage current bill, further includes: send institute
It is synchronous to server-side progress data to state current bill, wherein with the last one operation institute in the client and the server-side
Subject to the operating result for stating that end of current bill, the number in the current bill of the client and the server-side is synchronized
According to.
Second aspect provides a kind of bill generating means, comprising:
Module is obtained, for after receiving short message, obtaining the note data of the short message;
Extraction module, for extracting the billing data in the note data, and according to institute according to preset bill template
Billing data is stated, current bill is generated;
Output module is deposited for exporting the current bill to prompt user, and after receiving the confirmation operation of user
Store up the current bill.
Optionally, the note data includes following any one or more combination: the hair of the receiving time of short message, short message
The content-data of the side of sending and short message.
Optionally, the extraction module is also used to: according to the keyword in preset bill template, extracting the short message number
Billing data in;Alternatively, extracting the bill number in the note data according to the extraction algorithm in preset bill template
According to.
Optionally, the billing data includes following any one or more combination: the amount of money, transaction categories, transaction one's own side
Account, exchange hour, counterpart's information and transaction scene.
Optionally, the extraction module is also used to: extracting the exchange hour information in the content-data of the note data;
If the exchange hour information is not present in the content-data, using the receiving time of the short message as when the transaction
Between information.
Optionally, described device further include: duplicate checking module, for comparing the current bill and stored history account
It is single, determine the current bill and the historical bills with the presence or absence of replicated relation;If there is replicated relation, then merge presence
The bill of replicated relation.
Optionally, the duplicate checking module is also used to: if the exchange hour of the current bill and the historical bills
Difference is within the scope of preset difference value, and the billing data of the current bill is matched with the billing data of the historical bills, then
Determining the current bill, there are replicated relations with the historical bills;If the friendship of the current bill and the historical bills
The difference of easy time is not within the scope of the preset difference value, alternatively, the billing data of the current bill and the historical bills
Billing data mismatch, it is determined that replicated relation is not present in the current bill and the historical bills.
Optionally, the output module is also used to: being monitored short message and is received event, and receives event short message occurs every time
Afterwards, it generates and exports the bill to prompt user;Alternatively, at preset timed intervals, exporting the bill to prompt user;Alternatively,
After the default page for opening bill application, the bill is exported to prompt user.
Optionally, the output module is also used to: according to the billing data, determine the type of the current bill, and
Current bill described in classification storage.
Optionally, described device is client, further includes: sending module, for sending the current bill to server-side
It is synchronous to carry out data, wherein that end of the current bill is operated with the last one in the client and the server-side
Subject to operating result, the data in the current bill of the client and the server-side are synchronized.
The third aspect, provides a kind of electronic equipment, including memory, processor and storage on a memory and can handled
The computer program run on device, the processor realize first aspect any method when executing described program.
Fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, and the program is processed
First aspect any method is realized when device executes.
The technical solution provided in the embodiment of the present application, has at least the following technical effects or advantages:
Bill generation method, device, electronic equipment and medium provided by the embodiments of the present application, after receiving short message, from
It moves according to preset bill template, extracts the billing data in note data, Lai Shengcheng current bill.I.e. automatically from short message
It extracts crucial billing data to be stored to generate bill, in order to which subsequent user inquiry fund changes record and according to account
Singly obtain the consumption data of concentration.Further output current bill prompts user, stores and works as again after user's confirmation
Preceding bill improves the accuracy of bill by the confirmation of user.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the flow chart of bill generation method in the embodiment of the present invention;
Fig. 2 is the structural schematic diagram of bill generating means in the embodiment of the present invention;
Fig. 3 is the structural schematic diagram of electronic equipment in the embodiment of the present invention;
Fig. 4 is the structural schematic diagram of storage medium in the embodiment of the present invention.
Specific embodiment
Technical solution in the embodiment of the present application, general thought are as follows:
According to bill template, billing data is automatically extracted out from short message, Lai Shengcheng current bill is stored, and can be improved
The efficiency of user query funds data.Before storing current bill, first exports current bill and user is prompted, pass through use
The confirmation at family improves the accuracy of bill.
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
Embodiment one
A kind of bill generation method is present embodiments provided, referring to FIG. 1, Fig. 1 is that bill generates in the embodiment of the present application
The flow chart of method, comprising:
Step S101 obtains the note data of the short message after receiving short message;
Step S102 extracts the billing data in the note data according to preset bill template, and according to the account
Forms data generates current bill;
Step S103 exports the current bill to prompt user, and after receiving the confirmation operation of user, stores institute
State current bill.
It should be noted that method provided in this embodiment can be applied to client, for example, smart phone, intelligence
Wrist-watch, computer etc.;Also it can be applied to server-side, such as: server, cloud etc., this is not restricted.
Short message in the present embodiment is smart phone, smartwatch, tablet computer, computer or special book keeping operation equipment etc.
The text or pictorial information that electronic equipment receives, sender can be payment platform, bank server or businessman etc..
In the following, the specific implementation step of method provided by the embodiments of the present application is discussed in detail in conjunction with Fig. 1:
Step S101 obtains the note data of the short message after receiving short message.
In the embodiment of the present application, event can be received with monitoring short message, when receiving short message every time, that is, obtains short message number
According to;It can also be obtained by the note data that preset duration carries out batch to the short message received within the scope of preset duration;It can be with
After opening dedicated bill application, when opening using homepage, excitation obtains the note data of batch, and this is not restricted.
The note data includes following any one or more combination: the receiving time of short message, the sender of short message and short
The content-data of letter.For example, in " 18 on Septembers, 10,12:00 " receive " certain bicycle " transmission " you 2018-09-09
11:12 initiate certain bicycle return a deposit gold application, 299 yuan have successfully been gone in 2018-09-10 your wechat change account, asked
You check and accept." wherein, " 18 on Septembers, 10,12:00 ", " certain bicycle " and " certain bicycle that your 2018-09-09 11:12 is initiated moves back
Cash pledge application has successfully gone to your wechat change account by 299 yuan in 2018-09-10, has woulded you please check and accept." it is short message number
According to.
Specifically, first can judge then whether short message is that fund changes relevant short message for this according to note data, if it is
Subsequent step is then carried out, is not dealt with if not then directly ignoring.The method of judgement can be the sender according to short message
Whether belong to preset bill sender list to judge, be also possible to whether to have in the content according to short message " member ", " account ",
The keywords such as " expenditure " or " being transferred to " judge, can also use and its learning algorithm judges, this is not restricted.
Step S102 extracts the billing data in the note data according to preset bill template, and according to the account
Forms data generates current bill.
Billing data includes following any one or more combination: when the amount of money, transaction categories, transaction one's own side's account, transaction
Between, counterpart's information and transaction scene etc..Wherein, transaction categories can be " expenditure ", " income ", and transaction scene can be
" credit card repayment ", " food and drink " or " telephone expenses " etc..
In the embodiment of the present application, the detailed programs of the billing data of extraction in need are set in preset bill template
(for example, the amount of money, exchange hour, transaction scene etc.), the extracting mode of the display format of the project and the project.Wherein, specifically
Extracting mode can there are many, be set forth below for two kinds:
The first, keyword.
I.e. according to the keyword in preset bill template, the billing data in note data is extracted.
For example, the amount of money that the digital information before and after " member ", " RMB " is extracted as in billing data can be set;If
It sets " so-and-so bank ", " certain is precious ", " certain letter " etc. and belongs to the information extraction of default party B account list for transaction one's own side's account;Setting
The information extraction of merchant accounts lists such as " certain east ", " washing in a pan certain " or " certain where " is counterpart's information;Be arranged ": " " year, the moon,
Digital information before and after day " etc. is extracted as exchange hour, etc..
For example, bill template requires to extract the billing datas such as the amount of money, exchange hour, transaction scene, transaction Party B's account.It is right
In short message, " your account 9414 was in 27 days 03 month 22:51 credit card repayment RMB 529.[China Merchants Bank] ", according to bill template
In preset keyword " moon, day " exchange hour " 27 days 03 month 22:51 " can be extracted;According to keyword " account ", " silver
Row " can extract transaction one's own side's account " China Merchants Bank, account 9414 ";According to keyword " credit card ", friendship can be extracted
Easy scene " credit card repayment ";According to keyword " RMB ", the amount of money " 529 " can be extracted.
For another example for short message, " you are 2018-10-23, is paid the bill 6 yuan by Construction Bank (3675) to certain supermarket, wechat branch
Exchange order " can extract exchange hour " 2018-10-23 " according to keyword "-" preset in bill template;According to key
Word " bank " can extract transaction one's own side's account " Construction Bank, account 3675 ";According to keyword " supermarket ", can extract
It trades scene " shopping ";According to keyword " member ", the amount of money " 6 " can be extracted.
Second, extraction algorithm.
According to the extraction algorithm in preset bill template, the billing data in the note data is extracted.
Specifically, the technological means such as machine learning, big data can be first passed through in advance, and training can be used to mention from short message
The algorithm model of billing data is taken, then billing data is extracted by the algorithm model.It is of course also possible to be that research staff passes through
After collecting all kinds of extraction data, extraction algorithm is edited out according to the exploitation of research and development experience to extract billing data from short message.
Certainly, in the specific implementation process, which can be locally extracted in client, can also be by note data
Server-side is sent to carry out the extraction of billing data, this is not restricted.
In the specific implementation process, exchange hour information is preferentially extracted from the content-data of note data, if described
Exchange hour information is not present in content-data, then it can be using the receiving time of short message as the exchange hour information.Further,
Counterpart's information is preferentially extracted from the content-data of note data, if there is no counterparts to believe in the content-data
Breath then can be referred to as counterpart's information with the name of the sender number of short message or the corresponding registration of the sender number, with
Guarantee to extract complete billing data to greatest extent.
After extracting billing data, arrange billing data according to the preset format of bill template, Lai Shengcheng current bill,
Then subsequent step is executed.
In the embodiment of the present application, after generating current bill, duplicate checking can also be carried out, i.e., comparison current bill with
The historical bills of storage determine the current bill and the historical bills with the presence or absence of replicated relation, to avoid bill is repeated
User query are interfered, subsequent progress bill statistics and analysis is also unfavorable for.The duplicate checking step can execute after step s 102,
It can also execute after step s 103, this is not restricted.
Specific duplicate checking method can according to need setting, be set forth below for two kinds:
The first, machine learning algorithm duplicate checking.
It inputs a large amount of bill to train duplicate checking model, carries out duplicate checking using trained duplicate checking model, comparison is worked as
Preceding bill and stored historical bills, it is determined whether there are replicated relations.
Second, condition duplicate checking is set.
The condition of duplicate checking is provided according to the experience of analysis of history data to carry out duplicate checking.It can be set are as follows:
If the difference of the exchange hour of current bill and historical bills is within the scope of preset difference value, and the account of current bill
Forms data is matched with the billing data of historical bills, it is determined that there are replicated relations with historical bills for current bill;
If the difference of the exchange hour of current bill and historical bills is not within the scope of preset difference value, alternatively, current account
The billing data of single billing data and historical bills mismatches, it is determined that there is no repeat to close for current bill and historical bills
System.
Wherein, preset difference value may range from for 24 hours or 10h etc., and this is not restricted.Wherein, the bill number of current bill
It is matched according to the billing data with historical bills and can be counterpart's information, transaction Party B's account, the amount of money, transaction scene or homogeneous
Together.
If there are replicated relations for confirmation current bill and historical bills, then there are the accounts of replicated relation for merging after duplicate checking
It is single.Specific merging method can be the data both deleting any bill, or merging, and form more complete bill.
Step S103 exports current bill to prompt user, and after receiving the confirmation operation of user, works as described in storage
Preceding bill.
Specifically, current bill is exported, pop-up bill card is can be and is watched for user, is also possible to export voice account
Single to listen to for user, this is not restricted.Wherein, the trigger event for exporting current bill can arrange below there are many setting
It lifts for three kinds:
The first, exports with short message.
It monitors short message and receives event, and after short message reception event occurs every time, generate and export current bill to mention
Show user.By taking smart phone as an example, after receiving short message every time, the billing data extracted in short message will be triggered and worked as to generate
Preceding bill, and trigger output current bill prompt user's confirmation.The touching that short message event is current bill output is received every time
Hair event.
Second, preset time is set to export.
I.e. at preset timed intervals, bill is exported to prompt user.Specifically, user can be arranged in bill application in advance
Preset time, the preset time can be specific time point, be also possible to duration.If it is specific time point, arrive
When up to preset time, all bills not exported before batch signatures preset time, to prompt user's batch to confirm;If
For duration, then all bills in the period are periodically exported by the duration, to prompt user's batch to confirm.
It is avoided that by setting preset time and carries out bill presentment when receiving short message every time, interfere user.
The third, opens using APP and exports.
I.e. after the default page for opening bill application, bill is exported to prompt user.Specifically, user opens every time
Bill is in application, batch prompts can be carried out by bills outputs all between the secondary unlatching and last unlatching.
Further, it can also be accurately set at and open bill when apply and pop up using homepage, output bill is to mention
After showing that user or user can open bill application, the bill unconfirmed mark on the page is clicked, output is all to arrive to trigger
Unacknowledged bill until current.
Certainly, in the specific implementation process, the trigger event for exporting bill is not limited to above-mentioned three kinds, in order to more be bonded user
Above-mentioned a variety of triggering modes further can also be both provided to user's selection by demand, the triggering needed by user setting selection
Export the mode of bill.
In the embodiment of the present application, it is editable state, user that output, which can also be arranged, to the current bill that user confirms
The information of needs can be edited to the bill.User can execute confirmation operation and deserve to trigger storage after it confirmed bill
Preceding bill.
In the specific implementation process, the type of current bill, and the current account of classification storage can be determined according to billing data
It is single.In order to subsequent lookup bill, and analysis billing data.Specific classification latitude can there are many, for example, can be by fund
Trend is divided into " income " and " expenditure ", and " food and drink ", " traffic ", " amusement ", " financing " etc. can also be divided by consumption type, may be used also
To be divided into " certain treasured consumption ", " certain letter consumption ", " credit card repayment ", " bank debits " etc. by consumer channel.Certainly, different points
Class latitude for example, first dividing major class by fund trend, then can divide group by " consumption type " with intussusception.
Assuming that the method for the present embodiment is applied to client, after storing current bill on the client, can send current
Bill to server-side carries out data and synchronizes, to guarantee that server-side is consistent with the data of client.Further, if necessary to current
Bill is modified, the last one in client and server-side of being subject to operates the operating result at that end of the current bill, together
The data in the current bill of the client and the server-side are walked, it is inconsistent to avoid both ends.
Based on the same inventive concept, the embodiment of the invention also provides the corresponding device of method in embodiment one, see implementation
Example two.
Embodiment two
As shown in Fig. 2, providing a kind of bill generating means, comprising:
Module 201 is obtained, for after receiving short message, obtaining the note data of the short message;
Extraction module 202, for extracting the billing data in the note data, and root according to preset bill template
According to the billing data, current bill is generated;
Output module 203, for exporting the current bill to prompt user, and in the confirmation operation for receiving user
Afterwards, the current bill is stored.
Further, the note data includes following any one or more combination: the hair of the receiving time of short message, short message
The content-data of the side of sending and short message.
Further, the extraction module 202 is also used to:
According to the keyword in preset bill template, the billing data in the note data is extracted;Alternatively,
According to the extraction algorithm in preset bill template, the billing data in the note data is extracted.
Further, the billing data includes following any one or more combination:
The amount of money, transaction categories, transaction one's own side's account, exchange hour, counterpart's information and transaction scene.
Further, the extraction module 202 is also used to:
Extract the exchange hour information in the content-data of the note data;
If the exchange hour information is not present in the content-data, using the receiving time of the short message as institute
State exchange hour information.
Further, the device further include:
Duplicate checking module, for comparing the current bill and stored historical bills, determine the current bill with
The historical bills whether there is replicated relation;If there is replicated relation, then there are the bills of replicated relation for merging.
Further, the duplicate checking module is also used to:
If the difference of the exchange hour of the current bill and the historical bills is within the scope of preset difference value, and described
The billing data of current bill is matched with the billing data of the historical bills, it is determined that the current bill and the history account
Singly there is replicated relation;
If the difference of the exchange hour of the current bill and the historical bills not within the scope of the preset difference value,
Alternatively, the billing data of the billing data of the current bill and the historical bills mismatches, it is determined that the current bill
Replicated relation is not present with the historical bills.
Further, the output module 203 is also used to:
It monitors short message and receives event, and after short message reception event occurs every time, generate and export the bill to prompt
User;Alternatively,
At preset timed intervals, the bill is exported to prompt user;Alternatively,
After the default page for opening bill application, the bill is exported to prompt user.
Further, the output module 203 is also used to:
According to the billing data, the type of the current bill, and current bill described in classification storage are determined.
Further, described device is client, further includes:
Sending module, for sending the current bill to server-side, to carry out data synchronous, wherein with the client and
The last one in the server-side operates subject to the operating result at that end of the current bill, synchronizes the client and described
Data in the current bill of server-side.
By the device that the embodiment of the present invention two is introduced, filled used by the method to implement the embodiment of the present invention one
It sets, so based on the method that the embodiment of the present invention one is introduced, the affiliated personnel in this field can understand the specific structure of the device
And deformation, so details are not described herein.Device used by the method for all embodiment of the present invention one belongs to the present invention and is intended to
The range of protection.
Based on the same inventive concept, the embodiment of the invention also provides the corresponding equipment of method in embodiment one, see implementation
Example three.
Embodiment three
As shown in figure 3, the present embodiment provides a kind of electronic equipment, including memory 310, processor 320 and it is stored in
On reservoir 310 and the computer program 311 that can run on the processor 320, the processor 320 execute the computer program
It is performed the steps of when 311
After receiving short message, the note data of the short message is obtained;
According to preset bill template, the billing data in the note data is extracted, and according to the billing data, it is raw
At current bill;
The current bill is exported to prompt user, and after receiving the confirmation operation of user, stores the current account
It is single.
In the embodiment of the present application, the application reality may be implemented when the processor 320 executes the computer program 311
Apply any embodiment in example one.
By the equipment that the embodiment of the present invention three is introduced, set used by the method to implement the embodiment of the present invention one
It is standby, so based on the method that the embodiment of the present invention one is introduced, the affiliated personnel in this field can understand the specific structure of the equipment
And deformation, so details are not described herein.Equipment used by the method for all embodiment of the present invention one belongs to the present invention and is intended to
The range of protection.
Based on the same inventive concept, the embodiment of the invention also provides the corresponding storage medium of method in embodiment one, see
Example IV.
Example IV
The present embodiment provides a kind of computer readable storage mediums 400, as shown in figure 4, being stored thereon with computer program
411, which is characterized in that the computer program 411 performs the steps of when being executed by processor
After receiving short message, the note data of the short message is obtained;
According to preset bill template, the billing data in the note data is extracted, and according to the billing data, it is raw
At current bill;
The current bill is exported to prompt user, and after receiving the confirmation operation of user, stores the current account
It is single.
In the specific implementation process, when which is executed by processor, the embodiment of the present application one may be implemented
Middle any embodiment.
The technical solution provided in the embodiment of the present application, has at least the following technical effects or advantages:
Bill generation method, device, electronic equipment and medium provided by the embodiments of the present application, after receiving short message, from
It moves according to preset bill template, extracts the billing data in note data, Lai Shengcheng current bill.I.e. automatically from short message
It extracts crucial billing data to be stored to generate bill, in order to which subsequent user inquiry fund changes record and according to account
Singly obtain the consumption data of concentration.Further output current bill prompts user, stores and works as again after user's confirmation
Preceding bill improves the accuracy of bill by the confirmation of user.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments in this include institute in other embodiments
Including certain features rather than other feature, but the combination of the feature of different embodiment means in the scope of the present invention
Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it
One can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize gateway according to an embodiment of the present invention, proxy server, in system
Some or all components some or all functions.The present invention is also implemented as executing side as described herein
Some or all device or device programs (for example, computer program and computer program product) of method.It is such
It realizes that program of the invention can store on a computer-readable medium, or can have the shape of one or more signal
Formula.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or with any other shape
Formula provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Component or step listed in the claims.Word "a" or "an" before component does not exclude the presence of multiple such
Component.The present invention can be by means of including the hardware of several different components and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.
The invention discloses A1, a kind of bill generation method, comprising:
After receiving short message, the note data of the short message is obtained;
According to preset bill template, the billing data in the note data is extracted, and according to the billing data, it is raw
At current bill;
The current bill is exported to prompt user, and after receiving the confirmation operation of user, stores the current account
It is single.
A2, method according to a1, which is characterized in that the note data includes following any one or more group
It closes:
The receiving time of short message, the sender of short message and short message content-data.
A3, method according to a1, which is characterized in that according to preset bill template, extract in the note data
Billing data, comprising:
According to the keyword in preset bill template, the billing data in the note data is extracted;Alternatively,
According to the extraction algorithm in preset bill template, the billing data in the note data is extracted.
A4, method according to a1, which is characterized in that the billing data includes following any one or more group
It closes:
The amount of money, transaction categories, transaction one's own side's account, exchange hour, counterpart's information and transaction scene.
A5, method according to a4, which is characterized in that the billing data extracted in the note data, comprising:
Extract the exchange hour information in the content-data of the note data;
If the exchange hour information is not present in the content-data, using the receiving time of the short message as institute
State exchange hour information.
A6, method according to a1, which is characterized in that after the generation current bill further include:
The current bill and stored historical bills are compared, determines that the current bill is with the historical bills
It is no that there are replicated relations;
If there is replicated relation, then there are the bills of replicated relation for merging.
A7, the method according to A6, which is characterized in that whether the determination current bill and the historical bills
There are replicated relations, comprising:
If the difference of the exchange hour of the current bill and the historical bills is within the scope of preset difference value, and described
The billing data of current bill is matched with the billing data of the historical bills, it is determined that the current bill and the history account
Singly there is replicated relation;
If the difference of the exchange hour of the current bill and the historical bills not within the scope of the preset difference value,
Alternatively, the billing data of the billing data of the current bill and the historical bills mismatches, it is determined that the current bill
Replicated relation is not present with the historical bills.
A8, method according to a1, which is characterized in that export the bill to prompt user, comprising:
It monitors short message and receives event, and after short message reception event occurs every time, generate and export the bill to prompt
User;Alternatively,
At preset timed intervals, the bill is exported to prompt user;Alternatively,
After the default page for opening bill application, the bill is exported to prompt user.
A9, method according to a1, which is characterized in that the storage current bill, comprising:
According to the billing data, the type of the current bill, and current bill described in classification storage are determined.
A10, method according to a1, which is characterized in that the method is applied to client, works as described in the storage
After preceding bill, further includes:
It is synchronous to server-side progress data to send the current bill, wherein in the client and the server-side
The last one is operated subject to the operating result at that end of the current bill, synchronizes the described of the client and the server-side
Data in current bill.
B11, a kind of bill generating means, comprising:
Module is obtained, for after receiving short message, obtaining the note data of the short message;
Extraction module, for extracting the billing data in the note data, and according to institute according to preset bill template
Billing data is stated, current bill is generated;
Output module is deposited for exporting the current bill to prompt user, and after receiving the confirmation operation of user
Store up the current bill.
B12, the device according to B11, which is characterized in that the note data includes following any one or more group
It closes:
The receiving time of short message, the sender of short message and short message content-data.
B13, the device according to B11, which is characterized in that the extraction module is also used to:
According to the keyword in preset bill template, the billing data in the note data is extracted;Alternatively,
According to the extraction algorithm in preset bill template, the billing data in the note data is extracted.
B14, the device according to B11, which is characterized in that the billing data includes following any one or more group
It closes:
The amount of money, transaction categories, transaction one's own side's account, exchange hour, counterpart's information and transaction scene.
B15, device according to b14, which is characterized in that the extraction module is also used to:
Extract the exchange hour information in the content-data of the note data;
If the exchange hour information is not present in the content-data, using the receiving time of the short message as institute
State exchange hour information.
B16, the device according to B11, which is characterized in that further include:
Duplicate checking module, for comparing the current bill and stored historical bills, determine the current bill with
The historical bills whether there is replicated relation;If there is replicated relation, then there are the bills of replicated relation for merging.
B17, the device according to B16, which is characterized in that the duplicate checking module is also used to:
If the difference of the exchange hour of the current bill and the historical bills is within the scope of preset difference value, and described
The billing data of current bill is matched with the billing data of the historical bills, it is determined that the current bill and the history account
Singly there is replicated relation;
If the difference of the exchange hour of the current bill and the historical bills not within the scope of the preset difference value,
Alternatively, the billing data of the billing data of the current bill and the historical bills mismatches, it is determined that the current bill
Replicated relation is not present with the historical bills.
B18, the device according to B11, which is characterized in that the output module is also used to:
It monitors short message and receives event, and after short message reception event occurs every time, generate and export the bill to prompt
User;Alternatively,
At preset timed intervals, the bill is exported to prompt user;Alternatively,
After the default page for opening bill application, the bill is exported to prompt user.
B19, the device according to B11, which is characterized in that the output module is also used to:
According to the billing data, the type of the current bill, and current bill described in classification storage are determined.
B20, the device according to B11, which is characterized in that described device is client, further includes:
Sending module, for sending the current bill to server-side, to carry out data synchronous, wherein with the client and
The last one in the server-side operates subject to the operating result at that end of the current bill, synchronizes the client and described
Data in the current bill of server-side.
C21, a kind of electronic equipment, including memory, processor and storage can be run on a memory and on a processor
Computer program, the processor realizes A1-A10 any method when executing described program.
D22, a kind of computer readable storage medium, are stored thereon with computer program, when which is executed by processor
Realize any method of A1-A10.
Claims (10)
1. a kind of bill generation method characterized by comprising
After receiving short message, the note data of the short message is obtained;
According to preset bill template, the billing data in the note data is extracted, and according to the billing data, generation is worked as
Preceding bill;
The current bill is exported to prompt user, and after receiving the confirmation operation of user, stores the current bill.
2. the method as described in claim 1, which is characterized in that the note data includes following any one or more group
It closes:
The receiving time of short message, the sender of short message and short message content-data.
3. the method as described in claim 1, which is characterized in that according to preset bill template, extract in the note data
Billing data, comprising:
According to the keyword in preset bill template, the billing data in the note data is extracted;Alternatively,
According to the extraction algorithm in preset bill template, the billing data in the note data is extracted.
4. the method as described in claim 1, which is characterized in that the billing data includes following any one or more group
It closes:
The amount of money, transaction categories, transaction one's own side's account, exchange hour, counterpart's information and transaction scene.
5. method as claimed in claim 4, which is characterized in that the billing data extracted in the note data, comprising:
Extract the exchange hour information in the content-data of the note data;
If the exchange hour information is not present in the content-data, using the receiving time of the short message as the friendship
Easy temporal information.
6. the method as described in claim 1, which is characterized in that after the generation current bill further include:
The current bill and stored historical bills are compared, determines whether the current bill is deposited with the historical bills
In replicated relation;
If there is replicated relation, then there are the bills of replicated relation for merging.
7. method as claimed in claim 6, which is characterized in that whether the determination current bill and the historical bills
There are replicated relations, comprising:
If the difference of the exchange hour of the current bill and the historical bills is within the scope of preset difference value, and described current
The billing data of bill is matched with the billing data of the historical bills, it is determined that the current bill is deposited with the historical bills
In replicated relation;
If the difference of the exchange hour of the current bill and the historical bills not within the scope of the preset difference value, or
The billing data of person, the billing data of the current bill and the historical bills mismatch, it is determined that the current bill with
Replicated relation is not present in the historical bills.
8. a kind of bill generating means characterized by comprising
Module is obtained, for after receiving short message, obtaining the note data of the short message;
Extraction module, for extracting the billing data in the note data, and according to the account according to preset bill template
Forms data generates current bill;
Output module stores institute for exporting the current bill to prompt user, and after receiving the confirmation operation of user
State current bill.
9. a kind of electronic equipment including memory, processor and stores the calculating that can be run on a memory and on a processor
Machine program, which is characterized in that the processor realizes method as claimed in claim 1 to 7 when executing described program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor
Method as claimed in claim 1 to 7 is realized when execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811253391.2A CN109598575B (en) | 2018-10-25 | 2018-10-25 | Bill generation method and device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811253391.2A CN109598575B (en) | 2018-10-25 | 2018-10-25 | Bill generation method and device, electronic equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109598575A true CN109598575A (en) | 2019-04-09 |
CN109598575B CN109598575B (en) | 2024-04-05 |
Family
ID=65957528
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811253391.2A Active CN109598575B (en) | 2018-10-25 | 2018-10-25 | Bill generation method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109598575B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267222A (en) * | 2019-05-24 | 2019-09-20 | 深圳壹账通智能科技有限公司 | The methods of exhibiting and device of short message bill |
CN110704470A (en) * | 2019-09-29 | 2020-01-17 | 厦门市美亚柏科信息股份有限公司 | Bill data duplication elimination method, terminal equipment and storage medium |
CN112307029A (en) * | 2020-11-03 | 2021-02-02 | 彩讯科技股份有限公司 | Bill data storage and bill generation method, device, server and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101621562A (en) * | 2008-06-30 | 2010-01-06 | 深圳富泰宏精密工业有限公司 | Electronic accounting system and method therefor |
US20100106583A1 (en) * | 2007-04-17 | 2010-04-29 | American Express Travel Related Services Company, Inc. | System and method for rewarding positive consumer behavior using loyalty point advances |
CN102142127A (en) * | 2010-07-30 | 2011-08-03 | 华为技术有限公司 | Method and device for managing consumption details of user |
KR20120089085A (en) * | 2011-02-01 | 2012-08-09 | 에스케이텔레콤 주식회사 | electronic bill system, electronic bill apparatus and method providing electronic bill serves thereof |
US20120239553A1 (en) * | 2011-03-16 | 2012-09-20 | Metro Enterprises, Inc. | Method for processing and funding short-term loans to a consumer and a method for converting currency, both to a mobile credit storage facility account |
CN104700277A (en) * | 2013-12-05 | 2015-06-10 | 华为技术有限公司 | Electronic accounting method and device and terminal equipment |
CN104717342A (en) * | 2013-12-11 | 2015-06-17 | 阿里巴巴集团控股有限公司 | Method and device for awakening client application based on short message |
CN105405049A (en) * | 2015-10-23 | 2016-03-16 | 重庆蓝岸通讯技术有限公司 | Intelligent accounting method and intelligent accounting system |
CN107330777A (en) * | 2017-06-21 | 2017-11-07 | 深圳传音通讯有限公司 | Bill management method and device |
CN107545404A (en) * | 2016-06-29 | 2018-01-05 | 腾讯科技(深圳)有限公司 | Bill based reminding method and device |
CN107657039A (en) * | 2017-09-28 | 2018-02-02 | 努比亚技术有限公司 | Bill recording method, mobile terminal and computer-readable recording medium |
US20180060843A1 (en) * | 2016-08-31 | 2018-03-01 | Paypal, Inc. | Preemptive data processing to mitigate against overdraft and declined transaction |
-
2018
- 2018-10-25 CN CN201811253391.2A patent/CN109598575B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100106583A1 (en) * | 2007-04-17 | 2010-04-29 | American Express Travel Related Services Company, Inc. | System and method for rewarding positive consumer behavior using loyalty point advances |
CN101621562A (en) * | 2008-06-30 | 2010-01-06 | 深圳富泰宏精密工业有限公司 | Electronic accounting system and method therefor |
CN102142127A (en) * | 2010-07-30 | 2011-08-03 | 华为技术有限公司 | Method and device for managing consumption details of user |
KR20120089085A (en) * | 2011-02-01 | 2012-08-09 | 에스케이텔레콤 주식회사 | electronic bill system, electronic bill apparatus and method providing electronic bill serves thereof |
US20120239553A1 (en) * | 2011-03-16 | 2012-09-20 | Metro Enterprises, Inc. | Method for processing and funding short-term loans to a consumer and a method for converting currency, both to a mobile credit storage facility account |
CN104700277A (en) * | 2013-12-05 | 2015-06-10 | 华为技术有限公司 | Electronic accounting method and device and terminal equipment |
CN104717342A (en) * | 2013-12-11 | 2015-06-17 | 阿里巴巴集团控股有限公司 | Method and device for awakening client application based on short message |
CN105405049A (en) * | 2015-10-23 | 2016-03-16 | 重庆蓝岸通讯技术有限公司 | Intelligent accounting method and intelligent accounting system |
CN107545404A (en) * | 2016-06-29 | 2018-01-05 | 腾讯科技(深圳)有限公司 | Bill based reminding method and device |
US20180060843A1 (en) * | 2016-08-31 | 2018-03-01 | Paypal, Inc. | Preemptive data processing to mitigate against overdraft and declined transaction |
CN107330777A (en) * | 2017-06-21 | 2017-11-07 | 深圳传音通讯有限公司 | Bill management method and device |
CN107657039A (en) * | 2017-09-28 | 2018-02-02 | 努比亚技术有限公司 | Bill recording method, mobile terminal and computer-readable recording medium |
Non-Patent Citations (2)
Title |
---|
BILL CLINTON,: "Citizen-Consumers Wanted: Revitalizing the American Dream in the Face of Economic Recessions, 1981–2012", JOURNAL OF CONSUMER RESEARCH, vol. 47, no. 3, pages 327 - 349 * |
杨洁;: "利用Kafka技术实现用户实时账单的短信提醒功能", 数字通信世界, no. 11, pages 219 - 221219 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110267222A (en) * | 2019-05-24 | 2019-09-20 | 深圳壹账通智能科技有限公司 | The methods of exhibiting and device of short message bill |
CN110704470A (en) * | 2019-09-29 | 2020-01-17 | 厦门市美亚柏科信息股份有限公司 | Bill data duplication elimination method, terminal equipment and storage medium |
CN112307029A (en) * | 2020-11-03 | 2021-02-02 | 彩讯科技股份有限公司 | Bill data storage and bill generation method, device, server and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN109598575B (en) | 2024-04-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20180025340A1 (en) | Itemized Receipts and Digital Payments System and Methods | |
US10445826B1 (en) | Merchant financing system | |
CN109598575A (en) | A kind of bill generation method, device, electronic equipment and medium | |
WO2010111068A1 (en) | Directing payments to satisfy periodic financial obligations | |
CN111160884B (en) | Aggregated payment method, system, server and storage medium | |
CN107944851B (en) | Group fund account management method, device and system | |
WO2014159296A1 (en) | A method, system and program product for matching of transaction records | |
EP3933733A1 (en) | Http protocol-based server, user terminal fee collection system, and fee collection method | |
CN107358518A (en) | Polymorphic various dimensions are connected associated mode account information collection method | |
CN110362750A (en) | Target user determines method, apparatus, electronic equipment and computer-readable medium | |
US20240097882A1 (en) | Block chain modification correlation | |
JP2015125532A (en) | Blog detail creation terminal, method, and program | |
Seethamraju et al. | Adoption of digital payments by small retail stores | |
Llanto et al. | E-finance in the Philippines: Status and prospects for digital financial inclusion | |
US8924393B1 (en) | Method and system for improving automatic categorization of financial transactions | |
CN109583448A (en) | A kind of bookkeeping methods, device, electronic equipment and medium | |
CN109598479A (en) | A kind of bill extracting method, device, electronic equipment and medium | |
CA2763429A1 (en) | Method and system for tagging and tracking donation transactions | |
US20230289850A1 (en) | Method and apparatus for automated inter-account interactions | |
US20140279487A1 (en) | Systems and methods for providing funding changes to financial transactions | |
US8401171B1 (en) | Computing device assistance for phone based customer service representative interaction | |
Kumar et al. | Determinant of customers’ perception towards RTGS and NEFT services | |
MV | Technological Developments in Banks | |
CN109670806A (en) | Account recommendation method, apparatus, terminal and computer readable storage medium | |
JP7393579B1 (en) | Information processing device, information processing method, and program |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20240315 Address after: Room 03, 2nd Floor, Building A, No. 20 Haitai Avenue, Huayuan Industrial Zone (Huanwai), Binhai New Area, Tianjin, 300450 Applicant after: 3600 Technology Group Co.,Ltd. Country or region after: Zhong Guo Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Applicant before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Country or region before: Zhong Guo |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |