WO2012079387A1 - Method for using short messages and apparatus - Google Patents

Method for using short messages and apparatus Download PDF

Info

Publication number
WO2012079387A1
WO2012079387A1 PCT/CN2011/078776 CN2011078776W WO2012079387A1 WO 2012079387 A1 WO2012079387 A1 WO 2012079387A1 CN 2011078776 W CN2011078776 W CN 2011078776W WO 2012079387 A1 WO2012079387 A1 WO 2012079387A1
Authority
WO
WIPO (PCT)
Prior art keywords
amount
short message
digital
digital amount
category
Prior art date
Application number
PCT/CN2011/078776
Other languages
French (fr)
Chinese (zh)
Inventor
张妍
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012079387A1 publication Critical patent/WO2012079387A1/en

Links

Classifications

    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1432Metric aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/234Monitoring or handling of messages for tracking messages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/58Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on statistics of usage or network monitoring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/58Message adaptation for wireless communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2215/00Metering arrangements; Time controlling arrangements; Time indicating arrangements
    • H04M2215/28SMS billing

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and an apparatus for using a short message.
  • Short messages or short messages
  • mobile terminals for example, mobile phones
  • SMS short messages
  • the user can use the credit card recorded in the short message, transfer the amount of consumption and consumption time information, or use the mobile phone to carry out mobile payment information to know their own expenses for the month.
  • consumption records tend to be scattered in short messages, making it inconvenient for users to view consumer information and to count consumption information.
  • a method for using a short message comprising: identifying a digital amount in a short message content; determining a category of the digital amount; and separately counting amounts of different categories.
  • determining the category of the digital amount comprises: determining a meaning represented by a character adjacent to the digital amount in the short message content to determine a category of the digital amount.
  • determining the category of the digital amount comprises: determining a type of the digital amount according to a format of the short message content, wherein a format of the short message content is pre-agreed.
  • identifying the digital amount in the short message content comprises: determining whether the short message is from a predetermined number, and if the determination result is yes, identifying the digital amount in the short message content.
  • separately counting the digital amounts of different categories comprises: counting the digital amounts of different categories of the preset time period according to the time when the short messages carrying the digital amount are received, so as to query the statistical results according to the preset time period.
  • the method further includes: identifying a currency type corresponding to the digital amount; and counting the digital amount of the same category according to different currency types.
  • the category of the digital amount includes at least one of the following: an amount of expenditure, an amount of income, and a refill amount.
  • identifying the digital amount in the short message content comprises: searching a digital sequence of the short message content, determining a searched digital sequence according to a preset rule, to identify a digital amount of the short message content .
  • a device for using a short message comprising: an identification module configured to identify a digital amount in a short message content; a determining module configured to determine a category of the digital amount; a statistical module , set to count the amount of different categories separately.
  • the determining module is configured to determine, according to a matching rule, a meaning represented by a character adjacent to the digital amount in the short message content to determine a category of the digital amount, or set to be short according to the short
  • the format of the message content determines the category of the digital amount, wherein the format of the short message content is pre-agreed.
  • the identification module is further configured to identify a currency type corresponding to the digital amount; the statistical module is further configured to, in the case of identifying a currency type corresponding to the digital amount, a digital amount for the same category Statistics are performed according to different currency types.
  • the determining module is configured to extract a special character within the agreed range before the digital amount according to the matching rule, and determine a category of the digital amount according to the special character.
  • the statistics module is further configured to provide an interface to the application, wherein the interface is configured to enable the application to call the amount of statistics by the statistical module.
  • FIG. 1 is a flow chart showing a method of using a short message according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for using a short message according to an embodiment of the present invention
  • 3 is a structural block diagram of an apparatus for processing consumption data information in a short message according to an embodiment of the present invention
  • FIG. 1 is a flow chart showing a method of using a short message according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for using a short message according to an embodiment of the present invention
  • 3 is a structural block diagram of an apparatus for processing consumption data information in a short message according to an embodiment of the present invention
  • FIG. 1 is a flow chart showing a method of using a short message according to an embodiment of the present invention
  • FIG. 2 is a structural block diagram of an apparatus for using a short message according to an embodiment of the present invention
  • 3 is a structural block diagram of an apparatus for processing consumption data information in a short message according to an embodiment of the
  • FIG. 1 is a flowchart of a method for using a short message according to an embodiment of the present invention. As shown in FIG.
  • Step S102 identifying a short The number related to the amount in the message content (hereinafter referred to as the digital amount for convenience of description);
  • Step S104 judging the category of the digital amount, for example, it can be judged that the digital amount is the income amount, or the expenditure amount, or recharge
  • the amount may also include a credit amount, an interest amount, and the like;
  • step S106 statistics are performed on the amounts of the different categories.
  • the amount is summarized and the query can be provided for the summed amount, which improves the user experience.
  • the matching rule can be flexibly set by the user within the agreed scope. After the matching rule is set, the user can set the special character before the withdrawal of the amount number, and the special character can be set to Chinese or English.
  • the mobile phone can preset a set of matching rules before leaving the factory.
  • the matching rules can be directly selected or edited by the user. The following description will be made by way of example. For example, the meaning of the character adjacent to the digital amount in the short message content can be determined to determine the category of the digital amount.
  • a matching rule is preset in the mobile phone, allowing the user to modify to a certain extent within the scope of the matching rule, and adding a pre-set rule but allowing the user to modify the processing manner, which can prevent the user from increasing too much.
  • the proximity is not just a phase in the strict sense. Neighbor, it can be strictly adjacent, or it can be adjacent to a predetermined character. For example: "Your credit card consumes RMB 100 on XX XX," then you need to search for three Chinese characters at intervals. Therefore, The pre-set search method (how many characters can be searched by the search mode identifier here) can also affect the accuracy of the judgment.
  • the format of the fixed short message content may be pre-arranged between the sender and the receiver, and then the type of the digital amount is determined according to the format of the short message content described above. For example, you can agree that "**" means income, "##” means expenditure, then, **123##456 means income is 123, and expenditure is 456.
  • This method is more precise, but the sender needs to be modified, and the way of achieving the ratio is complicated. Through the above two examples, the category of the digital amount can be judged.
  • the currency type of the digital amount can be judged, for example, the dollar, the euro, the renminbi, and then counted according to different currencies.
  • the judgment of the currency type is simpler than the judgment of the numerical amount category.
  • the terminal will be given an additional processing burden. Therefore, one or more numbers can be set in advance, and then it is determined whether the short message is from a preset number. And if the judgment result is YES, the numerical amount in the content of the short message is identified.
  • different numbers can also be grouped, for example, the number from the information for transmitting the debit card and the number for transmitting the credit card information are divided into two groups, and then the contents of the two groups are separately counted.
  • the digital amount of different categories of the predetermined time period may also be counted according to the time when the short message carrying the digital amount is received.
  • the function of querying the statistical results according to the predetermined time period can be provided, and the preferred embodiments can be more convenient for the user to use.
  • an interface may also be provided to some applications in the mobile phone, so that if there is preset financial management software in the mobile phone, the information of the above fields may be recorded into a specified field in the wealth management software by manual or synchronous manner. Reduces the cumbersome steps for users to use the accounting software to bill.
  • a digital sequence of short message content may be searched by using a search rule, and then the searched digital sequence is determined according to a preset rule to identify the digital amount of the short message content.
  • the preset rule may include at least one of the following: a length of the sequence of numbers (eg, a length of the sequence of numbers greater than a threshold (eg, 8 bits), which is considered not a digital amount), a specific character before or after the sequence of numbers (eg, , if there is a $ before or after the sequence of digits, it is considered to be a numeric amount.) Whether a specific character is included in the sequence of numbers (for example, a comma is included in the sequence of numbers, it can be considered as a numerical amount).
  • a threshold eg, 8 bits
  • a specific character before or after the sequence of numbers eg, if there is a $ before or after the sequence of digits, it is considered to be a numeric amount.
  • a specific character is included in the sequence of numbers (for example, a comma is included in the sequence of numbers, it can be considered as a numerical amount).
  • this is only an example and is not limited to these rules.
  • a device for using a short message is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments thereof, and has not been described again, and the modules involved in the device are described below.
  • Description. 2 is a structural block diagram of an apparatus for using a short message according to an embodiment of the present invention. As shown in FIG. 2, the structure includes: an identification module 22, a determination module 24, and a statistics module 26. The structure will be described below.
  • the identification module 22 is configured to identify the digital amount in the short message content; the determining module 24 is connected to the identification module 22 for determining the category of the digital amount; and the statistical module 26 is connected to the determining module 24 for separately performing the amount of the different categories. statistics.
  • the determining module 24 is configured to determine, according to the matching rule, a meaning represented by a character adjacent to the digital amount in the short message content to determine a category of the digital amount, or to determine a type of the digital amount according to a format of the short message content, The format of the short message content is pre-agreed.
  • the identification module 22 is further configured to identify the currency type corresponding to the digital amount;
  • the statistics module 26 is further configured to perform statistics on the digital amount of the same category according to different currency types in the case of identifying the currency type corresponding to the digital amount.
  • the matching rule can be flexibly set by the user within the agreed range.
  • the user can set a special character before the withdrawal amount number, and the special character can be set to Chinese or English.
  • the mobile phone can preset a set of matching rules before leaving the factory.
  • the matching rules can be directly selected or edited by the user.
  • the statistics module 26 can provide an interface to some applications in the mobile phone, so that if there is preset financial management software in the mobile phone, the information of the above fields can be recorded into the designated fields in the wealth management software manually or synchronously. Reduces the cumbersome steps for users to use the accounting software to bill.
  • the method and apparatus in the foregoing embodiments may be applied to a mobile terminal (for example, a mobile phone). The following is an example in which a mobile phone receives a short message.
  • the daily expenditure is recorded by using the mobile phone short message, and the personal consumption data in the short message of the specific number is extracted and counted, thereby generating monthly personal income and expenditure details. That is, after receiving the short message sent by the designated UnionPay number, the terminal searches for the digital sequence in the short message, and if the digital sequence is searched, identifies whether the digital sequence is the amount information, and if the digital sequence is the amount of consumption, then the number When the sequence is the amount of expenditure, it is counted as expenditure consumption information. When the number is listed as the income amount, it is counted as income information.
  • the receiving time of the short message where the expenditure consumption information is located may be determined, and the amount of the expenditure is accumulated with the first spending amount of the current month.
  • the monthly expenditure amount statistics table can be saved in the terminal.
  • it is possible to distinguish between different currency categories for example, when the amount in the short message is the amount of the spent RMB, the amount is added to the RMB expenditure item of the current month, and when the amount in the short message is the amount of the dollar spent, the amount is added. Under the dollar expenditure for the month.
  • the matching of the digital amount category is implemented by using a matching rule.
  • a matching rule is stored in the terminal, and after the terminal identifies the digital sequence as the consumption information, the matching rule is read and executed;
  • the matching rule judges that the expenditure amount is added to the corresponding currency of the expenditure amount according to the identification field of the digital sequence in the short message and the specific field in the message body.
  • the matching rule judges that the income amount is added to the corresponding item of the income amount according to the identification field of the digital sequence in the short message and the specific field in the message body.
  • 3 is a structural block diagram of an apparatus for processing consumption data information in a short message according to an embodiment of the present invention.
  • the solid line in the figure represents an instruction stream, and the dotted line in the figure represents a data stream.
  • the apparatus includes: filtering Module 302, search module 303, identification module 304, query module 306 and storage module 305.
  • the filtering module 302 is configured to filter the short message. For example, only the specified special number entry can be allowed to pass, and the filtered output is transmitted to the search module.
  • the search module 303 is configured to search the digital sequence in the short message after receiving the short message of the specific number, and send the digital sequence to the identification module 304 if the digital sequence is found in the short message.
  • the identification module 304 is configured to identify the key field and the digital sequence related to the revenue and expenditure searched in the message entry. After the identification, the identified digital sequence may also be identified. For example, the color and the underline may be used to distinguish the income.
  • the search module implements the functions of the above-mentioned identification module 22, and the identification module implements the functions of the above-described determination module 24.
  • the storage module 305 is configured to store search rules, identification rules, and operation rules, and receive the sequence of numbers and operation results found in the short message. For example, the storage module 305 is configured to save the monthly corresponding expenditure and income data and the accumulated data.
  • the module implements the functions of the statistics module 26 described above.
  • the storage module 305 receives the value amount sent by the identification module 304 and accumulates it in the income or expenditure amount of the same currency attribute of the current month.
  • the storage module 305 is further configured to save revenue and expenditure information in the previous monthly message of the user; preferably, if There are preset financial management software in the mobile phone. The information of these fields can be recorded to the specified fields in the wealth management software manually or synchronously.
  • the query module 306 is configured to provide a query function. Through this embodiment, the existing network and short message service can be used to obtain monthly revenue and expenditure details, and statistical data is generated, which is convenient for the user to count the income and expenditure of the current month.
  • Step 401 After receiving a short message of a specific number, the terminal reads the memory from the memory. Take pre-configured search rules.
  • the special short message number and the corresponding UnionPay account relationship table may be pre-stored for filtering the received short message; for example, the special number may be: 95555 China Merchants Bank, 95566 Bank of China, 95588 Industrial and Commercial Bank
  • Step 402 The terminal runs a search rule to search for a sequence of numbers contained in the content of the short message; for example, the search rule may use any rule that may search for a sequence of numbers from the short message, and the sequence of digits may be an Arabic numeral or a combination of a plurality of Arabic numerals with special symbols, wherein the special symbols include only a decimal point or a comma;
  • Step 403 The terminal marks the sequence of numbers identified as the amount of consumption; for example, the terminal may search for a message with a special number.
  • Step 404 Terminal pair identification Extracting digital sequence; for example, the terminal identification number sequence of length symbols and numerals are requirements, such as a predetermined sequence of numbers between field contains symbols not meet the requirements, this number sequence is discarded, the re-recognition. In order to ensure the normal performance of the mobile phone, the number of identifications of each short message is required to be exceeded, and the short message is automatically discarded.
  • RMB including RMB
  • Step 405 The terminal runs a matching rule, the matching rule is to identify the digital sequence, and according to the identified number The sequence gives a choice of income and expenditure; Step 406: storing and calculating the identified currency amount and storing the original currency amount according to the set storage location; Step 407: Save the recognized digital amount and the operation result in the storage module 305, so that the user can query the monthly income and expenditure situation.
  • the storage rules of the terminal have a number of digits and positive and negative constraints, such as a sequence of numbers that do not meet these conditions are not saved.
  • the foregoing embodiment solves the problem that the consumption record in the prior art is relatively inconvenient for the short message to be viewed by the user, thereby improving the user experience.
  • modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device so that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual software or hardware modules, or they may be Multiple modules or steps are made into a single software or hardware module.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are a method for using short messages and apparatus. The method comprises: identifying a numeral amount in the content of a short message (S102); determining the type of the numeral amount (S104); and acquiring statistics of the amount of different types respectively (S106). The present invention solves the problem of the inconvenience for a user to check and get statistics of the dispersed records of consumption in short messages in prior art, thereby improving user experience.

