CN110267222A - The methods of exhibiting and device of short message bill - Google Patents

The methods of exhibiting and device of short message bill Download PDF

Info

Publication number
CN110267222A
CN110267222A CN201910441497.3A CN201910441497A CN110267222A CN 110267222 A CN110267222 A CN 110267222A CN 201910441497 A CN201910441497 A CN 201910441497A CN 110267222 A CN110267222 A CN 110267222A
Authority
CN
China
Prior art keywords
short message
bill
bank
regular expression
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910441497.3A
Other languages
Chinese (zh)
Inventor
刘丽珍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910441497.3A priority Critical patent/CN110267222A/en
Publication of CN110267222A publication Critical patent/CN110267222A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/338Presentation of query results
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/35Services specially adapted for particular environments, situations or purposes for the management of goods or merchandise

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to the technical field of data query, the present invention provides the methods of exhibiting and device of a kind of short message bill, the note data packet sent the method includes receiving client;It is screened and is parsed according to all short messages of the sender number to the note data packet, obtain the short message that each specified official number, bank sends, and the short message that the official number, bank sends is saved in server;The short message that the official number, bank sends periodically is read from server, the short message bill and its bill content of each official number, bank are identified according to short message bill identification-template;The interface of bill down sending content to the client of the short message bill of each official number, bank is shown.The present invention solve the problems, such as it is existing need that user arrives the corresponding application program of each account respectively or website is inquired, reduce the complexity of user account information inquiry.

Description

