CN107545404A - Bill based reminding method and device - Google Patents

Bill based reminding method and device Download PDF

Info

Publication number
CN107545404A
CN107545404A CN201610506283.6A CN201610506283A CN107545404A CN 107545404 A CN107545404 A CN 107545404A CN 201610506283 A CN201610506283 A CN 201610506283A CN 107545404 A CN107545404 A CN 107545404A
Authority
CN
China
Prior art keywords
bill
information
template
extraction
communication information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610506283.6A
Other languages
Chinese (zh)
Other versions
CN107545404B (en
Inventor
吴汉杰
何锐邦
罗谚君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610506283.6A priority Critical patent/CN107545404B/en
Publication of CN107545404A publication Critical patent/CN107545404A/en
Application granted granted Critical
Publication of CN107545404B publication Critical patent/CN107545404B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of bill based reminding method and device, belong to field of terminal technology.Methods described includes:By reading the communication information;When the communication information is the bill communication information, the bill information in the template extraction communication information is extracted by bill;Set according to the time of refunding and remind item;Bill prompting is carried out according to item is reminded;Solve needs user's manual creation memorandum item in the prior art, and bill prompting is carried out according to memorandum item, so as to complete the refund of bill, cause to set the cumbersome of bill prompting, setting up procedure dependent on user it is manually operated the problem of, the bill information extracted by bill in the template extraction communication information is reached, and bill prompting is carried out according to prompting item automatically, simplify the operation for setting bill to remind, so that the effect crossed process automation, avoid the manually operated setting bill prompting of user that bill is reminded.

Description

Bill based reminding method and device
Technical field
The present embodiments relate to field of terminal technology, more particularly to a kind of bill based reminding method and device.
Background technology
Bill, which is reminded, refers to automatic arranging periodicity bill, and the information of user's bill is reminded by communication mode.
The method that bill is reminded in the prior art includes:Bill short message is received, user actively reads the bill received Short message, and the refund time manual creation memorandum item in bill short message, the memorandum item include gold of refunding Volume, terminal carry out bill prompting according to memorandum item, so that user is according to the refund of bill prompting completion bill.
During the embodiment of the present invention is realized, inventor has found that prior art at least has problems with:
Bill prompting is carried out due to needing user's manual creation memorandum item, and according to memorandum item, so as to complete The refund of bill, cause to set the cumbersome of bill prompting, setting up procedure is manually operated dependent on user's.
The content of the invention
In order to solve to set the cumbersome of bill prompting in the prior art, setting up procedure is manually operated dependent on user's The problem of, the embodiments of the invention provide a kind of bill based reminding method and device.The technical scheme is as follows:
First aspect according to embodiments of the present invention, there is provided a kind of bill based reminding method, this method include:
Read the communication information;
When the communication information is the bill communication information, the bill information in the template extraction communication information is extracted by bill, Bill information includes repayment amount and refunded the time;
Set according to the time of refunding and remind item, remind item to include repayment amount;
Bill prompting is carried out according to item is reminded.
Second aspect according to embodiments of the present invention, there is provided a kind of bill alarm set, the device include:
Information reading module, for reading the communication information;
Information extraction modules, for when the communication information is the bill communication information, extracting template extraction by bill and communicating Bill information in information, bill information include repayment amount and refunded the time;
Setup module is reminded, item is reminded for being set according to the time of refunding, reminds item to include repayment amount;
Bill prompting module, for carrying out bill prompting according to prompting item.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought includes:
By reading the communication information;When the communication information is the bill communication information, template extraction is extracted by bill and communicated Bill information in information;Set according to the time of refunding and remind item;Bill prompting is carried out according to item is reminded;Solve existing User's manual creation memorandum item is needed in technology, and bill prompting is carried out according to memorandum item, so as to complete bill Refund, cause set bill remind it is cumbersome, setting up procedure dependent on user it is manually operated the problem of, reached and passed through Bill information in the bill extraction template extraction communication information, and according to reminding item to carry out bill prompting automatically, simplify and set Put the operation of bill prompting so that what bill was reminded crosses process automation, avoids the manually operated effect for setting bill to remind of user Fruit.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, make required in being described below to embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings Accompanying drawing.
Fig. 1 is a kind of structural representation for implementation environment that an exemplary embodiment of the invention provides;
Fig. 2 is the method flow diagram for the bill based reminding method that an exemplary embodiment of the invention provides;
Fig. 3 is the method flow diagram for the bill based reminding method that another exemplary embodiment of the present invention provides;
Fig. 4 is the interface schematic diagram that the bill that an exemplary embodiment of the invention provides is reminded;
Fig. 5 is the method flow diagram for the bill based reminding method that another exemplary embodiment of the present invention provides;
Fig. 6 is the method flow diagram for the bill extraction template generation method that an exemplary embodiment of the invention provides;
Fig. 7 is the schematic diagram for the generation bill extraction template that an exemplary embodiment of the invention provides;
Fig. 8 is the flow of the sub-step of step 603 in the bill extraction template generation method that embodiment illustrated in fig. 6 provides Figure;
Fig. 9 is the schematic diagram that two bills extraction template that an exemplary embodiment of the invention provides merges;
Figure 10 is the block diagram for the bill alarm set that an exemplary embodiment of the invention provides;
Figure 11 is the block diagram for the bill alarm set that another exemplary embodiment of the present invention provides;
Figure 12 is the structural representation for the terminal that one embodiment of the invention provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention Formula is described in further detail.
Fig. 1 is refer to, it illustrates a kind of structural representation of implementation environment provided in an embodiment of the present invention.The implementation ring Border includes:Terminal 120 and the communication server 140.
Terminal 120 can be mobile phone, tablet personal computer, E-book reader, MP3 (Moving Picture Experts Group Audio Layer III, dynamic image expert's compression standard audio aspect 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio aspect 4) it is player, on knee portable Computer and desktop computer etc..Communication class application program is installed, the communication class application program can be i.e. in terminal 120 When signal procedure, video communication program or voice communication programs.The communication class application program is that have to carry out word in social activity The application program of communication.For example the communication class application program is third party's short message application program, QQ mailboxes or Tencent QQ etc..
Established and connected by mobile network, wireless network or cable network between terminal 120 and the communication server 140.Eventually End 120 receives the communication information that the communication server 140 is sent.
The communication server 140 is the background server of communication class application program.The communication server 140 can be a service The server cluster or cloud computing center of device, multiple servers composition.
Optionally, can also include in the implementation environment:Template server 160.
Template server 160 is used to gather several bills extraction template, and several bills are extracted into appointing in template In meaning two bills extraction templates, variable word is merged into positioned at identical text point and the different fixation word fragment of content Fragment, the bill extraction template after being merged.
Connection is established by wireless network or cable network between terminal 120 and template server 160.Template server Bill extraction template after merging is sent to terminal 120 by 160;Terminal 120 stores the bill extraction mould after the merging received Plate.
Fig. 2 is refer to, the method flow diagram of the bill based reminding method provided it illustrates one embodiment of the invention.This reality Apply in the terminal 120 for the implementation environment that example is applied to shown in Fig. 1 with the bill based reminding method to illustrate.This method includes:
Step 201, the communication information is read.
Step 202, when the communication information is the bill communication information, the account in the template extraction communication information is extracted by bill Single information, bill information include repayment amount and refunded the time.
Step 203, set according to the time of refunding and remind item, remind item to include repayment amount.
Step 204, bill prompting is carried out according to prompting item.
In summary, the bill based reminding method that the present embodiment provides, extracted by bill in the template extraction communication information Bill information;Set according to the time of refunding and remind item;Bill prompting is carried out according to item is reminded;Solve needs in the prior art User's manual creation memorandum item is wanted, and bill prompting is carried out according to memorandum item, so as to complete the refund of bill, is caused Set bill remind it is cumbersome, setting up procedure dependent on user it is manually operated the problem of, reached and extracted by bill Bill information in the template extraction communication information, and according to reminding item to carry out bill prompting automatically, simplify and set bill to carry Awake operation so that what bill was reminded crosses process automation, avoids the manually operated effect for setting bill to remind of user.
Fig. 3 is refer to, the method flow diagram of the bill based reminding method provided it illustrates another embodiment of the present invention.This Illustrated in the terminal 120 for the implementation environment that embodiment is applied to shown in Fig. 1 with the bill based reminding method.This method bag Include:
Step 301, the communication information is read.
Terminal directly reads the content in the communication information after the communication information is received.Wherein, the communication information can be short Information, e-mail messages, instant messaging information etc..The present embodiment is not specifically limited to the type of the communication information.
Optionally, if carrying out the third party application being mounted in terminal of bill prompting, terminal is according to user Operation authorize in advance the third party application read the communication information authority.After terminal receives the communication information, the 3rd Square application program has permission the content for reading the communication information.
Step 302, when the communication information is the bill communication information, obtain the communication information sender number information and/or The keyword of the communication information.
Terminal detects whether the communication information is the bill communication information after the communication information is read.Such as:Obtain communication The content of information, whether the keyword search included according to the communication information the communication information is the bill communication information.
Whether it is that the mode of the bill communication information is not specifically limited to the detection communication information in the present embodiment.
When it is the bill communication information that terminal testing result, which is the communication information, the sender number letter of the communication information is obtained The keyword of breath and/or the communication information.Wherein, keyword can be one, or multiple.
Such as:The short message content that 10657558020200030 transmissions are received on Xiao Ming's mobile phone is:[Shenzhen power supply administration] Distinguished Xiao Ming client's (contract account:16228901, address:Shenzhen * * * 38):Your meter reading on the 06th in 07 day 01 month to 03 month Total electric 200 degree of number, 121 yuan of the electricity charge (the penalty date of start of calculation is 20160323).This month, bank withholdd day as 15 days.
The number information that then mobile phone gets sender is 10657558020200030, and the keyword of short message can wrap Include:Shenzhen power supply administration, total electric number and the electricity charge.
Step 303, bill extraction template is obtained according to sender number information and/or keyword.
Terminal after sender number information and/or keyword is got, according to the sender number information that gets and/ Or keyword obtains bill extraction template.
Such as:The number information that mobile phone gets sender is 10657558020200030, and the keyword of short message can be with Including:Shenzhen power supply administration, total electric number and the electricity charge.Mobile phone is according to 10657558020200030, Shenzhen power supply administration, total electric number and electricity Take and obtain bill extraction template corresponding with paying electric charge.
Optionally, bill extraction template includes fixed word fragment and variable word fragment, and variable word fragment is used to carry Win the confidence breath.
It should be added that terminal is obtaining bill extraction template according to sender number information and/or keyword Before, the communication information received can also be classified according to sender number information and/or keyword, to get Template is extracted with the bill that the communication information more matches.
In an exemplary example, paying electric charge bill extraction template is classified as follows shown in table one:
Table one
Such as:After terminal receives the communication information, the communication information is determined according to sender number information first Title, if belonging to the paying electric charge class shown in table one, the keyword in the communication information is it is determined that in paying electric charge Which category information, it is assumed that the keyword in the communication information includes being defined as payment prompting one kind when total electric number and the electricity charge etc..
Step 304, the communication information is extracted into the fixation word fragment in template with bill to be matched.
Terminal is extracted the fixation word fragment in template with bill after bill extraction template is got, by the communication information and entered Row matching, the bill information in the communication information can be thus extracted by the variable word fragment that bill is extracted in template.
Such as:The bill that terminal is got extracts template:" [Shenzhen power supply administration] distinguished [* n] client's (contract account: [1], address:Shenzhen * * * [2] number):Always electric number [7] degree, the electricity charge [8] member (are disobeyed for your [4] day [3] moon to [5] moon [6] day meter reading The about golden date of start of calculation is [9] day).This month, bank was [10] day at day of withholing ", wherein [i] represents have tagged placeholder, [* n] table Show asterisk wildcard;
The communication information received is:" [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:16228901, ground Location:Shenzhen * * * 38):Total electric 200 degree of the number of your meter reading on the 06th in 07 day 01 month to 03 month, 121 yuan of (penalty dates of start of calculation of the electricity charge For 20160323 days).This month, bank withholdd day as 15 days ".
Then the communication information received is extracted the fixation word fragment in template with bill and matched by terminal, obtains Matching result is:" [Shenzhen power supply administration] is distinguished ", " client's (contract account:", ", address:Shenzhen * * * ", " number):You ", " moon ", " day to ", " moon ", " day meter reading always electric number ", " degree, the electricity charge ", " member (the penalty date of start of calculation is ", " day).This month bank's button Money day is " and " day ".
Step 305, after fixed word fragment match, the variable word fragment obtained in bill extraction template is believed in communication The bill information of correspondence position in breath.
Terminal will after fixed word fragment match, obtain be located in the communication information and bill extraction template in variable text Bill information at word slice section same position.
Such as:In the above example, terminal gets in the communication information and carried with bill after it will fix word fragment match " Xiao Ming " of [* n] corresponding position, " 16228901 " of [1] opening position, " 38 " of [2] opening position, [3] position in modulus plate " 01 ", " 07 " of [4] opening position, " 03 " of [5] opening position, " 06 " of [6] opening position, " 200 ", [8] of [7] opening position at place " 121 " of opening position, " 15 " of " 20160323 " and [10] opening position of [9] opening position.Then terminal get receive it is logical Bill information in letter information includes:121 yuan of repayment amount, refund the time:15 days.
Step 306, set according to the time of refunding and remind item, remind item to include repayment amount.
Terminal is set after the refund time in getting the communication information and repayment amount according to the refund time got Item is reminded, and repayment amount is carried in item is reminded.
Such as:The refund time that terminal is got is 15, repayment amount is 121 yuan, then terminal was 13 days and 15 bus Not She Zhi one prompting item, remind item include 121 yuan of repayment amount.
Step 307, bill prompting is carried out according to prompting item.
Terminal carries out bill prompting after prompting item is set, at the time point of setting.Optionally, bill prompting is carried out Mode can include:Mode of the mode of pop-up, the mode of floating window or voice etc..
Such as:In the above example, terminal 41 reminded user to pay electricity before 15 days on 13rd by way of pop-up Take 121 yuan.The bill that terminal 41 is shown is reminded as shown in Figure 4;The content 42 that bill is reminded is " the please electricity payment before 15 days 121 yuan ", the same day of terminal 41 will no longer carry out bill prompting if user clicks on "Yes", if user clicks on "No", terminal 41 is worked as It carries out bill prompting again in preset time point.
In summary, the bill based reminding method that the present embodiment provides, extracted by bill in the template extraction communication information Bill information;Set according to the time of refunding and remind item;Bill prompting is carried out according to item is reminded;Solve needs in the prior art User's manual creation memorandum item is wanted, and bill prompting is carried out according to memorandum item, so as to complete the refund of bill, is caused Set bill remind it is cumbersome, setting up procedure dependent on user it is manually operated the problem of, reached and extracted by bill Bill information in the template extraction communication information, and according to reminding item to carry out bill prompting automatically, simplify and set bill to carry Awake operation so that what bill was reminded crosses process automation, avoids the manually operated effect for setting bill to remind of user.
Based in the embodiment shown in Fig. 3, terminal is extracted in the template extraction communication information by the bill prestored Bill information, as a kind of possible implementation, terminal can also by sending information acquisition request to template server, by Template server extracts bill information from the communication information, receives the bill information of template server feedback.In step 304 to step Rapid 305 can be using replaces realization as following steps 501 to step 507, as shown in Figure 5:
Step 501, detect whether network connection be present.
Terminal, which detects, itself whether there is network connection, such as:Whether terminal is connected with wireless network or cable network Deng.
Two kinds of testing results occur in detection process, if testing result performs step 502 network connection to be present To step 503;If testing result is in the absence of network connection, step 504 is performed to step 509.
Step 502, if network connection be present, information acquisition request is sent to template server, in information acquisition request Carry the communication information.
When terminal detects that itself has network connection, illustrate network connection between terminal and template server be present, Then terminal sends information acquisition request to template server, and the information acquisition request is used to ask template server according to storage Bill information in the bill extraction template parsing communication information, and the bill information that parsing is obtained feeds back to terminal.
Step 503, the bill information of template server feedback is received.
Optionally, template server actively can will parse obtained bill information feedback after parsing obtains bill information To terminal or when receiving the result queries request of terminal transmission, the bill information being resolved to is fed back into terminal, Wherein, result queries request is the request that terminal has been sent after information acquisition request has been sent, for being obtained to template server Parse obtained bill information.
Step 504, if network connection is not present, the communication information is extracted into the fixation word fragment in template with bill and entered Row matching.
When terminal detects that network connection is not present in itself, illustrate not setting up connection between terminal and template server, Fixation word fragment in the bill extraction template that then terminal prestores according to itself matches to the communication information.Specific It is refer to process shown in the step 304 in embodiment illustrated in fig. 3.
Step 505, after fixed word fragment match, the variable word fragment obtained in bill extraction template is believed in communication The bill information of correspondence position in breath.
Terminal will after fixed word fragment match, obtain be located in the communication information and bill extraction template in variable text Bill information at word slice section same position.
Optionally, after it network connection be present, then step 502 is performed to step 503.
After bill information in the bill extraction template extraction to the communication information that terminal prestores according to itself, in terminal When network connection be present, information acquisition request, request template server feedback template server root can be sent to template server Template extraction is extracted to the bill information in the communication information according to the bill of itself storage.
That is, even if the bill that terminal prestores according to itself extracts the bill in template extraction to the communication information After information, when terminal connects network, still information acquisition request can be sent to template server.
Step 506, whether the bill information of detection template server feedback and the bill information that local terminal extracts are identical.
Terminal puies forward the bill that terminal prestores according to itself after the bill information of template server feedback is received The bill information that modulus plate extracts detects the bill information received and carried with local terminal compared with the bill information received Whether the bill information got is identical.
Two kinds of testing results occur in detection process, if testing result is identical, directly perform step 306;If Testing result differs, then performs step 507
Step 507, if differing, the bill information fed back with template server enters to the bill information that local terminal extracts Row amendment.
When terminal detects bill information that bill information and the local terminal of the template server received feedback extract not When identical, then the bill information that terminal is fed back using the template server received is repaiied to the bill information that local terminal extracts Just.It is, the bill information that the template server received is fed back is defined as final bill information.
Optionally, terminal can also receive the bill extraction template of template server transmission, and the bill prestored is extracted Template is updated.The bill extraction template prestored includes at least one bill extraction template.
Optionally, terminal can also record the bill to match with the communication information and extract template, be carried to count bill The service efficiency of modulus plate.
In summary, the bill based reminding method that the present embodiment provides, extracted by bill in the template extraction communication information Bill information;Set according to the time of refunding and remind item;Bill prompting is carried out according to item is reminded;Solve needs in the prior art User's manual creation memorandum item is wanted, and bill prompting is carried out according to memorandum item, so as to complete the refund of bill, is caused Set bill remind it is cumbersome, setting up procedure dependent on user it is manually operated the problem of, reached and extracted by bill Bill information in the template extraction communication information, and according to reminding item to carry out bill prompting automatically, simplify and set bill to carry Awake operation so that what bill was reminded crosses process automation, avoids the manually operated effect for setting bill to remind of user.
In addition, by sending information acquisition request to template server, the bill information of template server feedback is received, it is right Itself is modified according to the bill information of the bill extraction template extraction prestored, improves the bill information that gets Accuracy.
It should be added that in embodiment shown in Fig. 5, it is possible to achieve it is three kinds of different bill based reminding methods, The first:If terminal in not connected network, only extracts template extraction bill information, and set and carry by the bill of itself storage Wake up item, then can directly perform step 301 to 303, step 501, step 504 to step 505 and step 306 to step 307.
Second:If terminal first extracts template extraction bill information in not connected network according to the bill of local terminal, even After connecing network, then to template server information acquisition request is sent, receive the bill information of template server feedback, and by local terminal The bill information extracted is compared with the bill information that template server is fed back, it is determined that final bill information, and set Item is reminded, then can perform step 301 to 303, step 501 to step 508 and step 306 to step 307.
The third:If terminal when connecting network, can directly to template server send information acquisition request, and according to The bill information of template server feedback directly sets prompting item, then can perform step 301 to step 303, step 501 to Step 503 and step 306 are to step 307.
In an exemplary example, the paying electric charge of 10657558020200030 transmissions is received on Xiao Ming's mobile phone Short message content is:[Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:16228901, address:Shenzhen * * * 38 Number):Total electric 200 degree of the number of your meter reading on the 06th in 07 day 01 month to 03 month, 121 yuan of the electricity charge (the penalty date of start of calculation is 20160323). This month, bank withholdd day as 15 days.Mobile phone reads sender number information first:10657558020200030;Keyword:It is deep Ditch between fields power supply administration, total electric number and the electricity charge.Mobile phone obtains bill corresponding with paying electric charge according to sender number information and keyword Extract template;Repayment amount 121 and refund of the mobile phone in the bill extraction template extraction paying electric charge short message got 15 days time.Mobile phone also can detect whether itself is connected with network, if being connected with network, mobile phone takes paying electric charge short message Band is sent to template server in information acquisition request;Template server is according to the acquisition storage of paying electric charge short message and this Bill corresponding to paying electric charge extracts template, and template server extracts template extraction paying electric charge short message according to the bill got Repayment amount and refund time in breath, and the repayment amount extracted and refund time feedbacking will be received to mobile phone, mobile phone To repayment amount and refund time and the repayment amount itself extracted and compared with the refund time, if occurring between the two Differ, then mobile phone feeds back the template server received repayment amount and time of refunding as final repayment amount and Refund the time, and set according to the repayment amount finally determined and time of refunding and remind item, finally according to refund time alarm User completes to refund.Optionally, mobile phone can also receive the bill extraction template of template server transmission, to the account of local terminal storage Single extraction template is updated.
Embodiment shown in Fig. 2, Fig. 3 and Fig. 5 is that the bill that terminal is extracted by bill in the template extraction communication information is believed Breath, and set according to the bill information extracted and remind item, carry out bill prompting.The generation method of bill extraction template please join Following examples are examined, the present embodiment extracts template of the generation method of template applied to the implementation environment shown in Fig. 1 with the bill Illustrated in server 160.As shown in fig. 6, this method includes:
Step 601, several sample communications information are gathered.
Template server gathers several sample communications information first, includes each class in several sample communications information The communication information of type, such as:Sample short message, sample post information or sample instant messaging information etc..
The type of the sample communications information of collection is not especially limited in the present embodiment.
Optionally, template server is classified to the sample communications information received, such as:According to sample communications information Sender number information and keyword sample communications information is classified.
In an exemplary example, if several sample communications information that template server collects are life payments The communication information, then template server will be lived communication letter of paying the fees according to the sender number information of sample communications information and keyword Breath is divided into:The paying electric charge communication information, the water rate payment communication information and the gas charge payment communication information, and by sorted life The payment communication information is stored into Sample Storehouse.
Step 602, the digit strings in each sample communications information or alphabetic character string are replaced with into variable letter plate Section, obtain bill extraction template.
Template server is after several sample communications information are collected, by the numerical character in each sample communications information String or alphabetic character string replace with variable word fragment, obtain bill extraction template.
Exemplified by collecting several sample short messages, such as:The content for the electricity charge short message that template server collects For:" [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:16228901, address:Shenzhen * * * 38):You have 01 month 07 Day to total electric 200 degree of the number of meter reading on the 06th in 03 month, 121 yuan of the electricity charge (the penalty date of start of calculation is 20160323).This month, bank withholdd Day is 15 ".
Digit strings during then template server ceases the credit card short message got replace with the tagged occupy-place of tool Symbol, obtained bill extraction template are:" [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:[1], address:Shenzhen City * * * [2] number):Total electric number [7] degree of your [4] day [3] moon to [5] moon [6] day meter reading, (the penalty date of start of calculation is the electricity charge [8] member [9] day).This month, bank was [10] day at day of withholing ".It refer to shown in Fig. 7.
Optionally, bill extraction template includes at least one fixed word fragment and at least one variable word fragment, Fixed word fragment and variable word fragment are generally alternately present.
Step 603, the bill extraction template that similarity is reached to predetermined condition is clustered to a template set.
Template server is carried out any two bill extraction template similar after several bills extraction template is got Degree compares, and when similarity reaches predetermined condition, two bills are extracted template cluster to a template set by template server In.In other words, the similarity between any two bill extraction template in a template set has all reached predetermined condition.
In a kind of possible embodiment, as shown in figure 8, step 603 can include following several sub-steps:
Step 603a, the fixation word fragment allocated segment ID in template, the different fixation of content are extracted for each bill Word fragment distributes different fragment ID.
Template server obtains the fixed text in each bill extraction template after several bills extraction template is got The content of word slice section, template server are that the fixation word fragment allocated segment that each bill is extracted in template identifies (Identity, ID);The fixation word fragment that content differs distributes different fragment ID, and content identical fixes word fragment Distribute identical fragment ID.
Such as:It is assumed that variable word fragment is has tagged placeholder, two bills that template server receives carry Modulus plate is two short message templates, and the particular content of two short message templates is respectively:
" [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:[1], address:Shenzhen * * * [2] number):Your [3] moon [4] always electric number [7] degree, the electricity charge [8] are first (the penalty date of start of calculation is [9] day) for day to [5] moon [6] day meter reading.This month, bank withholdd Day is [10] day ";With,
" [Shenzhen power supply administration] distinguished small honker family (contract account:[1], address:Shenzhen * * * [2] number):Your [3] moon [4] always electric number [7] degree, the electricity charge [8] are first (the penalty date of start of calculation is [9] day) for day to [5] moon [6] day meter reading.This month, bank withholdd Day is [10] day "
Wherein, [i] represents i-th of variable word fragment.
Template server obtains 12 fixed words of first short message template using variable word fragment as partitioning site Fragment includes:" [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:", ", address:Shenzhen * * * ", " number):You ", " moon ", " day to ", " moon ", " day meter reading always electric number ", " degree, the electricity charge ", " member (the penalty date of start of calculation is ", " day).This month bank's button Money day is " and " day ".
Template server obtains 12 fixed words of Article 2 short message template using variable word fragment as partitioning site Fragment includes:" [Shenzhen power supply administration] distinguished small honker family (contract account:", ", address:Shenzhen * * * ", " number):You ", " moon ", " day to ", " moon ", " day meter reading always electric number ", " degree, the electricity charge ", " member (the penalty date of start of calculation is ", " day).This month bank's button Money day is " and " day ".
It is assumed that template server is that the fragment ID that each fixed word fragment in first short message template is distributed is as follows: " [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:" fragment ID be 1, ", address:Shenzhen * * * " fragments ID be 2, " number):You " fragment ID is 3, " moon " fragment ID is 4, " day to " fragment ID be 5, " day meter reading always electric number " fragment ID is 6, " spend, The electricity charge " fragment ID is 7, " member (the penalty date of start of calculation is " fragment ID is 8, " day).This month, bank was at day of withholing " fragment ID is 9 Hes " day " fragment ID is 10;Due in Article 2 short message template except first fixed word fragment and first short message template In the content of first fixed word fragment differ, remaining content for fixing word fragment all corresponds to identical, then template takes Business device is that the fragment ID of each fixed word fragment distribution in Article 2 message template is respectively:" [Shenzhen power supply administration] respects Small honker family (contract account:" fragment ID be 11, ", address:Shenzhen * * * " fragments ID be 2, " number):You " fragment ID be 3, " moon " fragment ID is 4, " day to " fragment ID be 5, " day meter reading always electric number " fragment ID be 6, " degree, the electricity charge " fragment ID is 7, " first (the penalty date of start of calculation is " fragment ID be 8, " day).This month, bank was at day of withholing " fragment ID is 9 and " day " fragment ID be 10, ask With reference to shown in figure 9.
Optionally, the fixation word fragment in each bill extraction template is with variable by the content in bill extraction template Word fragment is division limits, and division obtains each fixed word fragment.
Such as:Bill extracts template " [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account:[1], address:Shenzhen City * * * [2] number):Total electric number [7] degree of your [4] day [3] moon to [5] moon [6] day meter reading, (the penalty date of start of calculation is the electricity charge [8] member [9] day).This month, bank was [10] day at day of withholing " with variable word fragment [1], [2], [3], [4], [5], [6], [7], [8], [9] and [10] are used as division limits, and statement extraction template is divided to obtain each fixed word fragment as follows:" [Shenzhen supplies Electric office] distinguished Xiao Ming client's (contract account:", ", address:Shenzhen * * * ", " number):You ", " moon ", " day to ", " moon ", " day meter reading always electric number ", " degree, the electricity charge ", " member (the penalty date of start of calculation is ", " day).This month, bank was at day of withholing " and " day ".
Step 603b, the fragment ID that each bill is extracted corresponding to each fixed word fragment in template is sequentially arranged Row, obtain the template vector of bill extraction template.
Template server, will be every after fragment ID corresponding to the fixation word fragment distribution during template is extracted to each bill Each fragment ID in individual bill extraction template is arranged according to sequencing of the fixed word fragment in bill extracts template Row, obtain the template vector of each bill extraction template.
Such as:Each fixed word in first short message template and Article 2 short message template as shown in Figure 9 Exemplified by fragment ID corresponding to fragment, then the template vector of first short message template for [1,2,3,4,5,4,6,7,8,9, 10], the template vector of Article 2 short message template is [11,2,3,4,5,4,6,7,8,9,10].
Whether step 603c, the template vector of detection any two bill extraction template meet predetermined condition.
Predetermined condition includes:Len1=len2 and diffs < th2 and len1 >=th3, or, len1=len2 and diffs =th4 and len1 > th5;
Wherein, len1 represents the length of the template vector of a bill extraction template, and len2 represents that another bill is extracted The length of the template vector of template;Diffs represents the fragment for being located at same position in the template vector of two bill extraction templates There is the number differed in ID;Th2 represents Second Threshold, and th3 represents the 3rd threshold value, and th4 represents the 4th threshold value, and th5 represents the Five threshold values.Preferably, Second Threshold can be 3, and the 3rd threshold value can be 5, and the 4th threshold value can be 1, and the 5th threshold value can be 5。
Such as:With reference to each fixation in the first short message template and Article 2 short message template shown in Fig. 9 Template vector [1,2,3,4,5,4,6,7,8,9,10] that fragment ID corresponding to word fragment is obtained and [11,2,3,4,5,4, 6,7,8,9,10];Because the length of the template vector [1,2,3,4,5,4,6,7,8,9,10] of first short message template is 11, Then len1 is 11, and the length of the template vector [11,2,3,4,5,4,6,7,8,9,10] of Article 2 short message template is also 11, then Len2 is also 11;Due to template vector [1,2,3,4,5,4,6,7,8,9,10] and [11,2,3,4,5,4,6,7,8,9,10] it Between only differed positioned at the fragment ID of first position, therefore diffs is 1.
Testing result in step 603c can include two kinds, when testing result is to meet preparatory condition, then perform step Rapid 603d;If testing result is when being unsatisfactory for preparatory condition, to perform step 603e.
Step 603d, if meeting preparatory condition, two bills are extracted into template and are added to same template set.
If template server detect any two bill extraction template template vector meet preparatory condition, illustrate this two Similarity between individual bill extraction template is higher, then the two bills extraction template is added to same mould by template server Plate set.
Step 603e, if being unsatisfactory for preparatory condition, two bills are extracted with template without cluster operation.
If template server detects that the template vector of any two bill extraction template is unsatisfactory for preparatory condition, illustrate this Similarity between two bill extraction templates is not high, then template server extracts template to the two bills without cluster Operation.
Step 604, any two bill in template set is extracted into template, is defined as the first bill extraction template and the Two bills extract template.
Template server, which will be clustered to any two bill extraction template in a template set, is defined as the first bill Extract template and the second bill extraction template.
Step 605, the first bill is extracted into template and is transformed to the second bill extraction template according to most short editing distance, obtained Map function sequence.
Wherein, map function sequence includes:Reservation operations, deletion action and insertion operation.
Optionally, the deletion action in map function sequence and insertion operation be mutually corresponding to perform operation.
First bill is extracted mould by template server it is determined that after the first bill extraction template and the second bill extraction template Plate is transformed to the second extraction template according to most short editing distance, and map function sequence is obtained in conversion process.
Wherein, most short editing distance refers to the first bill extraction template transformation for required for the second bill extraction template Map function is minimum.
Such as:First short message template and Article 2 short message template with reference to shown in figure 9, by first short message mould The map function sequence that plate is transformed to Article 2 short message template according to most short editing distance includes:Retain " distinguished ", delete " Xiao Ming ", insertion " small red " and reservation " client's (contract account:[1], address:Shenzhen * * * [2] number):Your [4] day [3] moon To [5] moon [6] day meter reading, always electric number [7] degree, the electricity charge [8] are first (the penalty date of start of calculation is [9] day).This month, bank was at day of withholing [10] day ".
Step 606, whether detection map function sequence meets merging condition.
First bill extraction template is transformed to the second bill according to most short editing distance and carried getting by template server After the map function sequence of modulus plate, detect whether the map function sequence got meets merging condition.
Wherein, merging condition includes:
Diffs≤th1, and diff 1=diff 2, and max≤M1/2, and max≤M2/2,
Or, diffs≤th1, and diff 1 is connected with diff 2, and max≤M1/2, and max≤M2/2;
Wherein, diffs represents the number of deletion action or the number of insertion operation in map function sequence, equivalent to step There is the number differed positioned at the fragment ID of same position in the template vector of two bill extraction templates in 603c;diff 1 Represent text point corresponding to text point corresponding to deletion action or insertion operation in map function sequence;Diff 2 represents to become Change in the sequence of operation text point corresponding to text point corresponding to deletion action or insertion operation;Diff 1 and the correspondences of diff 2 Map function differ;Max represents the character in the content of deletion action and the content of insertion operation in map function sequence The maximum of length;M1 represents the fixation word where the content of the interior perhaps insertion operation of deletion action in map function sequence The character length of fragment;M2 represents the fixed text where the content of the interior perhaps insertion operation of deletion action in map function sequence The character length of word slice section;Map function corresponding to M1 and M2 differs;Th1 represents first threshold.Preferably, first threshold can Think 2.
Such as:First short message template and Article 2 short message template with reference to shown in figure 9, by first short message mould Plate is transformed to once deletion action in the map function sequence of Article 2 short message template be present according to most short editing distance, In the presence of an insertion operation, therefore diffs is 1;" Xiao Ming " that diff 1 represents to delete is corresponding in first short message template Text point;" small red " that diff 2 represents to insert corresponding text point in Article 2 short message template;Max represents to delete The maximum of character length in " Xiao Ming " and " small red " of insertion that removes, because the character length of " Xiao Ming " of deletion is 4, insert The character length of " small red " that enters also is 4, then max is 4;Fixation word in first short message template where " Xiao Ming " Content " [Shenzhen power supply administration] distinguished Xiao Ming client's (contract account of fragment:" character length be 36, then M1 be 36;Due to Content " [Shenzhen power supply administration] distinguished small honker family of fixation word fragment in Article 2 short message template where " small red " (contract account:" character length be 36, then M2 also be 36.
In the detection process of step 606, it may appear that two kinds of testing results, when testing result is to meet merging condition, Then perform step 607;When testing result is to be unsatisfactory for merging condition, then step 608 is performed.
Step 607, if meeting merging condition, the first bill is extracted into template and the second bill extraction template is closed And the bill extraction template after being merged.
Wherein, the fixation word fragment in the bill extraction template after merging positioned at text point is merged into variable word Fragment.
Optionally, variable word fragment can include asterisk wildcard;That is, the bill after merging is extracted and is located in template The fixation word fragment of text point is merged into asterisk wildcard.
If template server detection finds the first bill extraction template being transformed to the second bill according to most short editing distance The map function sequence of extraction template meets merging condition, illustrates that the first bill extraction template is extracted in template with the second bill The fixation word fragment that text point is identical and content differs can be merged into variable word fragment, then put forward the first bill Modulus plate and the second bill extraction template merge, the bill extraction template after being merged.
Such as:It refer to the first short message template and Article 2 short message template shown in Fig. 9, it is assumed that first threshold is 2, due to first short message template is transformed in Article 2 short message template procedure according to most short editing distance, diffs= 1, diff1=diff2, max=4, M1=36, M2=36, so first short message template is become according to most short editing distance The map function sequence for being changed to Article 2 short message template meets merging condition diffs≤2, and diff 1=diff 2, and max ≤ M1/2, and max≤M2/2, then first short message template and Article 2 short message template are merged, after obtaining merging Short message template be:[Shenzhen power supply administration] distinguished [* n] client's (contract account:[1], address:Shenzhen * * * [2] number): Always electric number [7] degree, the electricity charge [8] are first (the penalty date of start of calculation is [9] day) for your [4] day [3] moon to [5] moon [6] day meter reading.This month silver Capable day of withholing is [10] day, wherein, [* n] is asterisk wildcard.
Step 608, if being unsatisfactory for merging condition, template is not extracted to the first bill and the second bill extraction template is entered Row union operation.
If template server detection finds the first bill extraction template being transformed to the second bill according to most short editing distance The map function sequence of extraction template is unsatisfactory for merging condition, illustrates that the first bill extraction template is extracted in template with the second bill The fixation word fragment that text point is identical and content differs cannot be merged into variable word fragment, then not to first Bill extracts template and the second bill extraction template merges operation.
It should be added that the bill extraction template after merging in embodiment shown in Fig. 6 is Fig. 2, Fig. 3 and Fig. 5 The bill extraction template used in shown embodiment.
Figure 10 is refer to, the block diagram of the bill alarm set provided it illustrates one embodiment of the invention.Should Device can be implemented in combination with as some or all of of terminal by software, hardware or both.The device can include:Letter Cease read module 1020, information extraction modules 1040, remind setup module 1060 and bill prompting module 1080.
Information reading module 1020, for reading the communication information.
Information extraction modules 1040, for when the communication information is the bill communication information, template extraction to be extracted by bill Bill information in the communication information, bill information include repayment amount and refunded the time.
Setup module 1060 is reminded, item is reminded for being set according to the time of refunding, reminds item to include repayment amount.
Bill prompting module 1080, for carrying out bill prompting according to prompting item.
In summary, the bill alarm set that the present embodiment provides, extracted by bill in the template extraction communication information Bill information;Set according to the time of refunding and remind item;Bill prompting is carried out according to item is reminded;Solve needs in the prior art User's manual creation memorandum item is wanted, and bill prompting is carried out according to memorandum item, so as to complete the refund of bill, is caused Set bill remind it is cumbersome, setting up procedure dependent on user it is manually operated the problem of, reached and extracted by bill Bill information in the template extraction communication information, and according to reminding item to carry out bill prompting automatically, simplify and set bill to carry Awake operation so that what bill was reminded crosses process automation, avoids the manually operated effect for setting bill to remind of user.
Figure 11 is refer to, the block diagram of the bill alarm set provided it illustrates another embodiment of the present invention. The device can be implemented in combination with as some or all of of terminal by software, hardware or both.The device can include: Information reading module 1110, information extraction modules 1120, remind setup module 1130 and bill prompting module 1140.
Information reading module 1110, for reading the communication information.
In a kind of possible implementation, the device, it can also include:Number acquisition module 1170 and template obtain mould Block 1180.
Number acquisition module 1170, for obtaining the sender number information of the communication information and/or the key of the communication information Word.
Template acquisition module 1180, for obtaining bill extraction template according to sender number information and/or keyword.
In a kind of possible implementation, bill extraction template is that the first bill is extracted into template and the extraction of the second bill In template, the bill extraction of variable word fragment is merged into positioned at identical text point and the different fixation word fragment of content Template.
Information extraction modules 1120, for when the communication information is the bill communication information, template extraction to be extracted by bill Bill information in the communication information, bill information include repayment amount and refunded the time.
In a kind of possible implementation, bill extraction template includes fixed word fragment and variable word fragment, becomes Amount word fragment is used to extract information;Information extraction modules 1120, including:Fragment match unit 1121 and information acquisition unit 1122。
Fragment match unit 1121, for the communication information and bill to be extracted to the fixation word fragment progress in template Match somebody with somebody.
Information acquisition unit 1122, for after fixed word fragment match, obtaining the variable text in bill extraction template The bill information of correspondence position of the word slice section in the communication information.
In a kind of possible implementation, the device, it can also include:Network detection module 1151, request send mould Block 1152, information receiving module 1153 and fragment match unit 1121.
Network detection module 1151, for detecting whether network connection be present.
Request sending module 1152, if for network connection be present, information acquisition request is sent to server, information obtains Take in request and carry the communication information.
Information receiving module 1153, for the bill information of the reception server feedback, bill information is server by depositing The bill of storage extract template extraction to the communication information in bill information.
Fragment match unit 1121, if being additionally operable to that network connection is not present, perform and the communication information and bill are extracted into mould The step of fixation word fragment in plate is matched.
In a kind of possible implementation, the device, it can also include:Information detecting module 1161 and Information revision mould Block 1162.
Request sending module 1151, is additionally operable to after it network connection be present, then sends information acquisition request to server.
Information detecting module 1161, the bill information for detection service device feedback are with the bill information that local terminal extracts It is no identical.
Information revision module 1162, if for differing, local terminal is extracted with the bill information of server feedback Bill information is modified.
Setup module 1130 is reminded, item is reminded for being set according to the time of refunding, reminds item to include repayment amount.
Bill prompting module 1140, for carrying out bill prompting according to prompting item.
In summary, the bill alarm set that the present embodiment provides, extracted by bill in the template extraction communication information Bill information;Set according to the time of refunding and remind item;Bill prompting is carried out according to item is reminded;Solve needs in the prior art User's manual creation memorandum item is wanted, and bill prompting is carried out according to memorandum item, so as to complete the refund of bill, is caused Set bill remind it is cumbersome, setting up procedure dependent on user it is manually operated the problem of, reached and extracted by bill Bill information in the template extraction communication information, and according to reminding item to carry out bill prompting automatically, simplify and set bill to carry Awake operation so that what bill was reminded crosses process automation, avoids the manually operated effect for setting bill to remind of user.
In addition, by sending information acquisition request to template server, the bill information of template server feedback is received, it is right Itself is modified according to the bill information of the bill extraction template extraction prestored, improves the bill information that gets Accuracy.
It should be noted that:The device that the bill that above-described embodiment provides is reminded is when bill is reminded, only with above-mentioned each work( Can module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different functions Module is completed, i.e., the internal structure of terminal is divided into different functional modules, described above all or part of to complete Function.In addition, the embodiment of the method that the device that the bill that above-described embodiment provides is reminded is reminded with bill belongs to same design, its Specific implementation process refers to embodiment of the method, repeats no more here.
Figure 12 is refer to, the block diagram of the terminal 1200 provided it illustrates one embodiment of the invention, the terminal can wrap Include radio frequency (RF, Radio Frequency) circuit 1201, include depositing for one or more computer-readable recording mediums Reservoir 1202, input block 1203, display unit 1204, sensor 1205, voicefrequency circuit 1206, Wireless Fidelity (WiFi, Wireless Fidelity) module 1207, include one or processor 1208, the Yi Ji electricity of more than one processing core The grade part of source 1209.It will be understood by those skilled in the art that the restriction of the terminal structure shown in Figure 12 not structure paired terminal, It can include than illustrating more or less parts, either combine some parts or different parts arrangement.Wherein:
RF circuits 1201 can be used for receive and send messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information receives, transfer to one or more than one processor 1208 is handled;In addition, it is sent to up data are related to Base station.Generally, RF circuits 1201 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillators, Subscriber identity module (SIM, Subscriber Identity Module) card, transceiver, coupler, low-noise amplifier (LNA, Low Noise Amplifier), duplexer etc..In addition, RF circuits 1201 can also by radio communication and network and Other equipment communicates.The radio communication can use any communication standard or agreement, including but not limited to global system for mobile telecommunications System (GSM, Global System of Mobile communication), general packet radio service (GPRS, General Packet Radio Service), CDMA (CDMA, Code Division Multiple Access), wideband code division it is more Location (WCDMA, Wideband Code Division Multiple Access), Long Term Evolution (LTE, Long Term Evolution), Email, Short Message Service (SMS, Short Messaging Service) etc..
Memory 1202 can be used for storage software program and module, and processor 1208 is stored in memory by operation 1202 software program and module, so as to perform various function application and data processing.Memory 1202 can mainly include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can store uses what is created according to terminal Data (such as voice data, phone directory etc.) etc..In addition, memory 1202 can include high-speed random access memory, may be used also With including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.Correspondingly, memory 1202 can also include Memory Controller, to provide processor 1208 and input block 1203 to depositing The access of reservoir 1202.
Input block 1203 can be used for the numeral or character information for receiving input, and generation is set with user and function Control relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Specifically, in a specific embodiment In, input block 1203 may include touch sensitive surface and other input equipments.Touch sensitive surface, also referred to as touch display screen or tactile Control plate, collect user on or near it touch operation (such as user using any suitable object such as finger, stylus or Operation of the annex on touch sensitive surface or near touch sensitive surface), and corresponding connection dress is driven according to formula set in advance Put.Optionally, touch sensitive surface may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects the signal that touch operation is brought, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 1208, and can reception processing Order that device 1208 is sent simultaneously is performed.It is furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc. Type realizes touch sensitive surface.Except touch sensitive surface, input block 1203 can also include other input equipments.Specifically, its His input equipment can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), track One or more in ball, mouse, action bars etc..
Display unit 1204 can be used for display by user input information or be supplied to user information and terminal it is each Kind graphical user interface, these graphical user interface can be made up of figure, text, icon, video and its any combination.It is aobvious Show that unit 1204 may include display panel, optionally, liquid crystal display (LCD, Liquid Crystal can be used Display), the form such as Organic Light Emitting Diode (OLED, Organic Light-Emitting Diode) configures display surface Plate.Further, touch sensitive surface can cover display panel, after touch sensitive surface detects the touch operation on or near it, Processor 1208 is sent to determine the type of touch event, is followed by subsequent processing device 1208 according to the type of touch event in display surface Corresponding visual output is provided on plate.Although in fig. 12, touch sensitive surface is that the part independent as two comes with display panel Input and input function are realized, but in some embodiments it is possible to touch sensitive surface and display panel is integrated and realizes and inputs And output function.
Terminal may also include at least one sensor 1205, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel, proximity transducer can close display panel and/or the back of the body when terminal is moved in one's ear Light.As one kind of motion sensor, gravity accelerometer can detect in all directions (generally three axles) acceleration Size, size and the direction of gravity are can detect that when static, available for identification mobile phone posture application (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;It can also configure as terminal Gyroscope, barometer, hygrometer, thermometer, the other sensors such as infrared ray sensor, will not be repeated here.
Voicefrequency circuit 1206, loudspeaker, microphone can provide the COBBAIF between user and terminal.Voicefrequency circuit 1206 Electric signal after can the voice data that received be changed, is transferred to loudspeaker, and voice signal output is converted to by loudspeaker;Separately On the one hand, the voice signal of collection is converted to electric signal by microphone, and voice data is converted to after being received by voicefrequency circuit 1206, After voice data output processor 1208 is handled again, through RF circuits 1201 to be sent to such as another terminal, or by audio Data output is to memory 1202 further to handle.Voicefrequency circuit 1206 is also possible that earphone jack, to provide peripheral hardware The communication of earphone and terminal.
WiFi belongs to short range wireless transmission technology, and terminal can help user's transceiver electronicses postal by WiFi module 1207 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and accessed.Although Figure 12 is shown WiFi module 1207, but it is understood that, it is simultaneously not belonging to must be configured into for terminal, can not change as needed completely Become in the essential scope of invention and omit.
Processor 1208 is the control centre of terminal, using various interfaces and the various pieces of connection whole mobile phone, By running or performing the software program and/or module that are stored in memory 1202, and call and be stored in memory 1202 Interior data, the various functions and processing data of terminal are performed, so as to carry out integral monitoring to mobile phone.Optionally, processor 1208 may include one or more processing cores;Preferably, processor 1208 can integrate application processor and modulation /demodulation processing Device, wherein, application processor mainly handles operating system, user interface and application program etc., and modem processor is mainly located Manage radio communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1208.
Terminal also includes the power supply 1209 (such as battery) to all parts power supply, it is preferred that power supply can pass through power supply Management system and processor 1208 are logically contiguous, so as to realize management charging, electric discharge and power consumption pipe by power-supply management system The functions such as reason.Power supply 1209 can also include one or more direct current or AC power, recharging system, power failure Detect the random components such as circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, terminal can also include camera, bluetooth module etc., will not be repeated here.Specifically in this implementation In example, the processor 1208 in terminal can run the one or more programmed instruction being stored in memory 1202, from And realize the method for information display provided in above-mentioned each embodiment of the method.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can To instruct the hardware of correlation to complete by program, the program can be stored in a computer-readable recording medium, storage Medium can include:Read-only storage (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.

Claims (12)

1. a kind of bill based reminding method, it is characterised in that methods described includes:
Read the communication information;
When the communication information is the bill communication information, the bill extracted by bill in the communication information described in template extraction is believed Breath, the bill information include repayment amount and refunded the time;
Set according to the refund time and remind item, the prompting item includes the repayment amount;
Bill prompting is carried out according to the prompting item.
2. according to the method for claim 1, it is characterised in that the bill extraction template includes fixed word fragment and change Word fragment is measured, the variable word fragment is used to extract information;
The bill information extracted by bill in the communication information described in template extraction, including:
The communication information is extracted into the fixed word fragment in template with the bill to be matched;
After the fixed word fragment match, the variable word fragment in the bill extraction template is obtained described logical The bill information of correspondence position in letter information.
3. according to the method for claim 2, it is characterised in that described that the communication information and the bill are extracted into template In the fixed word fragment matched before, in addition to:
Detect whether network connection be present;
If the network connection be present, information acquisition request is sent to server, described information obtains to be carried in request State the communication information;The bill information of the server feedback is received, the bill information is account of the server by storage Single extraction template extraction to the communication information in bill information;
If the network connection is not present, perform it is described the communication information and the bill are extracted it is described solid in template Determine the step of word fragment is matched.
4. according to the method for claim 3, it is characterised in that if described be not present after the network connection, in addition to:
After it the network connection be present, then send described information to the server and obtain request;It is anti-to receive the server The bill information of feedback;
Whether identical detect the bill information that the bill information of the server feedback and local terminal extract;
If differing, the bill information extracted with the bill information of the server feedback to local terminal is modified.
5. according to the method for claim 2, it is characterised in that described that the communication information and the bill are extracted into template In the fixed word fragment matched before, in addition to:
Obtain the sender number information of the communication information and/or the keyword of the communication information;
The bill extraction template is obtained according to described sender number information and/or the keyword.
6. method according to any one of claims 1 to 5, it is characterised in that the bill extraction template is by the first bill Extract in template and the second bill extraction template, merged into positioned at identical text point and the different fixation word fragment of content The bill extraction template of variable word fragment.
7. a kind of bill alarm set, it is characterised in that described device includes:
Information reading module, for reading the communication information;
Information extraction modules, for when the communication information is the bill communication information, being extracted by bill described in template extraction Bill information in the communication information, the bill information include repayment amount and refunded the time;
Setup module is reminded, reminds item for being set according to the refund time, the prompting item includes the gold of refunding Volume;
Bill prompting module, for carrying out bill prompting according to the prompting item.
8. device according to claim 7, it is characterised in that the bill extraction template includes fixed word fragment and change Word fragment is measured, the variable word fragment is used to extract information;
Described information extraction module, including:
Fragment match unit, for the fixed word fragment in the communication information and bill extraction template to be carried out Matching;
Information acquisition unit, for after the fixed word fragment match, obtaining the change in the bill extraction template Measure the bill information of correspondence position of the word fragment in the communication information.
9. device according to claim 8, it is characterised in that described device, in addition to:
Network detection module, for detecting whether network connection be present;
Request sending module, if for the network connection be present, information acquisition request is sent to server, described information obtains Take in request and carry the communication information;
Information receiving module, for receiving the bill information of the server feedback, the bill information is that the server leads to Cross storage bill extract template extraction to the communication information in bill information;
The fragment match unit, if being additionally operable to that the network connection is not present, perform described by the communication information and institute State the step of fixed word fragment in bill extraction template is matched.
10. device according to claim 9, it is characterised in that described device, in addition to:
The request sending module, it is additionally operable to after it the network connection be present, then sending described information to the server obtains Take request;
Described information receiving module, for receiving the bill information of the server feedback;
Information detecting module, the bill information for detecting the server feedback are believed with the bill that local terminal extracts Whether breath is identical;
Information revision module, if for differing, described in the bill information of the server feedback extracts to local terminal Bill information is modified.
11. device according to claim 8, it is characterised in that described device, in addition to:
Number acquisition module, for obtaining the sender number information of the communication information and/or the key of the communication information Word;
Template acquisition module, mould is extracted for obtaining the bill according to described sender number information and/or the keyword Plate.
12. according to any described device of claim 7 to 11, it is characterised in that the bill extraction template is by the first account In single extraction template and the second bill extraction template, merge positioned at identical text point and the different fixation word fragment of content Template is extracted for the bill of variable word fragment.
CN201610506283.6A 2016-06-29 2016-06-29 Bill reminding method and device Active CN107545404B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610506283.6A CN107545404B (en) 2016-06-29 2016-06-29 Bill reminding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610506283.6A CN107545404B (en) 2016-06-29 2016-06-29 Bill reminding method and device

Publications (2)

Publication Number Publication Date
CN107545404A true CN107545404A (en) 2018-01-05
CN107545404B CN107545404B (en) 2020-04-28

Family

ID=60966280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610506283.6A Active CN107545404B (en) 2016-06-29 2016-06-29 Bill reminding method and device

Country Status (1)

Country Link
CN (1) CN107545404B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109598575A (en) * 2018-10-25 2019-04-09 北京奇虎科技有限公司 A kind of bill generation method, device, electronic equipment and medium
CN109829814A (en) * 2018-12-29 2019-05-31 平安科技(深圳)有限公司 Generation method, device, equipment and the storage medium of history refund information
CN110222151A (en) * 2019-05-20 2019-09-10 平安普惠企业管理有限公司 A kind of automatic reminding method, automatic alarm set and computer readable storage medium
CN110267222A (en) * 2019-05-24 2019-09-20 深圳壹账通智能科技有限公司 The methods of exhibiting and device of short message bill
WO2019205218A1 (en) * 2018-04-26 2019-10-31 卫盈联信息技术(深圳)有限公司 Automatic loan repayment method, system and device and storage medium
CN110443558A (en) * 2018-05-04 2019-11-12 腾讯科技(深圳)有限公司 A kind of method, apparatus and equipment of bill processing
CN111461649A (en) * 2020-03-26 2020-07-28 维沃移动通信有限公司 Event reminding method and electronic equipment
CN111610897A (en) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 Asset transfer prompting method and device and electronic equipment
CN112261595A (en) * 2019-07-05 2021-01-22 腾讯科技(深圳)有限公司 Event reminding method and device, storage medium and mobile terminal
CN113111631A (en) * 2021-04-15 2021-07-13 北京同邦卓益科技有限公司 Data processing method, device, equipment, storage medium and program product
CN116055619A (en) * 2022-05-30 2023-05-02 荣耀终端有限公司 Method for reminding bill based on short message and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509237A (en) * 2011-10-24 2012-06-20 中国联合网络通信集团有限公司 Credit card repayment reminding method and system as well as third-party credit card repayment reminding platform
CN105447750A (en) * 2015-11-17 2016-03-30 小米科技有限责任公司 Information identification method, apparatus, terminal and server
CN105472097A (en) * 2014-07-02 2016-04-06 小米科技有限责任公司 Automatic reminding method based on mobile communication device, and mobile communication device thereof
CN105678521A (en) * 2016-01-11 2016-06-15 百度在线网络技术(北京)有限公司 Schedule reminding method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102509237A (en) * 2011-10-24 2012-06-20 中国联合网络通信集团有限公司 Credit card repayment reminding method and system as well as third-party credit card repayment reminding platform
CN105472097A (en) * 2014-07-02 2016-04-06 小米科技有限责任公司 Automatic reminding method based on mobile communication device, and mobile communication device thereof
CN105447750A (en) * 2015-11-17 2016-03-30 小米科技有限责任公司 Information identification method, apparatus, terminal and server
CN105678521A (en) * 2016-01-11 2016-06-15 百度在线网络技术(北京)有限公司 Schedule reminding method and device

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019205218A1 (en) * 2018-04-26 2019-10-31 卫盈联信息技术(深圳)有限公司 Automatic loan repayment method, system and device and storage medium
CN110443558A (en) * 2018-05-04 2019-11-12 腾讯科技(深圳)有限公司 A kind of method, apparatus and equipment of bill processing
CN109598575B (en) * 2018-10-25 2024-04-05 三六零科技集团有限公司 Bill generation method and device, electronic equipment and medium
CN109598575A (en) * 2018-10-25 2019-04-09 北京奇虎科技有限公司 A kind of bill generation method, device, electronic equipment and medium
CN109829814A (en) * 2018-12-29 2019-05-31 平安科技(深圳)有限公司 Generation method, device, equipment and the storage medium of history refund information
CN109829814B (en) * 2018-12-29 2024-04-02 平安科技(深圳)有限公司 Method, device, equipment and storage medium for generating historical repayment information
CN111610897B (en) * 2019-02-22 2023-05-02 阿里巴巴集团控股有限公司 Asset transfer prompting method and device and electronic equipment
CN111610897A (en) * 2019-02-22 2020-09-01 阿里巴巴集团控股有限公司 Asset transfer prompting method and device and electronic equipment
CN110222151A (en) * 2019-05-20 2019-09-10 平安普惠企业管理有限公司 A kind of automatic reminding method, automatic alarm set and computer readable storage medium
CN110267222A (en) * 2019-05-24 2019-09-20 深圳壹账通智能科技有限公司 The methods of exhibiting and device of short message bill
CN112261595A (en) * 2019-07-05 2021-01-22 腾讯科技(深圳)有限公司 Event reminding method and device, storage medium and mobile terminal
CN112261595B (en) * 2019-07-05 2022-06-14 腾讯科技(深圳)有限公司 Event reminding method and device, storage medium and mobile terminal
CN111461649B (en) * 2020-03-26 2024-01-19 维沃移动通信有限公司 Event reminding method and electronic equipment
CN111461649A (en) * 2020-03-26 2020-07-28 维沃移动通信有限公司 Event reminding method and electronic equipment
CN113111631A (en) * 2021-04-15 2021-07-13 北京同邦卓益科技有限公司 Data processing method, device, equipment, storage medium and program product
CN116055619A (en) * 2022-05-30 2023-05-02 荣耀终端有限公司 Method for reminding bill based on short message and electronic equipment
CN116055619B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Method for reminding bill based on short message, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN107545404B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
CN107545404A (en) Bill based reminding method and device
CN103702297B (en) Short message enhancement, apparatus and system
CN107092520A (en) Recommendation method, device, storage medium and the mobile terminal of application program
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN107273036A (en) Mobile terminal and its split screen control method, computer-readable recording medium
CN107657039A (en) Bill recording method, mobile terminal and computer-readable recording medium
CN104951432A (en) Information processing method and device
CN107205088A (en) Camera control method and Related product
CN104021129B (en) Show the method and terminal of group picture
CN107402964A (en) A kind of information recommendation method, server and terminal
CN104516624B (en) A kind of method and device inputting account information
CN107346397A (en) Information processing method and related product
CN107277230A (en) The voice broadcast method and Related product of message
CN106708530A (en) Information processing method and terminal equipment
CN106648334A (en) Account transfer method and device
CN104699501B (en) A kind of method and device for running application program
CN104063400B (en) Data search method and data search device
CN108256100A (en) A kind of information search method, mobile terminal and Cloud Server
CN104616143A (en) Virtual bill transfer method and device in social application
CN107715449A (en) A kind of account login method and relevant device
CN106791185A (en) Method for managing contact person information, device and mobile terminal
CN108052356A (en) A kind of method and terminal device for starting calculator
CN108205568A (en) Method and device based on label selection data
CN104636455B (en) The acquisition methods and device of application program map information
CN107291577A (en) file backup method, device and storage medium

Legal Events

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