Description

短消息的使用方法及装置 技术领域 本发明涉及通信领域, 尤其是涉及短消息的使用方法及装置。 背景技术 目前, 移动通讯在个人信息方面起到了越来越重要的作用。 移动终端 (例如, 手 机) 中的短消息 (或称为短信) 作为一种使用便捷的信息传递方式, 为使用者提供各 类消费信息的记录。例如, 银联卡的境内外刷卡消费信息, 用户会通过手机短信获得。 用户可以通过短信中记录的刷卡, 转账等消费数额和消费时间的信息, 或者使用手机 进行移动支付信息了解自己当月的开支情况。 然而, 这类消费记录在短消息中往往比 较分散, 不方便用户查看消费信息, 并对消费信息进行统计。 发明内容 本发明旨在提供一种短消息的使用方法及装置, 以解决上述的问题。 根据本发明的一个方面, 提供了一种短消息的使用方法, 该方法包括: 识别短消 息内容中的数字金额; 判断所述数字金额的类别; 分别对不同类别的金额进行统计。 优选地, 判断所述数字金额的类别包括: 判断所述短消息内容中与所述数字金额 相邻的字符所表示的含义以确定所述数字金额的类别。 优选地, 判断所述数字金额的类别包括: 根据所述短消息内容的格式判断所述数 字金额的类型, 其中, 所述短消息内容的格式是有预先约定的。 优选地, 识别所述短消息内容中的数字金额包括: 判断所述短消息是否来自预定 的号码, 并在判断结果为是的情况下, 识别所述短消息内容中的数字金额。 优选地, 分别对不同类别的数字金额进行统计包括: 根据接收到携带有数字金额 的短消息的时间, 统计预设时间段的不同类别的数字金额, 以便于按预设时间段查询 统计结果。 优选地, 上述方法还包括: 识别所述数字金额所对应的货币类型; 对同一类别的 数字金额按照不同的货币类型进行统计。 优选地, 所述数字金额的类别包括以下至少之一: 支出金额、 收入金额、 充值金 额。 优选地, 识别所述短消息内容中的数字金额包括: 搜索所述短消息内容的数字序 列, 根据预设的规则对搜索出的数字序列进行判断, 以识别出所述短消息内容的数字 金额。 根据本发明的另一个方面, 还提供了一种短消息的使用装置, 包括: 识别模块, 设置为识别短消息内容中的数字金额; 判断模块, 设置为判断所述数字金额的类别; 统计模块, 设置为分别对不同类别的金额进行统计。 优选地, 所述判断模块, 设置为按照匹配规则判断所述短消息内容中与所述数字 金额相邻的字符所表示的含义以确定所述数字金额的类别, 或者, 设置为根据所述短 消息内容的格式判断所述数字金额的类别, 其中, 所述短消息内容的格式是预先约定 的。 优选地, 所述识别模块, 还设置为识别所述数字金额所对应的货币类型; 所述统 计模块, 还设置为在识别所述数字金额对应的货币类型的情况下, 对同一类别的数字 金额按照不同的货币类型进行统计。 优选地, 所述判断模块, 设置为按照所述匹配规则, 提取所述数字金额之前的在 约定范围内的特殊字符, 并根据所述特殊字符判断所述数字金额的类别。 优选地, 所述统计模块还设置为向应用程序提供接口, 其中, 所述接口设置为使 所述应用程序调用所述统计模块统计的金额。 通过本发明, 解决了现有技术中消费记录在短消息比较分散不方便用户查看和统 计的问题, 进而提高了用户体验。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的短消息的使用方法的流程图; 图 2是根据本发明实施例的短消息的使用装置的结构框图; 图 3是根据本发明实施例的处理短消息中消费数据信息的装置的结构框图; 图 4是根据本发明实施例的短消息中数字序列信息处理的流程图。 具体实施方式 下文中将参考附图并结合实施例来详细说明本发明。 需要说明的是, 在不冲突的 情况下, 本申请中的实施例及实施例中的特征可以相互组合。 在本实施例中提供了一种短消息的使用方式, 图 1是根据本发明实施例的短消息 的使用方法的流程图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 识别短消息内容中的与金额相关的数字(为了描述方便, 在下文中简 称为数字金额); 步骤 S104, 判断该数字金额的类别, 例如, 可以判断该数字金额是收入金额, 或 者是支出金额, 或者充值金额, 当然, 还可以包括信贷金额, 利息金额等等; 步骤 S106, 分别对不同类别的金额进行统计。 通过上述步骤, 用户对短消息中的数字金额分为不同的类别, 并对不同类别的金 额进行统计, 可以使用户清楚地了解不同类别金额的总数, 从而将分散在多个短消息 中的数字金额进行了汇总, 并且, 能够对汇总后的金额提供查询, 提高了用户体验。 对于判断数字金额的类别的方法有很多种, 例如, 可以在约定范围内由用户灵活 设置匹配规则, 设置匹配规则后用户可以设置提取金额数字之前的特殊字符, 特殊字 符可以设置为中文或者英文。 为了方便使用, 手机在出厂前可以预置一套匹配规则, 该匹配规则可以由用户直接选用或者编辑后使用。 下面以举例的方式进行说明。 例一, 可以判断短消息内容中与数字金额相邻的字符所表示的含义以确定该数字 金额的类别。 通过这种判断的方式完全在接收方进行, 而并不需要发送端的参与, 从 而不用对发送方进行任何的改进。 例如, 一般会收到如下内容的短信 "您的信用卡于 XX月 XX日消费 100RMB ", 此时可以提取 "消费"两个字作为该金额是支出金额的凭 证, 除此之外, 可以预先设置需要搜索的字符的内容: "消费"、 "转移"、 "取走"、 或 者对应的英文字段等认为是支出, 这样预先设置的代表同一类别的同类词越多提取就 越准确, 但为了避免处理速度受到影响, 一般手机中会预置一份匹配规则, 允许用户 在此匹配规则的范围内进行一定程度的修改, 增加规则预设定但允许用户修改的处理 方式, 可以避免用户增加过多的词汇。 另外, 此处的相邻并不仅仅是严格意义上的相 邻, 其可以是严格相邻, 也可以是间隔预定字符的相邻, 例如: "您的信用卡于 XX月 XX日消费人民币 100", 那么此时就需要间隔三个汉字来进行搜索, 因此, 预先设置的 搜索方式 (此处的搜索方式标识可以间隔多少个字符进行搜索) 的多少也可以影响判 断的准确度。 由此可见, 虽然这种方式不需要对发送方进行改动, 但是, 这种方式不 是很精确。 如果需要精确的统计, 那么可以采用例二中的方式。 例二, 可以在发送方和接收方之间预先约定好固定的短消息内容的格式, 然后, 根据上述的短消息内容的格式判断数字金额的类型。 例如, 可以约定" ** "表示收入、 "## "表示支出, 那么, ** 123##456就表示收入了 123 , 而支出了 456。 这种方式比 较精确, 但是, 需要对发送方进行改动, 实现起来比例一中的方式复杂。 通过上述两个例子可以判断出数字金额的类别, 使用同样的方式还可以判断出数 字金额的货币类型, 例如, 美元、 欧元、 人民币, 然后根据不同的币种进行统计。 当 然, 货币类型判断相对于数字金额类别的判断要简单一些。 在实施时, 如果对所有的短信均进行数字金额的识别, 将给终端带来额外的处理 负担, 因此, 可以预先设置一个或多个号码, 然后, 判断该短消息是否来自预先设置 的号码, 并在判断结果为是的情况下, 识别该短消息内容中的数字金额。 优选地, 还 可以对不同的号码的进行分组, 例如, 将来自发送借记卡信息的号码和发送信用卡信 息的号码分为两组, 然后对这两组的内容进行分别统计。 优选地, 还可以根据接收到 携带有数字金额的短消息的时间, 统计预定时间段的不同类别的数字金额。 当然, 按 照预定时间段进行统计之后, 可以提供按预定时间段查询统计结果的功能, 通过这些 优选的实施方式可以更加方便用户的使用。 优选地, 还可以向手机中的一些应用程序提供接口, 这样如果手机中有预置的理 财软件, 以上这些字段的信息可以通过手动或者同步方式被记录到理财软件中的指定 字段中。 减少了用户使用记账软件记账的繁琐步骤。 优选地, 在实施时, 可以采用搜索规则搜索短消息内容的数字序列, 然后, 再根 据预设的规则对搜索出的数字序列进行判断, 以识别出该短消息内容的数字金额。 例 如, 该预设的规则可以包括以下至少之一: 数字序列的长度 (例如, 数字序列的长度 大于阈值 (如 8位), 则认为不是数字金额)、 数字序列前或者后的特定字符 (例如, 在数字序列的前或者后有一个$, 则认为是数字金额)、 数字序列中是否包括特定的字 符(例如, 数字序列中包括了逗号, 则可以认为是数字金额)。 当然, 这仅仅是举例说 明, 并不限于这几种规则。 在本实施例中还提供了一种短消息的使用装置, 该装置用于实现上述实施例及其 优选实施方式, 已经进行过说明的不再赘述,下面对该装置中涉及到的模块进行说明。 图 2是根据本发明实施例的短消息的使用装置的结构框图, 如图 2所示, 该结构包括: 识别模块 22、 判断模块 24、 统计模块 26, 下面对该结构进行说明。 识别模块 22, 用于识别短消息内容中的数字金额; 判断模块 24连接至识别模块 22, 用于判断数字金额的类别; 统计模块 26连接至判断模块 24, 用于分别对不同类 别的金额进行统计。 优选地,判断模块 24用于按照匹配规则判断短消息内容中与数字金额相邻的字符 所表示的含义以确定数字金额的类别, 或者, 用于根据短消息内容的格式判断数字金 额的类型, 其中, 短消息内容的格式是预先约定的。 优选地, 识别模块 22还用于识别数字金额所对应的货币类型; 统计模块 26还用 于在识别数字金额对应的货币类型的情况下, 对同一类别的数字金额按照不同的货币 类型进行统计。 对于判断模块 24中,可以在约定范围内由用户灵活设置匹配规则, 设置匹配规则 后用户可以设置提取金额数字之前的特殊字符, 特殊字符可以设置为中文或者英文。 为了方便使用, 手机在出厂前可以预置一套匹配规则, 该匹配规则可以由用户直接选 用或者编辑后使用。 统计模块 26可以向手机中的一些应用程序提供接口,这样如果手机中有预置的理 财软件, 以上这些字段的信息可以通过手动或者同步方式被记录到理财软件中的指定 字段中。 减少了用户使用记账软件记账的繁琐步骤。 上述实施例中的方法以及装置可以应用于移动终端中(例如, 手机), 以下以手机 接收到短信为例进行说明。 在本实施例中利用手机短信记录日常开支, 通过提取特定号码短消息中个人的消 费数据, 并对其进行统计, 从而产生每月的个人收支明细。 即, 终端接收到指定银联 号码发送的短消息后, 在短消息中搜索数字序列, 若搜索到数字序列, 则识别该数字 序列是否为金额信息, 若该数字序列为消费金额, 则当该数字序列为支出金额时, 统 计为支出消费信息。 当该数字数列为收入金额时, 统计为收入信息。 优选地, 在实施时, 可以判断支出消费信息所在短信的接收时间, 并将支出的金 额与当月第一笔消费金额进行累加。其中,在终端中可以保存有本月支出金额统计表。 当然, 可以对于不同币种类别的情况进行区分, 例如, 当短信中的金额为支出人民币 金额, 将此金额加在当月人民币支出项下, 当短信中的金额为支出美元金额, 将此金 额加在当月美元支出项下。 在本实施例中, 通过匹配规则来实现对数字金额类别的区分, 例如, 在终端中保 存有匹配规则, 终端将数字序列识别为消费信息后, 读取并运行该匹配规则; 当短信 中的金额为支出金额时, 匹配规则根据该短信中数字序列的标识字段和消息体中的具 体字段判断是支出金额则加入支出金额的相应币种下。当短信中的金额为收入金额时, 匹配规则根据该短信中数字序列的标识字段和消息体中的具体字段判断是收入金额则 加入收入金额的相应项下。 图 3是根据本发明实施例的处理短消息中消费数据信息的装置的结构框图, 图中 的实线代表指令流,图中的虚线代表数据流,如图 3所示,该装置包括:过滤模块 302, 搜索模块 303,识别模块 304,查询模块 306和存储模块 305。下面对此进行分别说明。 过滤模块 302用于对短消息进行过滤, 例如, 可以只允许对设定好的特殊号码条 目通过, 并将过滤后的输出传入搜索模块。 搜索模块 303用于在该装置接收到收到特定号码的短消息后, 对该短消息中的数 字序列进行搜索, 如果在短信中搜到数字序列就将其发送给识别模块 304。 识别模块 304用于识别消息条目中搜索到的与收支相关的关键字段和数字序列, 在识别之后, 还可以对识别出的数字序列进行标识, 例如, 可以使用颜色以及下划线 来区分是收入还是支出, 并允许用户进行选择。 然后, 将其放入不同的存储单元, 以 便于统计。 优选地, 对于货币数值信息, 判断是消费金额或支付类金额。 优选地, 识 别是人民币消费还是美金消费或者其它本地币, 并根据存储规则分别保存到存储模块 305的相应字段。 需要说明的是, 该搜索模块实现了上述识别模块 22的功能、而识别模块实现了上 述的判断模块 24的功能。 存储模块 305用于存储搜索规则、 识别规则和运算规则, 以及收到短消息中搜索 到的数字序列和运算结果, 例如, 存储模块 305用于保存月度相应的支出和收入数据 以及累计之后的数据, 该模块实现了上述统计模块 26的功能。存储模块 305收到识别 模块 304发送的数值金额,并将其累计在当月的同一货币属性的收入或者支出金额中。 优选地, 存储模块 305还用于保存用户以往各个月短信中的收支信息; 优选地, 如果 手机中有预置的理财软件, 以上这些字段的信息可以通过手动或者同步方式被记录到 理财软件中的指定字段。 查询模块 306用于提供查询功能。 通过本实施例, 可以利用现有网络和短消息服务, 获得每月的收支明细, 产生统 计数据, 方便用户对当月的收支情况进行统计。 图 4是根据本发明实施例的短消息中数字序列信息处理的流程图, 如图 4所示, 该流程包括如下步骤: 步骤 401 : 用户收到特定号码的短消息后, 终端从存储器中读取预先配置好的搜 索规则。 需要说明的是, 可以预先存储特殊短消息的号码和对应的银联账号关系表, 用来对收到的短消息进行过滤使用; 如特殊号码可能是: 95555 招商银行, 95566 中 国银行, 95588 工商银行等; 步骤 402: 终端运行搜索规则, 搜索短消息内容中包含的数字序列; 例如, 搜索 规则可以采用已有任何可能从短消息中搜索出数字序列的规则, 数字序列可以是一个 阿拉伯数字或者是多个带有特殊符号的阿拉伯数字的组合, 其中的特殊符号仅包括小 数点或逗号; 步骤 403 : 终端对识别为消费金额的数字序列进行标记; 例如, 终端在一条特殊 号码的短信中可能搜索到多条数字序列, 终端只对关键字, 如 "人民币 (包括 RMB ) " 之后以及 "元"之前的数字进行提取, 同时根据短信中 "出账", "入账", "还款"和 "消费"等关键字段判断金额是收入还是支出; 步骤 404: 终端对识别出的数字序列进行提取; 例如, 终端标识的数字序列对符 号和数字长度都有要求, 如规定字段之间的数字序列包含有不符合要求的符号, 则抛 弃此数字序列, 重新识别。 为保证手机的正常性能, 对每条短信的识别有次数要求, 超过约定次数, 自动放弃此条短消息; 步骤 405 : 终端运行匹配规则, 匹配规则为识别出数字序列, 并根据识别出的数 字序列给出收入和支出的选择; 步骤 406: 对识别出的货币金额与存储其中原有的货币金额按照设定的存储位置 进行存储并作运算; 步骤 407: 将识别出的数字金额和运算结果保存在存储模块 305中, 便于用户查 询当月收支情况。 例如, 终端的存储规则有位数和正负数约束条件, 如不符合这些条 件的数字序列则不被保存。 综上所述, 通过上述实施例, 解决了现有技术中消费记录在短消息比较分散不方 便用户查看的问题, 进而提高了用户体验。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而可以将 它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个软件或硬件模 块, 或者将它们中的多个模块或步骤制作成单个软件或硬件模块来实现。 这样, 本发 明不限制于任何特定的硬件和软件结合。 以上所述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 TECHNICAL FIELD The present invention relates to the field of communications, and in particular, to a method and an apparatus for using a short message. BACKGROUND OF THE INVENTION Currently, mobile communication plays an increasingly important role in personal information. Short messages (or short messages) in mobile terminals (for example, mobile phones) serve as a convenient way to transfer information to users. For example, the domestic and foreign credit card consumption information of UnionPay cards will be obtained by users through SMS. The user can use the credit card recorded in the short message, transfer the amount of consumption and consumption time information, or use the mobile phone to carry out mobile payment information to know their own expenses for the month. However, such consumption records tend to be scattered in short messages, making it inconvenient for users to view consumer information and to count consumption information. SUMMARY OF THE INVENTION The present invention is directed to a method and apparatus for using a short message to solve the above problems. According to an aspect of the present invention, a method for using a short message is provided, the method comprising: identifying a digital amount in a short message content; determining a category of the digital amount; and separately counting amounts of different categories. Preferably, determining the category of the digital amount comprises: determining a meaning represented by a character adjacent to the digital amount in the short message content to determine a category of the digital amount. Preferably, determining the category of the digital amount comprises: determining a type of the digital amount according to a format of the short message content, wherein a format of the short message content is pre-agreed. Preferably, identifying the digital amount in the short message content comprises: determining whether the short message is from a predetermined number, and if the determination result is yes, identifying the digital amount in the short message content. Preferably, separately counting the digital amounts of different categories comprises: counting the digital amounts of different categories of the preset time period according to the time when the short messages carrying the digital amount are received, so as to query the statistical results according to the preset time period. Preferably, the method further includes: identifying a currency type corresponding to the digital amount; and counting the digital amount of the same category according to different currency types. Preferably, the category of the digital amount includes at least one of the following: an amount of expenditure, an amount of income, and a refill amount. Preferably, identifying the digital amount in the short message content comprises: searching a digital sequence of the short message content, determining a searched digital sequence according to a preset rule, to identify a digital amount of the short message content . According to another aspect of the present invention, a device for using a short message is provided, comprising: an identification module configured to identify a digital amount in a short message content; a determining module configured to determine a category of the digital amount; a statistical module , set to count the amount of different categories separately. Preferably, the determining module is configured to determine, according to a matching rule, a meaning represented by a character adjacent to the digital amount in the short message content to determine a category of the digital amount, or set to be short according to the short The format of the message content determines the category of the digital amount, wherein the format of the short message content is pre-agreed. Preferably, the identification module is further configured to identify a currency type corresponding to the digital amount; the statistical module is further configured to, in the case of identifying a currency type corresponding to the digital amount, a digital amount for the same category Statistics are performed according to different currency types. Preferably, the determining module is configured to extract a special character within the agreed range before the digital amount according to the matching rule, and determine a category of the digital amount according to the special character. Preferably, the statistics module is further configured to provide an interface to the application, wherein the interface is configured to enable the application to call the amount of statistics by the statistical module. The invention solves the problem that the consumption record in the prior art is relatively inconvenient for the user to view and count in the short message, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a flow chart showing a method of using a short message according to an embodiment of the present invention; FIG. 2 is a structural block diagram of an apparatus for using a short message according to an embodiment of the present invention; 3 is a structural block diagram of an apparatus for processing consumption data information in a short message according to an embodiment of the present invention; and FIG. 4 is a flowchart of digital sequence information processing in a short message according to an embodiment of the present invention. BEST MODE FOR CARRYING OUT THE INVENTION Hereinafter, the present invention will be described in detail with reference to the accompanying drawings. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. In this embodiment, a method for using a short message is provided. FIG. 1 is a flowchart of a method for using a short message according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps: Step S102, identifying a short The number related to the amount in the message content (hereinafter referred to as the digital amount for convenience of description); Step S104, judging the category of the digital amount, for example, it can be judged that the digital amount is the income amount, or the expenditure amount, or recharge The amount, of course, may also include a credit amount, an interest amount, and the like; and in step S106, statistics are performed on the amounts of the different categories. Through the above steps, the user divides the digital amount in the short message into different categories, and counts the amount of the different categories, so that the user can clearly understand the total amount of the different categories of the amount, thereby dividing the numbers dispersed in the plurality of short messages. The amount is summarized and the query can be provided for the summed amount, which improves the user experience. There are many methods for judging the category of the digital amount. For example, the matching rule can be flexibly set by the user within the agreed scope. After the matching rule is set, the user can set the special character before the withdrawal of the amount number, and the special character can be set to Chinese or English. For convenience of use, the mobile phone can preset a set of matching rules before leaving the factory. The matching rules can be directly selected or edited by the user. The following description will be made by way of example. For example, the meaning of the character adjacent to the digital amount in the short message content can be determined to determine the category of the digital amount. The way of this judgment is completely performed on the receiving side, and the participation of the transmitting end is not required, so that no improvement is made to the sender. For example, you will usually receive the following message "Your credit card will consume 100RMB on XX XX day". At this time, you can extract the word "consumption" as the voucher for the amount of the payment. In addition, you can set it in advance. The content of the character to be searched: "consumption", "transfer", "take away", or the corresponding English field is considered as expenditure, so the more pre-set words of the same category, the more accurate the extraction, the more accurate, but to avoid The processing speed is affected. Generally, a matching rule is preset in the mobile phone, allowing the user to modify to a certain extent within the scope of the matching rule, and adding a pre-set rule but allowing the user to modify the processing manner, which can prevent the user from increasing too much. Vocabulary. In addition, the proximity here is not just a phase in the strict sense. Neighbor, it can be strictly adjacent, or it can be adjacent to a predetermined character. For example: "Your credit card consumes RMB 100 on XX XX," then you need to search for three Chinese characters at intervals. Therefore, The pre-set search method (how many characters can be searched by the search mode identifier here) can also affect the accuracy of the judgment. It can be seen that although this method does not require changes to the sender, this method is not very accurate. If you need accurate statistics, you can use the method in Example 2. For example, the format of the fixed short message content may be pre-arranged between the sender and the receiver, and then the type of the digital amount is determined according to the format of the short message content described above. For example, you can agree that "**" means income, "##" means expenditure, then, **123##456 means income is 123, and expenditure is 456. This method is more precise, but the sender needs to be modified, and the way of achieving the ratio is complicated. Through the above two examples, the category of the digital amount can be judged. In the same way, the currency type of the digital amount can be judged, for example, the dollar, the euro, the renminbi, and then counted according to different currencies. Of course, the judgment of the currency type is simpler than the judgment of the numerical amount category. In the implementation, if all the short messages are identified by the digital amount, the terminal will be given an additional processing burden. Therefore, one or more numbers can be set in advance, and then it is determined whether the short message is from a preset number. And if the judgment result is YES, the numerical amount in the content of the short message is identified. Preferably, different numbers can also be grouped, for example, the number from the information for transmitting the debit card and the number for transmitting the credit card information are divided into two groups, and then the contents of the two groups are separately counted. Preferably, the digital amount of different categories of the predetermined time period may also be counted according to the time when the short message carrying the digital amount is received. Of course, after the statistics are performed according to the predetermined time period, the function of querying the statistical results according to the predetermined time period can be provided, and the preferred embodiments can be more convenient for the user to use. Preferably, an interface may also be provided to some applications in the mobile phone, so that if there is preset financial management software in the mobile phone, the information of the above fields may be recorded into a specified field in the wealth management software by manual or synchronous manner. Reduces the cumbersome steps for users to use the accounting software to bill. Preferably, in implementation, a digital sequence of short message content may be searched by using a search rule, and then the searched digital sequence is determined according to a preset rule to identify the digital amount of the short message content. For example, the preset rule may include at least one of the following: a length of the sequence of numbers (eg, a length of the sequence of numbers greater than a threshold (eg, 8 bits), which is considered not a digital amount), a specific character before or after the sequence of numbers (eg, , if there is a $ before or after the sequence of digits, it is considered to be a numeric amount.) Whether a specific character is included in the sequence of numbers (for example, a comma is included in the sequence of numbers, it can be considered as a numerical amount). Of course, this is only an example and is not limited to these rules. In this embodiment, a device for using a short message is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments thereof, and has not been described again, and the modules involved in the device are described below. Description. 2 is a structural block diagram of an apparatus for using a short message according to an embodiment of the present invention. As shown in FIG. 2, the structure includes: an identification module 22, a determination module 24, and a statistics module 26. The structure will be described below. The identification module 22 is configured to identify the digital amount in the short message content; the determining module 24 is connected to the identification module 22 for determining the category of the digital amount; and the statistical module 26 is connected to the determining module 24 for separately performing the amount of the different categories. statistics. Preferably, the determining module 24 is configured to determine, according to the matching rule, a meaning represented by a character adjacent to the digital amount in the short message content to determine a category of the digital amount, or to determine a type of the digital amount according to a format of the short message content, The format of the short message content is pre-agreed. Preferably, the identification module 22 is further configured to identify the currency type corresponding to the digital amount; the statistics module 26 is further configured to perform statistics on the digital amount of the same category according to different currency types in the case of identifying the currency type corresponding to the digital amount. For the judging module 24, the matching rule can be flexibly set by the user within the agreed range. After the matching rule is set, the user can set a special character before the withdrawal amount number, and the special character can be set to Chinese or English. For convenience of use, the mobile phone can preset a set of matching rules before leaving the factory. The matching rules can be directly selected or edited by the user. The statistics module 26 can provide an interface to some applications in the mobile phone, so that if there is preset financial management software in the mobile phone, the information of the above fields can be recorded into the designated fields in the wealth management software manually or synchronously. Reduces the cumbersome steps for users to use the accounting software to bill. The method and apparatus in the foregoing embodiments may be applied to a mobile terminal (for example, a mobile phone). The following is an example in which a mobile phone receives a short message. In this embodiment, the daily expenditure is recorded by using the mobile phone short message, and the personal consumption data in the short message of the specific number is extracted and counted, thereby generating monthly personal income and expenditure details. That is, after receiving the short message sent by the designated UnionPay number, the terminal searches for the digital sequence in the short message, and if the digital sequence is searched, identifies whether the digital sequence is the amount information, and if the digital sequence is the amount of consumption, then the number When the sequence is the amount of expenditure, it is counted as expenditure consumption information. When the number is listed as the income amount, it is counted as income information. Preferably, in implementation, the receiving time of the short message where the expenditure consumption information is located may be determined, and the amount of the expenditure is accumulated with the first spending amount of the current month. Among them, the monthly expenditure amount statistics table can be saved in the terminal. Of course, it is possible to distinguish between different currency categories, for example, when the amount in the short message is the amount of the spent RMB, the amount is added to the RMB expenditure item of the current month, and when the amount in the short message is the amount of the dollar spent, the amount is added. Under the dollar expenditure for the month. In this embodiment, the matching of the digital amount category is implemented by using a matching rule. For example, a matching rule is stored in the terminal, and after the terminal identifies the digital sequence as the consumption information, the matching rule is read and executed; When the amount is the expenditure amount, the matching rule judges that the expenditure amount is added to the corresponding currency of the expenditure amount according to the identification field of the digital sequence in the short message and the specific field in the message body. When the amount in the short message is the income amount, the matching rule judges that the income amount is added to the corresponding item of the income amount according to the identification field of the digital sequence in the short message and the specific field in the message body. 3 is a structural block diagram of an apparatus for processing consumption data information in a short message according to an embodiment of the present invention. The solid line in the figure represents an instruction stream, and the dotted line in the figure represents a data stream. As shown in FIG. 3, the apparatus includes: filtering Module 302, search module 303, identification module 304, query module 306 and storage module 305. This is explained separately below. The filtering module 302 is configured to filter the short message. For example, only the specified special number entry can be allowed to pass, and the filtered output is transmitted to the search module. The search module 303 is configured to search the digital sequence in the short message after receiving the short message of the specific number, and send the digital sequence to the identification module 304 if the digital sequence is found in the short message. The identification module 304 is configured to identify the key field and the digital sequence related to the revenue and expenditure searched in the message entry. After the identification, the identified digital sequence may also be identified. For example, the color and the underline may be used to distinguish the income. Still spending, and allowing users to make choices. Then, put it in a different storage unit for easy statistics. Preferably, for the monetary value information, the judgment is the amount of consumption or the amount of the payment class. Preferably, the identification is RMB consumption or US dollar consumption or other local currency, and is saved to the corresponding field of the storage module 305 according to the storage rule. It should be noted that the search module implements the functions of the above-mentioned identification module 22, and the identification module implements the functions of the above-described determination module 24. The storage module 305 is configured to store search rules, identification rules, and operation rules, and receive the sequence of numbers and operation results found in the short message. For example, the storage module 305 is configured to save the monthly corresponding expenditure and income data and the accumulated data. The module implements the functions of the statistics module 26 described above. The storage module 305 receives the value amount sent by the identification module 304 and accumulates it in the income or expenditure amount of the same currency attribute of the current month. Preferably, the storage module 305 is further configured to save revenue and expenditure information in the previous monthly message of the user; preferably, if There are preset financial management software in the mobile phone. The information of these fields can be recorded to the specified fields in the wealth management software manually or synchronously. The query module 306 is configured to provide a query function. Through this embodiment, the existing network and short message service can be used to obtain monthly revenue and expenditure details, and statistical data is generated, which is convenient for the user to count the income and expenditure of the current month. 4 is a flowchart of digital sequence information processing in a short message according to an embodiment of the present invention. As shown in FIG. 4, the process includes the following steps: Step 401: After receiving a short message of a specific number, the terminal reads the memory from the memory. Take pre-configured search rules. It should be noted that the special short message number and the corresponding UnionPay account relationship table may be pre-stored for filtering the received short message; for example, the special number may be: 95555 China Merchants Bank, 95566 Bank of China, 95588 Industrial and Commercial Bank Step 402: The terminal runs a search rule to search for a sequence of numbers contained in the content of the short message; for example, the search rule may use any rule that may search for a sequence of numbers from the short message, and the sequence of digits may be an Arabic numeral or a combination of a plurality of Arabic numerals with special symbols, wherein the special symbols include only a decimal point or a comma; Step 403: The terminal marks the sequence of numbers identified as the amount of consumption; for example, the terminal may search for a message with a special number. Multiple digit sequences, the terminal only extracts the keywords, such as "RMB (including RMB)" and the number before "Yuan", and according to the "send", "account", "repayment" and "consumption""When the key field determines whether the amount is income or expenditure; Step 404: Terminal pair identification Extracting digital sequence; for example, the terminal identification number sequence of length symbols and numerals are requirements, such as a predetermined sequence of numbers between field contains symbols not meet the requirements, this number sequence is discarded, the re-recognition. In order to ensure the normal performance of the mobile phone, the number of identifications of each short message is required to be exceeded, and the short message is automatically discarded. Step 405: The terminal runs a matching rule, the matching rule is to identify the digital sequence, and according to the identified number The sequence gives a choice of income and expenditure; Step 406: storing and calculating the identified currency amount and storing the original currency amount according to the set storage location; Step 407: Save the recognized digital amount and the operation result in the storage module 305, so that the user can query the monthly income and expenditure situation. For example, the storage rules of the terminal have a number of digits and positive and negative constraints, such as a sequence of numbers that do not meet these conditions are not saved. In summary, the foregoing embodiment solves the problem that the consumption record in the prior art is relatively inconvenient for the short message to be viewed by the user, thereby improving the user experience. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device so that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual software or hardware modules, or they may be Multiple modules or steps are made into a single software or hardware module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种短消息的使用方法, 包括: 1. A method of using short messages, including:
识别短消息内容中的数字金额;  Identify the amount of the number in the short message content;
判断所述数字金额的类别;  Determining the category of the digital amount;
分别对不同类别的金额进行统计。  Statistics are performed on the amounts of different categories.
2. 根据权利要求 1所述的方法, 其中, 判断所述数字金额的类别包括: 2. The method according to claim 1, wherein determining the category of the digital amount comprises:
判断所述短消息内容中与所述数字金额相邻的字符所表示的含义以确定所 述数字金额的类别。  The meaning of the character adjacent to the digital amount in the short message content is determined to determine the category of the digital amount.
3. 根据权利要求 1所述的方法, 其中, 判断所述数字金额的类别包括: 3. The method according to claim 1, wherein determining the category of the digital amount comprises:
根据所述短消息内容的格式判断所述数字金额的类型, 其中, 所述短消息 内容的格式是有预先约定的。  Determining the type of the digital amount according to the format of the short message content, wherein the format of the short message content is pre-agreed.
4. 根据权利要求 1所述的方法, 其中, 识别所述短消息内容中的数字金额包括: 判断所述短消息是否来自预定的号码, 并在判断结果为是的情况下, 识别 所述短消息内容中的数字金额。 4. The method according to claim 1, wherein the identifying the digital amount in the short message content comprises: determining whether the short message is from a predetermined number, and if the determination result is yes, identifying the short The amount of the number in the message content.
5. 根据权利要求 1所述的方法,其中,分别对不同类别的数字金额进行统计包括: 5. The method of claim 1 wherein separately counting statistics for different categories of digital amounts comprises:
根据接收到携带有数字金额的短消息的时间, 统计预设时间段的不同类别 的数字金额, 以便于按预设时间段查询统计结果。  According to the time when the short message carrying the digital amount is received, the numerical amount of different categories of the preset time period is counted, so as to query the statistical result by the preset time period.
6. 根据权利要求 1至 5中任一项所述的方法, 其中, 还包括: 识别所述数字金额所对应的货币类型; The method according to any one of claims 1 to 5, further comprising: identifying a currency type corresponding to the digital amount;
对同一类别的数字金额按照不同的货币类型进行统计。  The amount of the same category is counted according to different currency types.
7. 根据权利要求 1至 5中任一项所述的方法, 其中, 所述数字金额的类别包括以 下至少之一: 支出金额、 收入金额、 充值金额。 The method according to any one of claims 1 to 5, wherein the category of the digital amount includes at least one of: an amount of expenditure, an amount of income, and a refill amount.
8. 根据权利要求 1至 5中任一项所述的方法, 其中, 识别所述短消息内容中的数 字金额包括: 搜索所述短消息内容的数字序列, 根据预设的规则对搜索出的数字序列进 行判断, 以识别出所述短消息内容的数字金额。 The method according to any one of claims 1 to 5, wherein identifying the digital amount in the short message content comprises: Searching the digital sequence of the short message content, and determining the searched digital sequence according to a preset rule to identify the digital amount of the short message content.
9. 一种短消息的使用装置, 包括: 9. A device for using short messages, comprising:
识别模块, 设置为识别短消息内容中的数字金额;  An identification module, configured to identify a digital amount in the content of the short message;
判断模块, 设置为判断所述数字金额的类别;  a judging module, configured to determine a category of the digital amount;
统计模块, 设置为分别对不同类别的金额进行统计。  The statistics module is set to count the amounts of different categories separately.
10. 根据权利要求 9所述的装置, 其中, 所述判断模块, 设置为按照匹配规则判断所述短消息内容中与所述数字金 额相邻的字符所表示的含义以确定所述数字金额的类别, 或者, 设置为根据所 述短消息内容的格式判断所述数字金额的类别, 其中, 所述短消息内容的格式 是预先约定的。 10. The apparatus according to claim 9, wherein the determining module is configured to determine, according to a matching rule, a meaning represented by a character adjacent to the digital amount in the short message content to determine the digital amount The category, or, is configured to determine a category of the digital amount according to a format of the short message content, wherein a format of the short message content is pre-agreed.
11. 根据权利要求 9或 10所述的装置, 其中, 所述识别模块, 还设置为识别所述数字金额所对应的货币类型; 所述统计模块, 还设置为在识别所述数字金额对应的货币类型的情况下, 对同一类别的数字金额按照不同的货币类型进行统计。 The device according to claim 9 or 10, wherein the identification module is further configured to identify a currency type corresponding to the digital amount; the statistical module is further configured to identify the digital amount corresponding to In the case of a currency type, the amount of the same category is counted according to different currency types.
12. 根据权利要求 10所述的装置,其中,所述判断模块,设置为按照所述匹配规则, 提取所述数字金额之前的在约定范围内的特殊字符, 并根据所述特殊字符判断 所述数字金额的类别。 12. The apparatus according to claim 10, wherein the determining module is configured to extract, according to the matching rule, a special character within a predetermined range before the digital amount, and determine the The category of the numeric amount.
13. 根据权利要求 9所述的装置, 其中, 所述统计模块还设置为向应用程序提供接 口, 其中, 所述接口设置为使所述应用程序调用所述统计模块统计的金额。 13. The apparatus according to claim 9, wherein the statistics module is further configured to provide an interface to an application, wherein the interface is configured to cause the application to call an amount calculated by the statistical module.
PCT/CN2011/078776 2010-12-16 2011-08-23 Method for using short messages and apparatus WO2012079387A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010591781.8 2010-12-16
CN2010105917818A CN102572064A (en) 2010-12-16 2010-12-16 Method and device for using short messages