The methods of exhibiting and device of short message bill
Technical field
The present invention relates to the technical fields of data query, specifically, the present invention relates to a kind of displaying sides of short message bill Method and device.
Background technique
With the development in pluralism of financial product, there are many consumers to possess multiple finance accounts.Due to account data compared with More, when managing finance account (such as credit or debit card), management for the account of multiple and different financial institutions is needed It wants that user arrives the corresponding application program of each account respectively or website is inquired, increases the complexity of user account information inquiry Degree.
Summary of the invention
To overcome the above technical problem, user is especially needed to arrive each account respectively in the prior art corresponding using journey The problem of sequence or website are inquired, spy propose following technical scheme:
In a first aspect, the present invention provides a kind of methods of exhibiting of short message bill comprising following steps:
Receive the note data packet that client is sent;Wherein, the note data packet is the terminal device that client is read All short messages saved, and the data packet obtained by encryption;
It is screened and is parsed according to all short messages of the sender number to the note data packet, obtained each specified The short message that official number, bank sends, and the short message that the official number, bank sends is saved in server;
The short message that the official number, bank sends periodically is read from server, is identified according to short message bill recognition template each The short message bill and its bill content of official number, bank;
The interface of bill down sending content to the client of the short message bill of each official number, bank is shown;Its In, the bill content is shown by the client on interface.
The short message account that each official number, bank is identified according to short message bill recognition template in one of the embodiments, The step of list and its bill content, comprising:
The keyword for not meeting short message bill is obtained, the official number, bank is sent out using the short message bill recognition template The short message sent is filtered;
The keyword for meeting short message bill is obtained, the short message being obtained by filtration is matched, obtains identifying successful first Short message.
It is described in one of the embodiments, to obtain the keyword for not meeting short message bill, known using the short message bill The step of short message that other model sends the official number, bank is filtered include:
The keyword for not meeting short message bill is obtained, the first regular expression is formed;
It is filtered according to the short message that first regular expression sends the official number, bank;
It is described to obtain the keyword for meeting short message bill, the short message being obtained by filtration is matched, successful match is obtained The step of first short message includes:
The keyword for meeting short message bill is obtained, the second regular expression is formed;
It is identified according to the short message that first regular expression is obtained by filtration, obtains identifying successful first short message;
Wherein, the short message bill identification model includes the first regular expression and the second regular expression.
The keyword and/or acquisition that the acquisition does not meet short message bill in one of the embodiments, meet short message account The step of single keyword includes:
It obtains the keyword of the short message as transmitted by each official number, bank automatically with script, and is determined not by label Meet the keyword of short message bill, and/or meets the keyword of short message bill.
In one of the embodiments, in the short message for periodically reading the official number, bank and sending, according to short message account Single recognition template identified after the step of short message bill and its bill content of each official number, bank, further includes:
The script is updated, updated first regular expression and/or the second regular expression are formed.
First regular expression includes the multiple first sub- regular expressions in one of the embodiments, and described Two regular expressions include the multiple second sub- regular expressions;
The short message for periodically reading the official number, bank and sending, identifies each bank according to short message bill recognition template The step of short message bill and its bill content of official number includes:
The short message that the official number, bank sends periodically is read from the server, according to each first sub- regular expression Short message bill and its bill content are matched one by one;
Until one of them first sub- regular expression matching success or the failure of the first regular expression matching;
The short message bill and its bill content for obtaining the failure of the first regular expression matching, according to each second sub- canonical table Short message bill and its bill content are matched one by one up to formula;
Until one of them second sub- regular expression matching success or the failure of the second regular expression matching.
In one of the embodiments, in the bill down sending content of the short message bill by each official number, bank to institute After stating the step of the interface of client is shown, further includes:
The second short message for obtaining the short message bill identification model recognition failures obtains the information of second short message, right The short message bill identification model is updated;
Short message bill identification model carries out regression test after first short message is input to update, to described updated Short message bill identification model is tested.
Second aspect, the present invention also provides a kind of displaying devices of short message bill comprising:
Receiving module, the note data packet sent for receiving each client;Wherein, the note data packet is client Hold the received short message of terminal device read, and the data packet obtained by encryption;
Parsing module, for being screened and being parsed according to all short messages of the sender number to the note data packet, The short message that each specified official number, bank sends is obtained, and the short message that the official number, bank sends is saved in server In;
Identification module is known for periodically reading the short message that the official number, bank sends from server according to short message bill Other template identifies the short message bill and its bill content of each official number, bank;
Display module, for by the bill down sending content of the short message bill of each official number, bank to the boundary of the client Face is shown;Wherein, the bill content is shown by the client on interface.
The third aspect, the present invention also provides a kind of terminals comprising:
One or more processors;
Memory;
One or more computer programs, wherein one or more of computer programs are stored in the memory And be configured as being executed by one or more of processors, one or more of computer programs are configured to carry out first The methods of exhibiting of short message bill described in aspect any embodiment.
Fourth aspect, the present invention also provides a kind of computer readable storage medium, on the computer readable storage medium It is stored with computer program, short message account described in first aspect any embodiment is realized when which is executed by processor Single methods of exhibiting.
The methods of exhibiting and device of a kind of short message bill provided by the present invention avoid and obtain account to each bank one by one The permission of single content carries out unified remittance to the account of user using the short message of the mobile terminal of user as the source of bill content Always, facilitate user to obtain the information of all accounts by same approach, solve and existing user is needed to arrive each account respectively The problem of corresponding application program or website are inquired reduces the complexity of user account information inquiry.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, in which:
Fig. 1 is the applied environment figure of the methods of exhibiting of the short message bill of the embodiment of the present invention;
Fig. 2 is the flow chart of the methods of exhibiting of the short message bill of one embodiment in the present invention;
Fig. 3 is the flow chart of the methods of exhibiting of the short message bill of another embodiment in the present invention;
Fig. 4 is the flow chart of the methods of exhibiting of the short message bill of another embodiment in the present invention;
Fig. 5 is the flow chart of the methods of exhibiting of the short message bill of another embodiment in the present invention;
Fig. 6 is the schematic diagram of the displaying device of the short message bill of one embodiment in the present invention;
Fig. 7 is the structural schematic diagram of the terminal of one embodiment in the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here To explain.
Those skilled in the art of the present technique are appreciated that " terminal " used herein above, " terminal device " both include wireless communication The equipment of number receiver, only has the equipment of the wireless signal receiver of non-emissive ability, and including receiving and emitting hardware Equipment, have on both-way communication chain road, can execute both-way communication reception and emit hardware equipment.This equipment It may include: honeycomb or other communication apparatus, shown with single line display or multi-line display or without multi-line The honeycomb of device or other communication apparatus;PCS (Personal Communications Service, person communication system), can With combine voice, data processing, fax and/or data communication capabilities;PDA (Personal Digital Assistant, it is personal Digital assistants), it may include radio frequency receiver, pager, the Internet/intranet access, web browser, notepad, day It goes through and/or GPS (Global Positioning System, global positioning system) receiver;Conventional laptop and/or palm Type computer or other equipment, have and/or the conventional laptop including radio frequency receiver and/or palmtop computer or its His equipment." terminal " used herein above, " terminal device " can be it is portable, can transport, be mounted on the vehicles (aviation, Sea-freight and/or land) in, or be suitable for and/or be configured in local runtime, and/or with distribution form, operate in the earth And/or any other position operation in space." terminal " used herein above, " terminal device " can also be communicating terminal, on Network termination, music/video playback terminal, such as can be PDA, MID (Mobile Internet Device, mobile Internet Equipment) and/or mobile phone with music/video playing function, it is also possible to the equipment such as smart television, set-top box.
Refering to what is shown in Fig. 1, Fig. 1 is the applied environment figure of the embodiment of the present invention;In the embodiment, the technology of the present invention side Case can be based on realizing on mobile terminal, and as shown in figure 1, mobile terminal 110 can access server by internet 120, on mobile terminal 110, user can install the modes such as corresponding client, webpage by APP either social software, Data interaction is carried out with server 120, and realizes the correlation function of user side, server 120, which refers to, realizes various backstage function The server apparatus of energy, it is contemplated that the actual conditions of server process at present, equipment described here may also mean that one sets Standby or multiple equipment cluster.
Need to arrive user's account caused by the application program or query site bill of each bank respectively to solve current user The promotion of the complexity of single information inquiry, the present invention provides a kind of methods of exhibiting of short message bill, please refer to shown in Fig. 2, Fig. 2 It is the methods of exhibiting of the short message bill of one embodiment, comprising the following steps:
S210, the note data packet that client is sent is received.
Wherein, the note data packet be mobile terminal client terminal read terminal device receive and save it is all short Letter, and the data packet obtained by encryption.
In this step, server is to send asking for all short messages for reading that it is saved to mobile terminal by client It asks, when mobile terminal responds the request for reading all short messages, Xiang Suoshu client distributes the permission of short message reading.
Client obtains all short messages that mobile terminal is saved, and to all according to the permission of the short message reading Short message is packaged and encrypts to form note data packet, and server is sent to.
S220, it is screened and is parsed according to all short messages of the sender number to the note data packet, obtained each The short message that specified official number, bank sends, and the short message that the official number, bank sends is saved in server.
In this step, the note data packet received by the mobile terminal is decrypted server, obtains the short message All short messages in data packet obtain the bill content in short message bill to parse to all short messages.
Since the number of sender comprising short message bill is official number, bank, so being screened to note data packet And parsing, it is to screen according to number is sent as screening conditions and obtain the short message that each specified official number, bank sends, and should Short message is saved into server, can specifically correspond to each official number, bank, each bank short message catalogue is arranged, and will be corresponding Short message is saved to each bank short message catalogue.
It is further possible to which screening is obtained the short message that each specified official number, bank sends, and the short message is protected It deposits into log server;And using all short messages in jenkins automatic trigger set period of time, such as the previous day all short Letter, and be keyword by the keyword such as each bank, such as industrial and commercial bank code CCB, the short of the Routing Number will not met Letter is screened and is distinguished according to the Routing Number, obtains short message transmitted by corresponding bank.Obtained each bank Short message save to local server specify each bank short message catalogue under.
The specified official number, bank can be server and collect each official number, bank.
S230, the short message that official number, the bank transmission is periodically read from server, know according to short message bill recognition template The short message bill and its bill content of not each official number, bank.
In this step, the silver under the catalogue specified from having saved in step S220 to local server is periodically read The short message that row official number sends.And the short message bill recognition template according to set by the format of the short message bill of each bank, it is right The short message bill and its bill content for answering each bank short message catalogue are identified and are parsed, and obtain simple bill content, and fall Library.
The simple bill content is the bill content for showing and/or being counted according to needed for client.Such as the account Single content is from credit card, then the simple bill content may include repayment date and repayment amount of every month etc., It can further comprise history consumption details;If the bill content may include from debit card, the simple bill content Amount received and amount paid etc..
S240, the interface of bill down sending content to the client of the short message bill of each official number, bank is opened up Show.
The bill content corresponding with each official number, bank that will be obtained during step S240, is issued to the visitor Family end, and shown by the corresponding subitem in its interface.
A kind of methods of exhibiting of short message bill provided by the invention, uniformly obtains what mobile terminal was saved by client All short messages, transmission and sectional lists are saved to server.Classified according to each official number, bank to all short messages, and According to the corresponding short message bill recognition template of each bank, the short message under each sectional lists is identified, corresponding bill is obtained Content, and the interface of bill down sending content to the client is shown.The invention avoids obtain one by one to each bank The permission for taking bill content unites to the account of user using the short message of the mobile terminal of user as the source of bill content One summarizes, and user is facilitated to obtain the information of all accounts by same approach, solves that existing to need user to arrive respectively each The problem of corresponding application program of account or website are inquired reduces the complexity of user account information inquiry.
For in step S230 according to short message bill recognition template identify each official number, bank short message bill and its The step of bill content, it can refer to Fig. 3, Fig. 3 is the methods of exhibiting of the short message bill of another embodiment, comprising the following steps:
S231, acquisition do not meet the keyword of short message bill, using the short message bill recognition template to the bank official The short message of square number transmission is filtered.
The short message sent even across the bank official number of the step S220 to the mobile terminal of user has carried out tentatively Screening, but bank usually sends other and the incoherent service note of bill content, such as new business to user for business needs Popularization, accumulated point exchanging.Scope of business as involved in it is wider, so should be with the incoherent service note of bill content Quantity can be more than generally comprising the short message quantity of bill content.Therefore, first filtering and the incoherent service note of bill content, The operand of later period identification and parsing can be reduced.
In order to be exactly found with the incoherent service note of bill content, obtain and be not inconsistent in short message transmitted by each bank The keyword for closing short message bill, using the keyword as condition in corresponding short message bill identification module, to by official, bank The short message that number obtained official number, bank of screening sends, and identified using the short message bill identification module, it obtains The short message of the condition of the keyword of short message bill is not met, completion is filtered corresponding short message.Obtained by after filtering Short message be possible include bill content short message.
S232, acquisition meet the keyword of short message bill, identify to the short message being obtained by filtration, and it is successful to obtain identification First short message.
In this step, it is filtered processing for the obtained short message of step S231, obtained short comprising bill content Letter is handled.During the step process, according to the template of the short message bill of each bank, obtains it and correspond to short message account Single keyword, and using the keyword for meeting short message bill as condition, the short message being obtained by filtration by step S231 is utilized The short message bill identification module is identified, the short message for meeting the condition of the keyword of short message bill is obtained, and is completed to corresponding Short message identified, obtain identifying successful first short message.
Above-mentioned steps S231-S232, by obtaining the keyword of short message, respectively to do not meet the keyword of short message bill into Row is filtered and is matched using the keyword for meeting short message bill with the short message being obtained by filtration, and is believed in this way by the text of short message Breath feature can be distinguished accurately from all bank short messages from the short message bill, be completed to the first of corresponding bank short message Step screening.
More specifically, can refer to Fig. 4, Fig. 4 is the methods of exhibiting of the short message bill of another embodiment, including following step It is rapid: can also further comprise for above-mentioned steps S231:
S2311, acquisition do not meet the keyword of short message bill, form the first regular expression;
S2312, it is filtered according to the short message that first regular expression sends the official number, bank.
For above-mentioned two steps S2311 and S2312, for not including the short of bill content transmitted by each bank Letter, it is corresponding to obtain the keyword for not meeting short message bill, in conjunction with the format for the short message for not including bill content, form described first Regular expression.By the short message that the official number, bank of the mobile terminal of user is sent by step S220 one by one with it is described First regular expression is matched, and obtains the short message for meeting first regular expression, and meeting described first just to this Then the short message of expression formula is filtered processing, and preliminary screening obtains may be comprising the short message of bill content.
Can also further comprise for above-mentioned steps S232:
S2321, acquisition meet the keyword of short message bill, form the second regular expression;
S2322, it is identified according to the short message that first regular expression is obtained by filtration, obtains identifying successful first Short message.
For above-mentioned two steps S2321 and S2322, for short comprising bill content transmitted by each bank Letter, it is corresponding to obtain the keyword for meeting short message bill, in conjunction with the format of the short message comprising bill content, form second canonical Expression formula.The short message being obtained by filtration by step S231 is matched with second regular expression one by one, is met The short message of second regular expression obtains identifying successful first short message.
According to obtained short message of each stage, it is respectively trained to obtain first regular expression and the second canonical table Up to formula, first regular expression and the second regular expression generate the short message bill identification model.
In the embodiment of above-mentioned steps S2311-S2322, the first regular expression and are formed by conjunction with messaging format The means of two regular expressions can be accurately identified the short message comprising bill information from the short message of preliminary screening.
In above-mentioned steps S231-S232, obtains the keyword for not meeting short message bill and/or acquisition meets short message bill Keyword the step of include: to obtain the pass that short message bill is not met as transmitted by each official number, bank automatically with script Keyword;And/or
Obtain the keyword for meeting short message bill as transmitted by each official number, bank automatically with script.
In the present embodiment, according to the keyword of corresponding step, the keyword includes the key for not meeting short message bill Word and/or the keyword for meeting short message bill.It reads the keyword in local short message automatically with Python script, and passes through Label determines the keyword for not meeting short message bill, and/or meets the keyword of short message bill.It is formed pair using the keyword The first regular expression and/or the second regular expression answered, identify corresponding short message, obtain corresponding short message account It is single.
The embodiment can obtain the keyword for not meeting and/or meeting short message bill in relatively simple mode, with The operand of this method identification process is reduced, guarantees that identification and information show efficiency.
The keyword of short message bill is not being met above by utilization script acquisition and/or meets the keyword of short message bill On the basis of, if by check, it is convenient when finding the new expression way for meeting short message bill and/or do not meet short message bill Corresponding keyword is reacquired with script, in conjunction with the expression format of short message, to first regular expression or the second canonical Expression formula is updated, and forms updated short message bill identification model.
Even by issued from same official number, bank include or not include bill content short message expression lattice Formula does not limit one kind.In the present embodiment, first regular expression includes the multiple first sub- regular expressions, and described second Regular expression includes the multiple second sub- regular expressions.
On this basis, the step S230 includes:
S1, periodically from the server short message reading, according to each first sub- regular expression to short message bill and its account Single content is matched one by one;
S2, until one of them first sub- regular expression matching success or the failure of the first regular expression matching;
S3, the short message bill and its bill content for obtaining the failure of the first regular expression matching, just according to each second son Then expression formula matches short message bill and its bill content one by one;
S4, until one of them second sub- regular expression matching success or the failure of the second regular expression matching.
In above-mentioned step S1-S4, the first different sons is formed according to the messaging format that difference does not include bill content Regular expression.Step S220 will be passed through can be raw according to the described first sub- regular expression to the short message of the mobile terminal of user At sequence matched one by one with each first sub- regular expression, to be screened simultaneously to the short message for not including bill content Filtering.
Specific screening process are as follows: if a certain short message does not meet the sub- regular expression of first be arranged in front, automatically with Next first sub- regular expression is matched, until successful match can be carried out with one of them the first sub- regular expression, Tentatively judge that corresponding short message for not comprising bill content, and filters this out.For equal with all first sub- regular expressions The short message that it fails to match judges corresponding short message tentatively may then to need further comprising bill content by the second regular expressions Formula carries out screening judgement.
Since the short message that bank includes financial product from bill content to user's push various aspects and Financial Information is general Only account for the short message sum that the bank pushed with fraction, it is all most of uncorrelated to short message bill by step S2 filtering Short message, to reduce the operand that post-service device is further processed.
The short message of the first regular expression matching failure obtained from step S2, the short message may include about short message bill Content carries out it as the judgement object of second regular expression with the described second sub- regular expression one by one Matching, until the short message of all first regular expression matchings failure is matched with all second sub- regular expression completions.
The matching process is similar to the described first sub- regular expression: if wherein a certain short message does not meet and is arranged in front Second sub- regular expression is matched with the next second sub- regular expression automatically, until can with one of them second Sub- regular expression carries out successful match, obtains first short message, and judge corresponding short message for comprising bill content.
The bill content of first short message is obtained under corresponding each short breath catalogue of bank, by the bill contents extraction It is final to save using text formatting as parsing result file into table.Server parses the parsing result file, Relevant bill information is obtained, the interface for being issued to the client is shown, and letter is shown on the interface of the client Easy bill content.
In this embodiment, the first sub- regular expression and the second sub- canonical in the short message bill recognition template are utilized Expression formula is traversed and is matched to corresponding bank short message, and higher first short message of bill content recognition success rate is obtained, And help to reduce the subsequent repair procedure to the short message bill recognition template.
After step S240, Fig. 5 can refer to, Fig. 5 is the methods of exhibiting of the short message bill of another embodiment, further includes Following steps:
S250, the second short message for obtaining the short message bill identification model recognition failures, obtain the letter of second short message Breath, is updated the short message bill identification model;
S260, by first short message be input to update after short message bill identification model carry out regression test, to it is described more Short message bill identification model after new is tested.
By the short message of the short message bill identification model recognition failures, it is defined as the second short message.Second short message is real Do not include bill content on border, but is identified as first short message.
For second short message, the keyword, and first son new according to messaging format addition are first extracted Regular expression is updated first regular expression, to complete to update the short message bill identification model, and it is right The updated short message bill identification model is tested.
The process that the short message bill identification model is tested can be short after updating first short message utilization Letter bill identification model re-recognizes.The process re-recognized is according to above-mentioned about the utilization short message bill identification model pair Short message is identified, it is ensured that short message bill identification model does not lead to the problem of other recognition failures after update.
For above-mentioned technical proposal, utilize the short message bill recognition template to the short of A bank by client with user The process that letter is identified is specifically described:
A1, the short message from each user about A bank by receiving, do not meet short message account with script collection Single keyword, such as " integral ", " consuming full * * member ", " exclusive ", are collected simultaneously the keyword for meeting short message bill, such as " bill The amount of money ", " repayment amount ", " refunding the date " etc.;
A2, the format according to non-the bill short message and bill short message of A bank, are respectively formed the multiple first sub- regular expressions With multiple second regular expressions;
A3, by all short messages transmitted by A bank in the mobile terminal of the user respectively with each first sub- canonical Expression formula is matched, and the short message that it fails to match is obtained;
A4, step A3 is obtained with the short message of all first sub- regular expression matching failures and according to second son just Then the genesis sequence of expression formula is matched one by one, obtains the first short message of successful match;
A5, first short message bill information extract into list, and save using text formatting as parsing result text Part;
A6, server is received to parsing result file progress parsing result, obtain relevant bill information and right The displaying of bill information is carried out using the client end interface at family;
A6, for not extracting relevant keyword and short message lattice again comprising the short message of bill information in first short message Formula is updated the first regular expression and the second regular expression, obtains updated short message bill recognition template;
A7, the short message bill recognition template obtained using latest update to the short message from mobile terminal newly obtained into Row identification.
A kind of methods of exhibiting of the short message bill provided in the present invention, is completed by mobile terminal.Specifically, it is mounted on After permission of the client of mobile terminal by obtaining short message reading, using the short message bill recognition template to acquired short Letter is identified, obtains the content of short message bill, and be shown on the interface of client.Based on said short message bill The identical inventive concept of methods of exhibiting, the embodiment of the invention also provides a kind of displaying devices of short message bill, as shown in fig. 6, Include:
Receiving module 610, for receiving the note data packet of client transmission;Wherein, the note data packet is client All short messages that the terminal device that end is read saves, and the data packet obtained by encryption;
Parsing module 620, for carrying out screening reconciliation according to all short messages of the sender number to the note data packet Analysis obtains the short message that each specified official number, bank sends, and the short message that the official number, bank sends is saved in service In device;
Identification module 630, for periodically reading the short message that the official number, bank sends from server, according to short message bill Recognition template identifies the short message bill and its bill content of each official number, bank;
Display module 640, for by the bill down sending content of the short message bill of each official number, bank to the client Interface be shown;Wherein, the bill content is shown by the client on interface.
The embodiment of the invention provides terminal, the terminal is mobile terminal, as shown in fig. 7, for ease of description, only showing Go out part related to the embodiment of the present invention, it is disclosed by specific technical details, please refer to present invention method part. The terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), Any terminal devices such as POS (Point of Sales, point-of-sale terminal), vehicle-mounted computer, taking the terminal as an example:
Fig. 7 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 7, mobile phone include: radio frequency (Radio Frequency, RF) circuit 710, memory 720, input unit 730, display unit 740, Sensor 750, voicefrequency circuit 760, Wireless Fidelity (wireless fidelity, Wi-Fi) module 770, processor 780 and The components such as power supply 790.It will be understood by those skilled in the art that handset structure shown in Fig. 7 does not constitute the restriction to mobile phone, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 7 to mobile phone:
Memory 720 can be used for storing software program and module, and processor 780 is stored in memory 720 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 720 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as vocal print playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 720 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 730 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 730 may include that touch panel 731 and other inputs are set Standby 732.Touch panel 731, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 731 or near touch panel 731), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 731 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 780, and can receive order that processor 780 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 731.In addition to touch panel 731, input Unit 730 can also include other input equipments 732.Specifically, other input equipments 732 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 740 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 740 may include display panel 741, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (OrganicLight-Emitting Diode, OLED) configure display Panel 741.Further, touch panel 731 can cover display panel 741, when touch panel 731 detect on it or near Touch operation after, send processor 780 to determine the type of touch event, be followed by subsequent processing device 780 according to touch event Type provides corresponding visual output on display panel 741.Although in Fig. 7, touch panel 731 is with display panel 741 The input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch surface Plate 731 and display panel 741 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 750, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 741, proximity sensor can close display panel 741 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Processor 780 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 720, and call and be stored in memory 720 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 780 can wrap Include one or more processing units;Preferably, processor 780 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 780.
In embodiments of the present invention, processor 780 included by the terminal is also with the following functions: receiving client and sends Note data packet;Wherein, the note data packet is all short messages for the terminal device preservation that client is read, and by adding Close obtained data packet;It is screened and is parsed according to all short messages of the sender number to the note data packet, obtained each The short message that a specified official number, bank sends, and the short message that the official number, bank sends is saved in server;Periodically The short message that the official number, bank sends is read from server, each official number, bank is identified according to short message bill recognition template Short message bill and its bill content;By the bill down sending content of the short message bill of each official number, bank to the boundary of the client Face is shown;Wherein, the bill content is shown by the client on interface.Namely processor 780 has and holds The function of the methods of exhibiting of the above-mentioned any embodiment short message bill of row, details are not described herein.
In one embodiment, the invention also provides a kind of storage medium for being stored with computer-readable instruction, the meters When calculation machine readable instruction is executed by one or more processors, so that one or more processors execute following steps: receiving visitor The note data packet that family end is sent;Wherein, the note data packet is all short messages for the terminal device preservation that client is read, And the data packet obtained by encryption;Screening reconciliation is carried out according to all short messages of the sender number to the note data packet Analysis obtains the short message that each specified official number, bank sends, and the short message that the official number, bank sends is saved in service In device;The short message that the official number, bank sends periodically is read from server, each silver is identified according to short message bill recognition template The short message bill and its bill content of row official number;By the bill down sending content of the short message bill of each official number, bank to described The interface of client is shown;Wherein, the bill content is shown by the client on interface.
Based on the above embodiments it is found that methods of exhibiting, device and the terminal of the short message bill in any of the above-described embodiment, have Beneficial effect is:
The methods of exhibiting and device of short message bill provided by the invention, the short of mobile terminal is uniformly obtained by client Letter, extracts and parses to the bill information of user using the short message bill recognition template, and be shown in client. This method solve needing the problem of carrying out inquiry bill by the corresponding application program of each bank or website one by one at present, Facilitate user to obtain the information of all accounts by same approach, reduces the complexity of user account information inquiry.
The present invention also provides the methods of exhibiting and device of a kind of short message bill to be passed through by obtaining the keyword of short message Judge whether the keyword for meeting short message bill bank short message, is accurately distinguished from all bank short messages from the short message bill Out, the preliminary screening to corresponding bank short message is completed.On this basis, the first regular expressions are formed by conjunction with messaging format The means of formula and the second regular expression are accurately identified the short message comprising bill information from the short message of preliminary screening.
The present invention also provides the method and apparatus updated to the short message bill identification model, to ensure short message account after updating Single identification model does not lead to the problem of other recognition failures.
It should be understood that although each step in the flow chart of attached drawing is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, can execute in the other order.Moreover, at least one in the flow chart of attached drawing Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, execution sequence, which is also not necessarily, successively to be carried out, but can be with other At least part of the sub-step or stage of step or other steps executes in turn or alternately.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (10)

1. a kind of methods of exhibiting of short message bill, which comprises the following steps:
Receive the note data packet that client is sent;Wherein, the note data packet is that the terminal device that client is read saves All short messages, and pass through the obtained data packet of encryption;
It is screened and is parsed according to all short messages of the sender number to the note data packet, obtain each specified bank The short message that official number sends, and the short message that the official number, bank sends is saved in server;
The short message that the official number, bank sends periodically is read from server, each bank is identified according to short message bill recognition template The short message bill and its bill content of official number;
The interface of bill down sending content to the client of the short message bill of each official number, bank is shown;Wherein, The bill content is shown by the client on interface.
2. the method according to claim 1, wherein described identify each bank according to short message bill recognition template The step of short message bill and its bill content of official number, comprising:
The keyword for not meeting short message bill is obtained, the official number, bank is sent using the short message bill recognition template Short message is filtered;
The keyword for meeting short message bill is obtained, the short message being obtained by filtration is matched, obtains identifying successful first short message.
3. according to the method described in claim 2, it is characterized in that,
It is described to obtain the keyword for not meeting short message bill, the official number, bank is sent out using the short message bill identification model The step of short message sent is filtered include:
The keyword for not meeting short message bill is obtained, the first regular expression is formed;
It is filtered according to the short message that first regular expression sends the official number, bank;
It is described to obtain the keyword for meeting short message bill, the short message being obtained by filtration is matched, the first of successful match is obtained The step of short message includes:
The keyword for meeting short message bill is obtained, the second regular expression is formed;
It is identified according to the short message that first regular expression is obtained by filtration, obtains identifying successful first short message;
Wherein, the short message bill identification model includes the first regular expression and the second regular expression.
4. according to the method described in claim 3, it is characterized in that,
It is described to obtain the keyword for not meeting short message bill and/or acquisition the step of meeting the keyword of short message bill includes:
Obtain the keyword of the short message as transmitted by each official number, bank automatically with script, and by marking determination not meet The keyword of short message bill, and/or meet the keyword of short message bill.
5. according to the method described in claim 4, it is characterized in that,
In the short message for periodically reading the official number, bank and sending, each bank official is identified according to short message bill recognition template After the step of square number short message bill and its bill content, further includes:
The script is updated, updated first regular expression and/or the second regular expression are formed.
6. according to the method described in claim 3, it is characterized in that,
First regular expression includes the multiple first sub- regular expressions, and second regular expression includes multiple second Sub- regular expression;
The short message for periodically reading the official number, bank and sending, identifies each official, bank according to short message bill recognition template Number short message bill and its bill content the step of include:
The short message that the official number, bank sends periodically is read from the server, according to each first sub- regular expression to short Letter bill and its bill content are matched one by one;
Until one of them first sub- regular expression matching success or the failure of the first regular expression matching;
The short message bill and its bill content for obtaining the failure of the first regular expression matching, according to each second sub- regular expression Short message bill and its bill content are matched one by one;
Until one of them second sub- regular expression matching success or the failure of the second regular expression matching.
7. according to the method described in claim 2, it is characterized in that,
It is shown at the interface of bill down sending content to the client of the short message bill by each official number, bank The step of after, further includes:
The second short message for obtaining the short message bill identification model recognition failures, obtains the information of second short message, to described Short message bill identification model is updated;
Short message bill identification model carries out regression test after first short message is input to update, to the updated short message Bill identification model is tested.
8. a kind of displaying device of short message bill characterized by comprising
Receiving module, for receiving the note data packet of client transmission;Wherein, the note data packet is that client is read The received short message of terminal device, and the data packet obtained by encryption;
Parsing module is obtained for being screened and being parsed according to all short messages of the sender number to the note data packet The short message that each specified official number, bank sends, and the short message that the official number, bank sends is saved in server;
Identification module identifies mould according to short message bill for periodically reading the short message that the official number, bank sends from server Plate identifies the short message bill and its bill content of each official number, bank;
Display module, for by the bill down sending content of the short message bill of each official number, bank to the interface of the client into Row is shown;Wherein, the bill content is shown by the client on interface.
9. a kind of terminal characterized by comprising
One or more processors;
Memory;
One or more computer programs, wherein one or more of computer programs are stored in the memory and quilt It is configured to be executed by one or more of processors, one or more of computer programs are configured to carry out according to right It is required that the methods of exhibiting of 1 to 7 described in any item short message bills.
10. a kind of computer readable storage medium, which is characterized in that be stored with computer on the computer readable storage medium Program realizes the methods of exhibiting of the described in any item short message bills of claim 1-7 when the computer program is executed by processor.
CN201910441497.3A 2019-05-24 2019-05-24 The methods of exhibiting and device of short message bill Pending CN110267222A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910441497.3A CN110267222A (en) 2019-05-24 2019-05-24 The methods of exhibiting and device of short message bill

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910441497.3A CN110267222A (en) 2019-05-24 2019-05-24 The methods of exhibiting and device of short message bill