Publications (1)

Publication Number Publication Date
WO2012079387A1 true WO2012079387A1 (en) 2012-06-21

Family

ID=46244052

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/078776 WO2012079387A1 (en) 2010-12-16 2011-08-23 Method for using short messages and apparatus

Country Status (2)

Country Link
CN (1) CN102572064A (en)
WO (1) WO2012079387A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102957807A (en) * 2012-11-20 2013-03-06 广东欧珀移动通信有限公司 Method and system for editing short message numbers
WO2014086028A1 (en) * 2012-12-06 2014-06-12 Motorola Mobility Llc Method and apparatus for providing a running sum total of user-selected data
CN104103008A (en) * 2013-04-01 2014-10-15 百度在线网络技术(北京)有限公司 Accounting method and system based on short message
KR102352391B1 (en) * 2015-05-14 2022-01-18 엘지전자 주식회사 Mobile terminal and method for controlling the same
CN109427008A (en) * 2017-08-18 2019-03-05 中兴通讯股份有限公司 Bookkeeping methods, device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770181A (en) * 2004-11-03 2006-05-10 乐金电子(昆山)电脑有限公司 Method for automatically inputting credit card payment information into account book of PDA phone when receiving word message service
CN101022637A (en) * 2007-03-09 2007-08-22 华为技术有限公司 Method and device for testing mobile device
CN101621562A (en) * 2008-06-30 2010-01-06 深圳富泰宏精密工业有限公司 Electronic accounting system and method therefor
CN101807273A (en) * 2010-03-25 2010-08-18 上海合合信息科技发展有限公司 Method and system for performing financial management by extracting consumption information in credit card short message

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020077895A1 (en) * 2000-12-18 2002-06-20 Steve Howell Electronic consumer incentive distribution system
CN101312559A (en) * 2007-05-23 2008-11-26 乐金电子(中国)研究开发中心有限公司 Consumer short message management method based on mobile communication terminal and mobile communication terminal thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1770181A (en) * 2004-11-03 2006-05-10 乐金电子(昆山)电脑有限公司 Method for automatically inputting credit card payment information into account book of PDA phone when receiving word message service
CN101022637A (en) * 2007-03-09 2007-08-22 华为技术有限公司 Method and device for testing mobile device
CN101621562A (en) * 2008-06-30 2010-01-06 深圳富泰宏精密工业有限公司 Electronic accounting system and method therefor
CN101807273A (en) * 2010-03-25 2010-08-18 上海合合信息科技发展有限公司 Method and system for performing financial management by extracting consumption information in credit card short message