Publications (1)

Publication Number Publication Date
CN110267222A true CN110267222A (en) 2019-09-20

Family

ID=67915387

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910441497.3A Pending CN110267222A (en) 2019-05-24 2019-05-24 The methods of exhibiting and device of short message bill

Country Status (1)

Country Link
CN (1) CN110267222A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356097A (en) * 2020-05-24 2020-06-30 深圳市卡牛科技有限公司 Short message analysis method and device and readable storage medium
CN111866770A (en) * 2020-07-21 2020-10-30 上海聚均科技有限公司 Capital monitoring method based on short message

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405049A (en) * 2015-10-23 2016-03-16 重庆蓝岸通讯技术有限公司 Intelligent accounting method and intelligent accounting system
CN105916127A (en) * 2016-06-27 2016-08-31 北京奇虎科技有限公司 Method, device and server for obtaining user traffic information
CN106331354A (en) * 2016-08-26 2017-01-11 商客通尚景科技(上海)股份有限公司 Short message information extracting and analyzing method
CN107545404A (en) * 2016-06-29 2018-01-05 腾讯科技(深圳)有限公司 Bill based reminding method and device
CN108765128A (en) * 2018-04-26 2018-11-06 卫盈联信息技术(深圳)有限公司 It provides a loan automatic repayment method, system, equipment and storage medium
CN109064161A (en) * 2018-07-20 2018-12-21 诚泰信息科技(天津)有限公司 A kind of bank account transaction journal intelligent management and device based on short message
CN109068286A (en) * 2018-05-31 2018-12-21 连尚(新昌)网络科技有限公司 A kind of method, medium and the equipment of information parsing
CN109598575A (en) * 2018-10-25 2019-04-09 北京奇虎科技有限公司 A kind of bill generation method, device, electronic equipment and medium
CN109697224A (en) * 2017-10-24 2019-04-30 腾讯科技(深圳)有限公司 A kind of bill message treatment method, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105405049A (en) * 2015-10-23 2016-03-16 重庆蓝岸通讯技术有限公司 Intelligent accounting method and intelligent accounting system
CN105916127A (en) * 2016-06-27 2016-08-31 北京奇虎科技有限公司 Method, device and server for obtaining user traffic information
CN107545404A (en) * 2016-06-29 2018-01-05 腾讯科技(深圳)有限公司 Bill based reminding method and device
CN106331354A (en) * 2016-08-26 2017-01-11 商客通尚景科技(上海)股份有限公司 Short message information extracting and analyzing method
CN109697224A (en) * 2017-10-24 2019-04-30 腾讯科技(深圳)有限公司 A kind of bill message treatment method, device and storage medium
CN108765128A (en) * 2018-04-26 2018-11-06 卫盈联信息技术(深圳)有限公司 It provides a loan automatic repayment method, system, equipment and storage medium
CN109068286A (en) * 2018-05-31 2018-12-21 连尚(新昌)网络科技有限公司 A kind of method, medium and the equipment of information parsing
CN109064161A (en) * 2018-07-20 2018-12-21 诚泰信息科技(天津)有限公司 A kind of bank account transaction journal intelligent management and device based on short message
CN109598575A (en) * 2018-10-25 2019-04-09 北京奇虎科技有限公司 A kind of bill generation method, device, electronic equipment and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111356097A (en) * 2020-05-24 2020-06-30 深圳市卡牛科技有限公司 Short message analysis method and device and readable storage medium
CN111356097B (en) * 2020-05-24 2020-09-04 深圳市卡牛科技有限公司 Short message analysis method and device and readable storage medium
CN111866770A (en) * 2020-07-21 2020-10-30 上海聚均科技有限公司 Capital monitoring method based on short message