Also Published As

Publication number Publication date
CN102572064A (en) 2012-07-11

Similar Documents

Publication Publication Date Title
EP2958303B1 (en) Method for measuring and displaying internet traffic of mobile phone and mobile phone
CN111639138B (en) Data processing method, device, equipment and storage medium
WO2012079387A1 (en) Method for using short messages and apparatus
US8532623B2 (en) Methods and devices for automatic display of prepay information
CN104639750A (en) Financial revenue and expenditure recording method and system based on mobile terminal and mobile terminal
CN104103008A (en) Accounting method and system based on short message
CN103067896A (en) Junk short message filtering method and device
CN104378258B (en) A kind of network flow monitoring method, device and terminal
CN102387486B (en) Method and device for charging general packet radio service (GPRS) partition bill
CN109711801A (en) A kind of Internetbank account checking method and device
CN109191104A (en) A kind of information processing method and its equipment
CN101883178A (en) Method and system for automatically timing and metering during surfing Internet with cell phone on basis of cell phone terminal
CN103095945A (en) Charging method and charging system based on bill classification and classification charging device
CN101877098A (en) Bank credit and debit service report system and entry generating method thereof
WO2019041683A1 (en) Method and device for recording bill, storage medium, and terminal
CN107563588A (en) A kind of acquisition methods of personal credit and acquisition system
TW201104602A (en) Transaction control method and system for evaluating network consumption risk, and payment method for network transaction
CN201550282U (en) Automatic billing system of mobile phone
CN109871129A (en) Man-machine interaction method, device, customer service equipment and storage medium
WO2011088664A1 (en) Method and system for implementing rent-deduction of prepaid services
WO2014094302A1 (en) Method and device for judging user repeatedly accessing network
CN111709831B (en) Method and device for analyzing blacklist
CN101072275A (en) Billing engineering method for dynamic folding-line communication charging
CN201398210Y (en) Self-service terminal device of mobile phone front desk service
CA2309066C (en) Billing method in a telecommunications system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11849643

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11849643

Country of ref document: EP

Kind code of ref document: A1