Similar Documents

Publication Publication Date Title
CN106557330B (en) Method and device for processing notification information of notification bar of mobile terminal system and mobile terminal
US12061938B2 (en) Method, apparatus, and mobile terminal for associating notification messages
CN106201553B (en) In the control method of desktop pushing application program, device and terminal device
US8621162B2 (en) Automatic association of reference data with primary process data based on time and shared identifier
CN109905545A (en) A kind of message treatment method and terminal, computer readable storage medium
US20170249934A1 (en) Electronic device and method for operating the same
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
US20160062732A1 (en) Method for providing additional functions based on information
CN110472941A (en) Schedule creation method and device, terminal, storage medium based on notification message
KR102315891B1 (en) Method for providing point of interest and electronic device thereof
CN108733800A (en) A kind of global search method, terminal and computer readable storage medium
CN112540996B (en) Service data verification method and device, electronic equipment and storage medium
CN109189258A (en) Record the method and device of notes
CN111461649B (en) Event reminding method and electronic equipment
KR101951417B1 (en) Mobile device and control method for the same
CN111625737B (en) Label display method, device, equipment and storage medium
CN110990679A (en) Information searching method and electronic equipment
CN110267222A (en) The methods of exhibiting and device of short message bill
CN106790915B (en) Number Reorganization control method, device and corresponding server and mobile terminal
CN107257358B (en) Information pushing method, terminal and server
KR20180105464A (en) Electronic device and method for detecting item in data associated with web
CN111709843B (en) Customer portrait generation method and device and electronic equipment
CN101441748A (en) Mobile business affairs system of combining position information and portable electronic device and method thereof
US10630406B2 (en) Method for providing mobile coupon and mobile electronic device supporting the same
CN109739998B (en) Information classification method and device

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190920

WD01 Invention patent application deemed withdrawn after publication