CN102769838A - Mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system - Google Patents
Mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system Download PDFInfo
- Publication number
- CN102769838A CN102769838A CN2012102100503A CN201210210050A CN102769838A CN 102769838 A CN102769838 A CN 102769838A CN 2012102100503 A CN2012102100503 A CN 2012102100503A CN 201210210050 A CN201210210050 A CN 201210210050A CN 102769838 A CN102769838 A CN 102769838A
- Authority
- CN
- China
- Prior art keywords
- data
- tariff
- query result
- rate
- portable terminal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 230000014509 gene expression Effects 0.000 claims description 12
- 235000012054 meals Nutrition 0.000 claims 24
- 230000000295 complement effect Effects 0.000 claims 3
- 241001269238 Data Species 0.000 claims 2
- 230000005540 biological transmission Effects 0.000 claims 1
- 238000004364 calculation method Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 5
- 230000003203 everyday effect Effects 0.000 description 4
- 230000002354 daily effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003442 weekly effect Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域 technical field
本发明涉及计算机数据处理技术领域,特别是涉及一种移动终端的资费获取方法、移动终端及资费获取系统。The present invention relates to the technical field of computer data processing, in particular to a mobile terminal tariff acquisition method, a mobile terminal and a tariff acquisition system.
背景技术 Background technique
目前,人们使用于机上网的现象越来越普遍,上网流量统计是手机用户,尤其是智能手机用户非常关心的一项功能,因为智能手机可以安装多种多样的扩展应用程序,大多数的程序都需要连接互联网,获取信息数据和服务。用户为了节约流量费用,通常会向运营商定制某种按月计量的流量套餐,例如每个月缴纳10元可获得100M的流量。但如果实际使用超出套餐限额,超出部分将会收取较高的费用,导致手机话费的增加。用户一般可以通过拨打运营商的客服电话、登录网站或者发送短信等方式来实时查询上网流量信息。但是,运营商的数据更新通常会按照预定周期来进行,并不会随时更新,因此,在实时查询时得到的结果往往会与实际流量会有出入,查询结果可能并不准确。At present, it is more and more common for people to use computers to access the Internet. Internet traffic statistics is a function that mobile phone users, especially smart phone users, are very concerned about, because smart phones can install a variety of extended applications, and most programs All need to connect to the Internet to obtain information data and services. In order to save traffic costs, users usually order a certain monthly traffic package from the operator, for example, pay 10 yuan per month to get 100M traffic. However, if the actual use exceeds the package limit, a higher fee will be charged for the excess, resulting in an increase in mobile phone bills. Users can generally query the Internet traffic information in real time by dialing the operator's customer service number, logging on to the website, or sending a text message. However, the operator's data update is usually carried out according to a predetermined cycle, and will not be updated at any time. Therefore, the results obtained during real-time query are often different from the actual traffic, and the query results may not be accurate.
为此,较多用户会使用在手机侧进行流量统计,目前常见的方法有:在手机上安装流量统计软件来进行流量统计。例如,通过手机中安装的流量统计软件统计本地流量数据,并结合手机流量套餐中的总流量来计算当前手机的剩余流量。对于剩余流量可以实时显示,也可以在剩余流量低于或等于最低设定值时,例如,1M,对用户进行提醒。但是,因为在统计本地流量数据时,流量统计软件往往无法对流量进行区分,有些本身免费的流量也会被统计在内,还有些套餐所包含的业务较多,本地统计时也无法做到准确区分,因此,统计出来的结果往往并不准确。For this reason, many users will use the mobile phone side to perform traffic statistics. At present, the common methods include: installing traffic statistics software on the mobile phone to perform traffic statistics. For example, the local traffic data is counted by the traffic statistics software installed in the mobile phone, and combined with the total traffic in the mobile phone traffic package to calculate the remaining traffic of the current mobile phone. The remaining flow can be displayed in real time, and the user can also be reminded when the remaining flow is lower than or equal to the minimum set value, for example, 1M. However, when counting local traffic data, the traffic statistics software often cannot distinguish the traffic, some free traffic itself will also be included in the statistics, and some packages include more services, and the local statistics cannot be accurate. Therefore, the statistical results are often inaccurate.
发明内容 Contents of the invention
本发明提供一种移动终端的资费获取方法、移动终端及资费获取系统,能够解决移动终端的资费统计不准确的问题。The invention provides a mobile terminal tariff acquisition method, a mobile terminal and a tariff acquisition system, which can solve the problem of inaccurate statistics of mobile terminal tariffs.
为了解决上述问题,本发明公开了一种移动终端的资费获取方法,包括以下步骤:In order to solve the above-mentioned problems, the present invention discloses a method for obtaining tariffs of a mobile terminal, which includes the following steps:
获取运营商的资费查询指令,并向运营商发送所述资费查询指令;Obtaining the tariff query instruction of the operator, and sending the tariff query instruction to the operator;
接收运营商返回的资费短信,解析所述资费短信得到查询结果数据;Receive the tariff short message returned by the operator, analyze the tariff short message to obtain the query result data;
判断所述查询结果数据中的资费数据是否为实时数据;若是,则将本地实时资费数据更新为所述查询结果数据中的资费数据;Judging whether the tariff data in the query result data is real-time data; if so, updating the local real-time tariff data to the tariff data in the query result data;
若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的本地实时资费数据相加得到累加后的资费数据,并将本地实时资费数据更新为所述累加后的资费数据。If not, add the tariff data in the query result data to the current local real-time tariff data after the cut-off time of the query result data to obtain the accumulated tariff data, and update the local real-time tariff data to the accumulated tariff data tariff data.
进一步地,所述资费数据包括GPRS流量、WLAN流量、彩信流量或通话时长。Further, the tariff data includes GPRS traffic, WLAN traffic, MMS traffic or call duration.
进一步地,所述向运营商发送所述资费查询指令包括:Further, the sending the tariff query instruction to the operator includes:
根据预定时间进行发送;和/或send on a scheduled basis; and/or
根据用户指令进行发送。Send according to user instruction.
进一步地,所述根据预定时间进行发送包括:Further, the sending according to a predetermined time includes:
判断当前时间是否为预定时间,若是,则发送所述资费查询指令。Judging whether the current time is the predetermined time, if so, sending the charging inquiry instruction.
进一步地,所述获取运营商的资费查询指令之前还包括:Further, before obtaining the operator's tariff query instruction, it also includes:
根据用户设置的套餐、地域、品牌信息自动识别运营商;或Automatically identify the operator according to the package, region, and brand information set by the user; or
根据用户输入的运营商信息确定运营商。The carrier is determined according to the carrier information entered by the user.
进一步地,所述判断所述查询结果数据中的资费数据是否为实时数据包括:Further, the judging whether the tariff data in the query result data is real-time data includes:
判断查询结果数据的截止时间点与本地实时资费数据的截止时间点是否相同,若相同,则判定查询结果数据为实时数据,反之,则判定查询结果数据不是实时数据。Judging whether the cut-off time point of the query result data is the same as the cut-off time point of the local real-time tariff data, if they are the same, it is determined that the query result data is real-time data, otherwise, it is determined that the query result data is not real-time data.
进一步地,所述解析所述资费短信得到查询结果数据包括:Further, said parsing said tariff short message to obtain query result data includes:
将资费短信内容与预存模板进行匹配;Match the content of the tariff SMS with the pre-stored template;
按照匹配到的模板解析资费短信内容中包含的查询结果数据。Parse the query result data contained in the tariff SMS content according to the matched template.
进一步地,所述解析所述资费短信得到查询结果数据包括:Further, said parsing said tariff short message to obtain query result data includes:
将所述资费短信发送给服务器,由所述服务器对所述资费短信进行解析,所述解析过程为:The short message of the tariff is sent to the server, and the short message of the tariff is analyzed by the server, and the parsing process is:
将资费短信内容与预存模板进行匹配;Match the content of the tariff SMS with the pre-stored template;
按照匹配到的模板解析资费短信内容中包含的查询结果数据。Parse the query result data contained in the tariff SMS content according to the matched template.
进一步地,所述预存模板根据各运营商返回的资费短信格式设定。Further, the pre-stored template is set according to the format of the tariff short message returned by each operator.
进一步地,所述按照匹配到的模板解析资费短信内容中包含的查询结果数据包括:采用正则表达式解析资费短信内容中包含的查询结果数据。Further, the parsing the query result data contained in the content of the tariff short message according to the matched template includes: analyzing the query result data contained in the content of the tariff short message by using a regular expression.
进一步地,所述方法还包括:Further, the method also includes:
对预定时间段内的资费数据进行统计并提示。Make statistics on tariff data within a predetermined period of time and prompt.
进一步地,所述方法还包括:Further, the method also includes:
对每月的实际资费数据进行统计,并与当前套餐资费进行比较,判断当前套餐是否合理,若否,则选取与实际资费数据相匹配的套餐。Make statistics on the monthly actual tariff data and compare it with the current package tariff to judge whether the current package is reasonable. If not, select the package that matches the actual tariff data.
进一步地,判断当前套餐是否合理包括:Further, judging whether the current package is reasonable includes:
采用其他套餐的计费方式来计算当前的实际资费数据的参考资费,将所述参考资费与使用当前套餐的实际资费相比较,若参考资费小于实际资费,则当前套餐不合理。Using the billing methods of other packages to calculate the reference fee of the current actual fee data, and comparing the reference fee with the actual fee of the current package, if the reference fee is less than the actual fee, the current package is unreasonable.
进一步地,所述选取与实际资费数据相匹配的套餐包括:Further, the selection of a package that matches the actual tariff data includes:
根据当前每月的实际资费数据,选取使每月资费最少的套餐。According to the current monthly actual tariff data, select the package that minimizes the monthly tariff.
进一步地,所述方法还包括:Further, the method also includes:
获取运营商的套餐信息,并对所述套餐信息进行展示,以供用户添加和/或切换套餐。The package information of the operator is obtained, and the package information is displayed, so that the user can add and/or switch packages.
为了解决上述问题,本发明还公开了一种移动终端,包括:In order to solve the above problems, the present invention also discloses a mobile terminal, comprising:
信息收发模块,用于获取运营商的资费查询指令,并向运营商发送所述资费查询指令;The information sending and receiving module is used to obtain the tariff query instruction of the operator, and send the tariff query instruction to the operator;
解析模块,用于接收运营商返回的资费短信,解析所述资费短信得到查询结果数据;The parsing module is used to receive the tariff short message returned by the operator, and analyze the tariff short message to obtain the query result data;
判断模块,用于判断所述查询结果数据中的资费数据是否为实时数据;若是,则将本地实时资费数据更新为所述查询结果数据中的资费数据;A judging module, configured to judge whether the tariff data in the query result data is real-time data; if so, update the local real-time tariff data to the tariff data in the query result data;
若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的本地实时资费数据相加得到累加后的资费数据,并将本地实时资费数据更新为所述累加后的资费数据。If not, add the tariff data in the query result data to the current local real-time tariff data after the cut-off time of the query result data to obtain the accumulated tariff data, and update the local real-time tariff data to the accumulated tariff data tariff data.
进一步地,所述信息收发模块包括:Further, the information transceiving module includes:
触发单元,用于根据预定时间和/或根据用户指令发送资费查询指令。The trigger unit is configured to send a fee inquiry instruction according to a predetermined time and/or according to a user instruction.
进一步地,所述触发单元包括:Further, the trigger unit includes:
时间判断子单元,用于判断当前时间是否为预定时间,若是,则发送所述资费查询指令。The time judging subunit is used for judging whether the current time is the predetermined time, and if so, sending the charging inquiry instruction.
进一步地,所述系统还包括:Further, the system also includes:
运营商信息获取模块,用于根据用户设置的套餐、地域、品牌信息自动识别运营商;或根据用户输入的运营商信息确定运营商。The operator information acquisition module is used to automatically identify the operator according to the package, region, and brand information set by the user; or determine the operator according to the operator information input by the user.
进一步地,所述解析模块包括:Further, the parsing module includes:
匹配单元,用于将资费短信内容与预存模板进行匹配;和a matching unit, configured to match the content of the tariff short message with a pre-stored template; and
解析单元,用于按照匹配到的模板解析资费短信内容中包含的查询结果数据。The parsing unit is configured to parse the query result data contained in the tariff short message content according to the matched template.
进一步地,所述解析单元包括:Further, the parsing unit includes:
正则表达式解析子单元,用于采用正则表达式解析资费短信内容中包含的查询结果数据。The regular expression parsing subunit is used for parsing the query result data contained in the charge SMS content by using regular expressions.
进一步地,所述判断模块包括:Further, the judging module includes:
截止时间点比较单元,用于判断查询结果数据的截止时间点与本地实时资费数据的截止时间点是否相同,若相同,则说明查询结果数据为实时数据,反之,则说明查询结果数据不是实时数据。The cut-off time point comparison unit is used to judge whether the cut-off time point of the query result data is the same as the cut-off time point of the local real-time tariff data. If they are the same, it means that the query result data is real-time data; otherwise, it means that the query result data is not real-time data .
进一步地,所述系统还包括:Further, the system also includes:
预定时间段资费获取模块,用于对预定时间段内的资费数据进行统计并提示。The tariff acquisition module for the predetermined time period is used to make statistics and prompt the tariff data within the predetermined time period.
进一步地,所述系统还包括:Further, the system also includes:
套餐选取模块,用于对每月的实际资费数据进行统计,并与当前套餐进行比较,判断当前套餐是否合理,若否,则选取与实际资费数据相匹配的套餐。The package selection module is used to make statistics on the monthly actual tariff data and compare it with the current package to determine whether the current package is reasonable. If not, select a package that matches the actual tariff data.
进一步地,所述套餐选取模块包括:Further, the package selection module includes:
资费计算单元,用于采用其他套餐的计费方式来计算当前的实际资费数据的参考资费,将所述参考资费与使用当前套餐的实际资费相比较,若参考资费小于实际资费,则当前套餐不合理。The tariff calculation unit is used to calculate the reference tariff of the current actual tariff data by adopting the billing method of other packages, and compares the reference tariff with the actual tariff of using the current package, if the reference tariff is less than the actual tariff, the current package is not Reasonable.
进一步地,所述套餐选取模块包括:Further, the package selection module includes:
实际选取单元,用于根据当前每月的实际资费数据,选取使每月资费最少的套餐。The actual selection unit is used to select the package that minimizes the monthly tariff according to the current monthly actual tariff data.
进一步地,所述系统还包括:Further, the system also includes:
套餐修改模块,用于获取运营商的套餐信息,并对所述套餐信息进行展示,以供用户添加和/或切换套餐。The package modification module is used to obtain the package information of the operator, and display the package information for the user to add and/or switch the package.
本发明还公开了一种资费获取系统,包括:The invention also discloses a tariff acquisition system, including:
移动终端,用于获取运营商的资费查询指令,并向运营商发送所述资费查询指令;以及接收运营商返回的资费短信并将所述资费短信发送给服务器;The mobile terminal is used to obtain a tariff query instruction from an operator, and send the tariff query instruction to the operator; and receive a tariff short message returned by the operator and send the tariff short message to the server;
服务器,用于解析所述资费短信得到查询结果数据,并返回给移动终端;The server is used to analyze the tariff short message to obtain query result data, and return it to the mobile terminal;
所述移动终端判断所述查询结果数据中的资费数据是否为实时数据;若是,则将移动终端的本地实时资费数据更新为所述查询结果数据中的资费数据;若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的移动终端的本地实时资费数据相加得到累加后的资费数据,并将移动终端的本地实时资费数据更新为所述累加后的资费数据。The mobile terminal judges whether the tariff data in the query result data is real-time data; if so, the local real-time tariff data of the mobile terminal is updated to the tariff data in the query result data; if not, the query The tariff data in the result data is added to the local real-time tariff data of the current mobile terminal after the cut-off time of the query result data to obtain the accumulated tariff data, and the local real-time tariff data of the mobile terminal is updated to the accumulated tariff data data.
本发明还公开了一种资费获取系统,包括:The invention also discloses a tariff acquisition system, including:
移动终端,用于获取运营商的资费查询指令,并向运营商发送所述资费查询指令;以及接收运营商返回的资费短信并将所述资费短信发送给服务器;The mobile terminal is used to obtain a tariff query instruction from an operator, and send the tariff query instruction to the operator; and receive a tariff short message returned by the operator and send the tariff short message to the server;
服务器,用于解析所述资费短信得到查询结果数据,并判断所述查询结果数据中的资费数据是否为实时数据;若是,则将移动终端的本地实时资费数据更新为所述查询结果数据中的资费数据;若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的移动终端的本地实时资费数据相加得到累加后的资费数据,并将移动终端的本地实时资费数据更新为所述累加后的资费数据。The server is used to analyze the short message of the tariff to obtain the query result data, and judge whether the tariff data in the query result data is real-time data; if so, update the local real-time tariff data of the mobile terminal to the query result data in the Tariff data; if not, then the local real-time tariff data of the current mobile terminal is added to obtain the accumulated tariff data after the tariff data in the query result data and the query result data cut-off time point, and the mobile terminal's local The real-time tariff data is updated to the accumulated tariff data.
与现有技术相比,本发明包括以下优点:Compared with the prior art, the present invention includes the following advantages:
本发明的移动终端的资费获取方法、移动终端及资费获取系统通过对从运营商获取到的实时资费数据进行解析,并与移动终端本地实时资费数据进行比较,从而得到较为准确的数据。在进行比较后,可以根据比较结果对本地统计的资费数据的自动校正和更新,可以避免本地统计因为无法了解运营商详细资费信息而出现的统计结果不准确的情况,从而可以使本地统计的资费数据处于实时更新始终状态,保证统计的准确性。The mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system of the present invention analyze the real-time tariff data obtained from the operator and compare it with the local real-time tariff data of the mobile terminal, thereby obtaining more accurate data. After the comparison, the tariff data of the local statistics can be automatically corrected and updated according to the comparison results, which can avoid the inaccurate statistical results of the local statistics due to the inability to understand the detailed tariff information of the operator, so that the tariff data of the local statistics The data is always updated in real time to ensure the accuracy of statistics.
其次,本发明的移动终端的资费获取方法、移动终端及资费获取系统还可以对预定时间段内的资费数据进行统计,并实时提醒,从而便于用户及时了解使用详情,可以随时做出调整,便于用户管理手机资费。Secondly, the tariff acquisition method for the mobile terminal, the mobile terminal and the tariff acquisition system of the present invention can also count the tariff data within a predetermined time period and remind them in real time, so that users can know the usage details in time and can make adjustments at any time, which is convenient User manages mobile phone charges.
另外,还可以通过对每月的实际资费数据进行统计,并结合运营商的各种资费收取方式,为用户选取最合适的套餐,可以便于用户对套餐进行管理,节省资费。In addition, it is also possible to select the most suitable package for the user by making statistics on the actual monthly tariff data and combining the various charging methods of the operator, which can facilitate the management of the package by the user and save the tariff.
当然,实施本发明的任一产品不一定需要同时达到以上所述的所有优点。Of course, any product implementing the present invention does not necessarily need to achieve all the above-mentioned advantages at the same time.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the accompanying drawings required in the embodiments. Obviously, the accompanying drawings in the following description are only some of the present invention. Embodiments, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本发明的移动终端的资费获取方法实施例一的流程图;FIG. 1 is a flow chart of Embodiment 1 of a method for obtaining tariffs for a mobile terminal of the present invention;
图2是本发明的移动终端的资费获取方法实施例二的流程图;FIG. 2 is a flow chart of Embodiment 2 of the tariff acquisition method for the mobile terminal of the present invention;
图3是本发明的移动终端的资费获取方法实施例三的流程图;FIG. 3 is a flow chart of Embodiment 3 of the tariff acquisition method for the mobile terminal of the present invention;
图4是本发明的移动终端实施例一的结构示意图;FIG. 4 is a schematic structural diagram of Embodiment 1 of the mobile terminal of the present invention;
图5是本发明的移动终端实施例二的结构示意图;FIG. 5 is a schematic structural diagram of Embodiment 2 of the mobile terminal of the present invention;
图6是本发明的移动终端实施例三的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 3 of the mobile terminal of the present invention;
图7是本发明的移动终端实施例四的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 4 of the mobile terminal of the present invention;
图8是本发明的资费获取系统实施例一的结构示意图。FIG. 8 is a schematic structural diagram of Embodiment 1 of the tariff acquisition system of the present invention.
具体实施方式 Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.
参照图1,示出本发明的一种移动终端的资费获取方法实施例一,包括以下步骤:Referring to Fig. 1 , it shows a first embodiment of a mobile terminal tariff acquisition method of the present invention, comprising the following steps:
步骤101,获取运营商的资费查询指令,并向运营商发送所述资费查询指令。
其中资费数据包括流量、通话时长等数据。具体的,如果有多种业务,还可以对流量进行细化,例如GPRS流量、WLAN流量、彩信流量等等。The tariff data includes traffic, call duration and other data. Specifically, if there are multiple services, traffic may also be refined, such as GPRS traffic, WLAN traffic, MMS traffic, and so on.
向运营商发送资费查询指令为按照运营商预定的查询要求编写查询短信,然后通过手机发送给运营商。可以由人为控制,也可以自动发送。其中,自动发送可以通过设置发送时间来实现,例如,在每天的某个固定时间或者每周的某个固定时间等等。Sending the tariff query instruction to the operator is to write the query short message according to the operator's predetermined query requirements, and then send it to the operator through the mobile phone. It can be controlled manually or sent automatically. Wherein, the automatic sending can be realized by setting the sending time, for example, at a certain fixed time every day or a certain fixed time every week, and so on.
具体的,可以预先获取运营商预定的资费查询指令,在获取资费查询指令之前,还可以确定运营商,具体的,可以根据用户设置的套餐、地域、品牌信息自动识别运营商;或根据用户输入的运营商信息确定运营商。在确定运营商之后,便可以根据实时查询、从预存的数据库中读取或者用于输入等方式来获取运营商的资费查询指令。Specifically, the operator's predetermined tariff inquiry instruction can be obtained in advance, and the operator can also be determined before obtaining the tariff inquiry instruction. Specifically, the operator can be automatically identified according to the package, region, and brand information set by the user; or according to the user input The carrier information for identifies the carrier. After the operator is determined, the operator's tariff query instruction can be obtained by means of real-time query, reading from a pre-stored database, or inputting.
一般来说,查询指令为对应查询内容的首字母缩写。例如,CXYL表示查询余量、CXYE表示查询余额、CXZD表示查询账单、CXTCYE表示查询套餐余额、CXTHSC表示查询通话时长、CXBJTC查询本机套餐。在获取运营商预定的资费查询指令后,可以将资费查询指令存储在移动终端的资费获取软件内,当需要时,直接提取资费查询指令作为短信内容发送给运营商的接收平台。Generally, the query instruction is an acronym corresponding to the query content. For example, CXYL means to check the balance, CXYE means to check the balance, CXZD means to check the bill, CXTCYE means to check the package balance, CXTHSC means to check the call duration, and CXBJTC to check the local package. After obtaining the tariff query command scheduled by the operator, the tariff query command can be stored in the tariff acquisition software of the mobile terminal, and when necessary, the tariff query command can be directly extracted as a short message and sent to the operator's receiving platform.
另外,对于用户当前使用套餐的相关信息,例如,各种业务的限额等等,可以通过向运营商发送查询指令后获取,也可以通过用户手动输入。In addition, relevant information about the package currently used by the user, such as the quota of various services, etc., may be obtained by sending an inquiry command to the operator, or may be manually input by the user.
优选地,若设置了预定时间发送资费查询指令,在发送资费查询指令之前还包括:Preferably, if a predetermined time is set to send the tariff query instruction, before sending the tariff query instruction, it also includes:
判断当前时间是否为预定时间,若是,则发送资费查询指令,反之,则不作处理。例如,设置预定时间为每天晚上的22:00:00发送资费查询指令。当向运营商发送资费查询指令时,可以首先从移动终端的系统时间中获取当前时间或者向服务器发送获取当前时间的请求,得到服务器返回的当前时间,然后与预定时间22:00:00进行比较,判断二者是否为同一时间。若是,则说明当前时间为预定时间,反之,则不是。Judging whether the current time is the scheduled time, if so, then sending the fee query command, otherwise, not processing. For example, set the scheduled time to send the tariff query command at 22:00:00 every night. When sending a tariff query command to the operator, you can first obtain the current time from the system time of the mobile terminal or send a request to the server to obtain the current time returned by the server, and then compare it with the scheduled time 22:00:00 , to determine whether the two are at the same time. If so, it means that the current time is the scheduled time, otherwise, it is not.
步骤102,接收运营商返回的资费短信,解析所述资费短信得到查询结果数据。
其中,解析所述资费短信可以由移动终端完成,也可以由服务器完成。当由服务器完成时,移动终端首先需要将所述资费短信发送给服务器,由所述服务器对所述资费短信进行解析。Wherein, parsing the tariff short message can be completed by a mobile terminal, or by a server. When completed by the server, the mobile terminal first needs to send the tariff short message to the server, and the server analyzes the tariff short message.
其中,移动终端和服务器对资费短信的解析过程可以采用如下方式:Wherein, the parsing process of the mobile terminal and the server to the tariff short message may adopt the following method:
将短信内容与预存模板进行匹配;Match the SMS content with the pre-stored template;
按照匹配到的模板解析资费短信内容中包含的查询结果数据。Parse the query result data contained in the tariff SMS content according to the matched template.
其中,预存模板根据各运营商对资费数据查询进行回复的短信格式设定。可以预先搜集各运营商对资费查询进行回复的短信格式,做成模板存储在服务器或者移动终端中。优选地,还可以对各运营商对资费查询进行回复的短信进行实时监控,从而及时更新模板,保证模板的准确性。模板的具体数量可以根据各运营商所包含的短信格式来确定,模板可以与短信格式一一对应。例如,某个运营商提供了多种套餐,每种套餐因为所包含的业务不同,对资费查询进行回复的短信格式也会有所区别,此时,则可以针对每种套餐设定一个模板。Wherein, the pre-stored template is set according to the format of the short message that each operator replies to the tariff data inquiry. The short message format of each operator's reply to the tariff inquiry can be collected in advance, made into a template and stored in the server or mobile terminal. Preferably, real-time monitoring can also be performed on the short messages sent by each operator to the tariff query, so as to update the template in time to ensure the accuracy of the template. The specific number of templates can be determined according to the short message formats included in each operator, and the templates can be in one-to-one correspondence with the short message formats. For example, a certain operator provides multiple packages, each package contains different services, and the SMS format for replying to the tariff query will also be different. At this time, a template can be set for each package.
具体的,假设某个套餐对资费查询进行回复的短信格式为“查询余量服务:您好,截至到X年X月X日X时X分,您定制的X套餐语音剩余X分钟,GPRS剩余XM,彩信剩余X条,WLAN剩余X分钟;感谢使用查询余量服务”。其中的“X”在实际处理时,则为实际数据。因此,则可以将该套餐的短信格式作为一种模板预存在服务器或移动终端中,当移动终端收到资费短信或者服务器接收到移动终端提交的资费短信内容后,便自动进行匹配,从而从中提取各种业务所对应的资费数据。Specifically, suppose that the text message format of a certain package replying to the tariff inquiry is "Enquiry remaining service: Hello, as of X hour and X minute on X month X day in X year, X minutes of voice and GPRS remaining XM, MMS remaining X, WLAN remaining X minutes; thank you for using the balance inquiry service". The "X" in it is the actual data during actual processing. Therefore, the SMS format of the package can be pre-stored in the server or mobile terminal as a template, and when the mobile terminal receives the tariff SMS or the server receives the content of the tariff SMS submitted by the mobile terminal, it will automatically match and extract from it. Tariff data corresponding to various services.
按照匹配到的模板解析资费短信内容中包含的查询结果数据可以采用正则表达式实现,依照正则表达式匹配出来的信息即为查询结果数据。例如,对于前述例子,可以采用如下正则表达式:语音剩余\d{1,9}分钟;GPRS剩余\d{1,9}([\.]\d\d)?M;彩信剩余\d{1,9}条;WLAN剩余\d{1,9}分钟;匹配时间的正则表达式为:\d{4}年\d{1,2}月\d{1,2}日\d{1,2}时\d{1,2}分。Parsing the query result data contained in the tariff short message content according to the matched template can be realized by using a regular expression, and the information matched according to the regular expression is the query result data. For example, for the preceding example, the following regular expressions can be used: voice remaining \d{1,9} minutes; GPRS remaining \d{1,9}([\.]\d\d)?M; MMS remaining\d {1,9} entries; \d{1,9} minutes left in WLAN; the regular expression for matching time is: \d{4}year\d{1,2}month\d{1,2}day\d {1,2} hours\d{1,2} minutes.
步骤103,判断所述查询结果数据是否为实时数据,若是,则将本地实时资费数据更新为所述查询结果数据中的资费数据;若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的本地实时资费数据相加得到累加后的资费数据,并将本地实时资费数据更新为所述累加后的资费数据。
判断所述查询结果数据是否为实时数据可以根据查询结果数据与本地统计的实时资费数据的截止时间点是否相同来判断,若相同,则说明查询结果数据为实时数据,反之,则说明查询结果数据不是实时数据。可以理解,判断查询结果数据是否为实时数据可以由移动终端判断,也可以由服务器判断。Judging whether the query result data is real-time data can be judged according to whether the cut-off time points of the query result data and the real-time tariff data of local statistics are the same, if the same, then the query result data is real-time data, otherwise, the query result data Not real-time data. It can be understood that whether the query result data is real-time data can be judged by the mobile terminal or by the server.
可以理解,因为查询结果数据和本地统计的实时资费数据的截止时间点通常会精确到分钟,如果精确比较,则二者的截止时间点有很大的几率不相同,那么就需要累加一次数据。当二者的截止时间点相差时间较短时,中间产生的流量往往会较小。为此,在判断截止时间点是否相同时,可以只判断年月日是否相同,或者判断年月日时是否相同。即具体到某一天的某个小时,而忽略更小的时间单位,从而减少数据累加的次数,减少系统计算次数,降低对系统资源的占用。例如,以年月日为判断标准时,截止时间点2012年5月10日12时10分与2012年5月10日11时10分,可以认为是相同的。It can be understood that because the cut-off time of the query result data and the real-time tariff data of local statistics is usually accurate to the minute, if they are compared accurately, there is a high probability that the cut-off time of the two is different, so the data needs to be accumulated once. When the time difference between the cut-off time points of the two is relatively short, the traffic generated in the middle will tend to be small. For this reason, when judging whether the cut-off time points are the same, it is possible to only judge whether the year, month, and day are the same, or to judge whether the year, month, and day are the same. That is, it is specific to a certain hour of a certain day, and ignores smaller time units, thereby reducing the number of data accumulation, reducing the number of system calculations, and reducing the occupation of system resources. For example, when the year, month, and day are used as the judgment standard, the cut-off time at 12:10 on May 10, 2012 and 11:10 on May 10, 2012 may be considered the same.
下面结合具体实例对前述过程进行详细说明。其中,判断查询结果数据是否为实时数据具体到某日的某个小时。The foregoing process will be described in detail below in combination with specific examples. Wherein, judging whether the query result data is real-time data is specific to a certain hour of a certain day.
假设接收的查询结果数据中的截止时间点(即结果数据中最新数据的发生时间点)为2012年5月10日10点10分。查询结果数据具体包括:通话时长为90分钟,GPRS流量为100M,WLAN为200分钟。Assume that the cut-off time point in the received query result data (that is, the occurrence time point of the latest data in the result data) is 10:10 on May 10, 2012. The query result data specifically includes: the call duration is 90 minutes, the GPRS traffic is 100M, and the WLAN is 200 minutes.
若本地统计的实时资费数据的截止时间点(即在当前时间点以前本地最后一次统计资费数据的时间点)也为2012年5月10日10点10分。那么可以确定查询结果数据为实时数据。此时,可以直接将本地实时资费数据更新为通话时长为90分钟,GPRS流量为100M,WLAN为200分钟。If the cut-off time point of the real-time tariff data of the local statistics (that is, the time point of the last local tariff data statistics before the current time point) is also 10:10 on May 10, 2012. Then it can be determined that the query result data is real-time data. At this point, you can directly update the local real-time tariff data to the call duration of 90 minutes, GPRS traffic of 100M, and WLAN of 200 minutes.
若本地统计的实时资费数据的截止时间点为2012年5月10日20点10分,那么可以确定查询结果数据不是实时数据。此时,需要提取本地统计的从2012年5月10日10点10分到2012年5月10日20点10分这十个小时内的实时资费数据,假设为:通话时长为20分钟,GPRS流量为2M,WLAN为10分钟。并将这十个小时内的实时资费数据与查询结果数据累加,即得到:通话时长为110分钟,GPRS流量为102M,WLAN为210分钟,然后将本地实时资费数据更新为累加得到数据。If the cut-off time of the real-time tariff data in the local statistics is 20:10 on May 10, 2012, then it can be determined that the query result data is not real-time data. At this time, it is necessary to extract the real-time tariff data of the local statistics from 10:10 on May 10, 2012 to 20:10 on May 10, 2012. The assumption is: the call duration is 20 minutes, GPRS The traffic is 2M, and the WLAN is 10 minutes. And add the real-time tariff data and query result data within these ten hours to get: call duration is 110 minutes, GPRS traffic is 102M, WLAN is 210 minutes, and then update the local real-time tariff data to the accumulated data.
参照图2,示出本发明的移动终端的资费获取方法实施例二,在实施例一的步骤103之后还包括以下步骤:Referring to Fig. 2, it shows the second embodiment of the tariff acquisition method of the mobile terminal of the present invention, which also includes the following steps after
步骤201,对预定时间段内的资费数据进行统计并提示。
预定时间段可以是一天、一周或者其他时间段。资费数据包括通话时长、流量等等数据。统计的方法可以采用前述实施例一中所述的方法。在统计过程中,可以设定向运营商发送资费查询指令的时间。例如,每天或者每周的某个固定时间发送。The predetermined time period may be one day, one week or other time periods. Tariff data includes call duration, traffic and other data. The statistical method can adopt the method described in the first embodiment above. During the statistical process, the time for sending tariff query instructions to operators can be set. For example, send at a fixed time every day or every week.
在统计后,可以每天或者每周进行提示,例如,如果每天提示,可以在用户关机时,也可以在某个预定时间点,例如每天晚上9点,对当天的数据进行提示。如果每周提示,则可以在新的一周的第一天某个时间点对前一周的数据进行提示,也可以在本周最后一天某个时间点对本周的数据进行提示。具体提示时间也可以由用户自己设定。After the statistics, it can be reminded every day or every week. For example, if it is reminded every day, it can be prompted when the user turns off the computer or at a predetermined time point, such as 9 o'clock every night, to remind the data of the current day. If it is prompted every week, the data of the previous week can be prompted at a certain time point on the first day of a new week, or the data of this week can be prompted at a certain time point on the last day of this week. The specific prompt time can also be set by the user.
可以理解,对于每天和每周同时提示,可以采用每天统计后,在一周结束时进行加总即可得到每周的提示。It can be understood that for daily and weekly reminders, the weekly reminders can be obtained by summing up at the end of a week after daily statistics are used.
参照图3,示出本发明的移动终端的资费获取方法实施例三,在实施例一和/或实施例二的步骤103之后还包括以下步骤:Referring to Fig. 3, it shows the third embodiment of the tariff acquisition method of the mobile terminal of the present invention, which also includes the following steps after the
步骤301,对每月的实际资费数据进行统计,并与当前套餐进行比较,判断当前套餐是否合理,若否,则选取与实际资费数据相匹配的套餐。In
具体的,采用其他套餐的计费方式来计算当前的实际资费数据的参考资费,将所述参考资费与使用当前套餐的实际资费相比较,若参考资费小于实际资费,则当前套餐不合理。Specifically, the billing method of other packages is used to calculate the reference fee of the current actual fee data, and the reference fee is compared with the actual fee of the current package. If the reference fee is less than the actual fee, the current package is unreasonable.
可以逐一选取套餐的方式来计算,即若选取某个套餐计算出的参考资费小于实际资费,则停止计算。也可以全部选取,采用每个套餐的计费方式都进行一遍计算,只要包含有参考资费小于实际资费的套餐,则说明当前套餐不合理。It can be calculated by selecting packages one by one, that is, if the reference fee calculated by selecting a certain package is lower than the actual fee, the calculation will stop. You can also select all of them, and use the billing method of each package to calculate it once. As long as there are packages whose reference fee is less than the actual fee, it means that the current package is unreasonable.
选取与实际资费数据相匹配的套餐具体包括:Select a package that matches the actual tariff data, including:
根据当前每月的实际资费数据,选取使每月资费最少的套餐。According to the current monthly actual tariff data, select the package that minimizes the monthly tariff.
可以理解,若前述判断当前套餐是否合理时,采用的后一种计算方式,则可以直接选取,参考资费最小的套餐即为每月资费最少的套餐。若采用的是前一种计算方法,此时,则需要按照其他套餐的计费方式计算当前每月的实际资费数据的参考资费,然后选取最小值。It can be understood that if the latter calculation method is used when judging whether the current package is reasonable, it can be directly selected, and the package with the lowest reference fee is the package with the lowest monthly fee. If the former calculation method is used, at this time, it is necessary to calculate the reference fee of the current monthly actual fee data according to the billing method of other packages, and then select the minimum value.
例如,用户当前使用的套餐为88元套餐,共包含有通话时长、GPRS和WLAN三种业务,三者的限额分别为:通话时长为200分钟,GPRS流量为200M,WLAN为2400分钟。但是实际资费数据为通话时长为90分钟,GPRS流量为100M,WLAN为900分钟。假设该运营商还提供了一种58元套餐,三者的限额分别为:通话时长为100分钟,GPRS流量为100M,WLAN为1000分钟。可以看出,58元套餐相对于88元套餐来说,与实际资费数据的更为接近,从节省资费的角度,可以用58元套餐来替换88元套餐。For example, the package currently used by the user is 88 yuan, which includes three services: talk time, GPRS and WLAN. The limits of the three services are: talk time is 200 minutes, GPRS traffic is 200M, and WLAN is 2400 minutes. But the actual tariff data is 90 minutes of talk time, 100M of GPRS traffic, and 900 minutes of WLAN. Assume that the operator also provides a package of 58 yuan, and the limits of the three are: the call time is 100 minutes, the GPRS traffic is 100M, and the WLAN is 1000 minutes. It can be seen that the 58 yuan package is closer to the actual tariff data than the 88 yuan package. From the perspective of saving tariffs, the 58 yuan package can be used to replace the 88 yuan package.
又或者,如果实际资费数据为通话时长为90分钟,GPRS流量为110M,WLAN为900分钟。此时,GPRS流量超过了58元套餐的限额,需要额外付费,但是,如果超过限额这部分的花费小于30元,那么实际资费仍然会小于88元套餐所需要的资费。因此,仍然可以选择58元套餐作为新的套餐。Or, if the actual tariff data is 90 minutes of call time, 110M of GPRS traffic, and 900 minutes of WLAN. At this time, if the GPRS traffic exceeds the limit of the 58 yuan package, an additional fee is required. However, if the cost of exceeding the limit is less than 30 yuan, the actual tariff will still be less than the tariff required for the 88 yuan package. Therefore, you can still choose the 58 yuan package as a new package.
可以理解,在选取与实际资费数据相匹配的套餐之后,可以自动向运营商发送更换套餐的请求,也可以提示手机用户,由用户自己决定是否更换。若自动向运营商发送更换套餐的请求,则需要预存更换套餐的相关短信指令,在需要时自动发送给短信指令给运营商。It can be understood that after selecting a package that matches the actual tariff data, a request to change the package can be automatically sent to the operator, or a mobile phone user can be prompted to decide whether to change it. If the request for changing the package is automatically sent to the operator, it is necessary to pre-store the relevant SMS instruction for changing the package, and automatically send the SMS instruction to the operator when necessary.
优选地,在前述三个实施例的基础上,还可以包括以下步骤:Preferably, on the basis of the foregoing three embodiments, the following steps may also be included:
获取运营商的套餐信息,并对所述套餐信息进行展示,以供用户添加和/或切换套餐。The package information of the operator is obtained, and the package information is displayed, so that the user can add and/or switch packages.
具体的,可以通过本发明的移动终端自动从网络或者服务器获取当前手机所在地的运营商的套餐信息,也可以由用户手动输入后获取。通过在移动终端的显示界面中展示各种套餐信息,并提供添加和/或切换套餐的界面来实现套餐的添加或切换。当用户添加和/或切换套餐后,后台可以自动将对应的短信指令发送给运营商。Specifically, the mobile terminal of the present invention can automatically obtain the package information of the operator where the current mobile phone is located from the network or server, or can be obtained after manual input by the user. The addition or switching of packages is realized by displaying various package information on the display interface of the mobile terminal and providing an interface for adding and/or switching packages. After the user adds and/or switches packages, the background can automatically send the corresponding SMS instructions to the operator.
参照图4,示出本发明的移动终端实施例一,包括信息收发模块10、解析模块30和判断模块40。Referring to FIG. 4 , it shows the first embodiment of the mobile terminal of the present invention, including an
信息收发模块10,用于获取运营商的资费查询指令,并向运营商发送所述资费查询指令。优选地,信息收发模块10包括触发单元,用于根据预定时间和/或根据用户指令发送资费查询指令。其中,当触发单元根据预定时间发送资费查询指令时,还可以进一步地包括时间判断子单元,用于判断当前时间是否为预定时间,若是,则发送所述资费查询指令。The
解析模块30,用于接收运营商返回的资费短信,解析所述资费短信得到查询结果数据。优选地,解析模块30包括匹配单元和解析单元。匹配单元,用于将资费短信内容与预存模板进行匹配。解析单元,用于按照匹配到的模板解析资费短信内容中包含的查询结果数据。进一步地,解析单元包括正则表达式解析子单元,用于采用正则表达式解析资费短信内容中包含的查询结果数据。The
判断模块40,用于判断所述查询结果数据中的资费数据是否为实时数据;若是,则将本地实时资费数据更新为所述查询结果数据中的资费数据;若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的本地实时资费数据相加得到累加后的资费数据,并将本地实时资费数据更新为所述累加后的资费数据。优选地,判断查询结果数据是否为实时数据可以通过截止时间点来判断,此时,判断模块包括截止时间点比较单元,用于判断查询结果数据的截止时间点与本地实时资费数据的截止时间点是否相同,若相同,则说明查询结果数据为实时数据,反之,则说明查询结果数据不是实时数据。Judging
可以理解,在信息收发模块10向运营商发送资费查询指令之前,还可以预先获取运营商信息,此时,该系统还包括运营商信息获取模块,用于根据用户设置的套餐、地域、品牌信息自动识别运营商;或根据用户输入的运营商信息确定运营商It can be understood that before the
参照图5,示出本发明的移动终端实施例二,该系统还包括预定时间段资费获取模块50,用于对预定时间段内的资费数据进行统计并提示。Referring to FIG. 5 , it shows the second embodiment of the mobile terminal of the present invention. The system also includes a predetermined time period charging
参照图6,示出本发明的移动终端实施例三,该系统还包括套餐选取模块60,用于对每月的实际资费数据进行统计,并与当前套餐进行比较,判断当前套餐是否合理,若否,则选取与实际资费数据相匹配的套餐。With reference to Fig. 6, mobile terminal embodiment three of the present invention is shown, and this system also comprises
优选地,套餐选取模块60包括资费计算单元和/或实际选取单元。其中,资费计算单元,用于采用其他套餐的计费方式来计算当前的实际资费数据的参考资费,将所述参考资费与使用当前套餐的实际资费相比较,若参考资费小于实际资费,则当前套餐不合理。实际选取单元,用于根据当前每月的实际资费数据,选取使每月资费最少的套餐。Preferably, the
参照图7,示出本发明的移动终端实施例四,该系统还包括套餐修改模块70,用于获取运营商的套餐信息,并对所述套餐信息进行展示,以供用户添加和/或切换套餐。Referring to Fig. 7, it shows the fourth embodiment of the mobile terminal of the present invention, the system also includes a
参照图8,示出本发明的资费获取系统,包括移动终端81和服务器83。Referring to FIG. 8 , it shows the tariff acquisition system of the present invention, including a
其中,移动终端81用于获取运营商的资费查询指令,并向运营商发送所述资费查询指令;以及接收运营商返回的资费短信并将所述资费短信发送给服务器。Wherein, the
服务器83,用于解析所述资费短信得到查询结果数据,并返回给移动终端。移动终端81在接收到服务器83返回的查询结果数据后,判断所述查询结果数据中的资费数据是否为实时数据;若是,则将移动终端的本地实时资费数据更新为所述查询结果数据中的资费数据;若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的移动终端的本地实时资费数据相加得到累加后的资费数据,并将移动终端的本地实时资费数据更新为所述累加后的资费数据。The
可以理解,判断过程也可以由服务器83完成。即,服务器83在解析资费短信得到查询结果数据后,对该查询结果数据中的资费数据是否为实时数据进行判断,并根据判断结果对移动终端中的资费数据进行更新。It can be understood that the judging process can also be completed by the
具体包括:服务器83判断所述查询结果数据中的资费数据是否为实时数据;若是,则将移动终端的本地实时资费数据更新为所述查询结果数据中的资费数据;若否,则将所述查询结果数据中的资费数据与查询结果数据截止时间点之后至当前的移动终端的本地实时资费数据相加得到累加后的资费数据,并将移动终端的本地实时资费数据更新为所述累加后的资费数据。Specifically include: the
本发明的移动终端的资费获取方法、移动终端及资费获取系统通过对从运营商获取到的实时资费数据进行解析,并与移动终端本地实时资费数据进行比较,从而得到较为准确的数据。在进行比较后,可以根据比较结果对本地统计的资费数据的自动校正和更新,可以避免本地统计因为无法了解运营商详细资费信息而出现的统计结果不准确的情况,从而可以使本地统计的资费数据处于实时更新始终状态,保证统计的准确性。The mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system of the present invention analyze the real-time tariff data obtained from the operator and compare it with the local real-time tariff data of the mobile terminal, thereby obtaining more accurate data. After the comparison, the tariff data of the local statistics can be automatically corrected and updated according to the comparison results, which can avoid the inaccurate statistical results of the local statistics due to the inability to understand the detailed tariff information of the operator, so that the tariff data of the local statistics The data is always updated in real time to ensure the accuracy of statistics.
其次,本发明的移动终端的资费获取方法、移动终端及资费获取系统还可以对预定时间段内的资费数据进行统计,并实时提醒,从而便于用户及时了解使用详情,可以随时做出调整,便于用户管理手机资费。Secondly, the tariff acquisition method for the mobile terminal, the mobile terminal and the tariff acquisition system of the present invention can also count the tariff data within a predetermined time period and remind them in real time, so that users can know the usage details in time and can make adjustments at any time, which is convenient User manages mobile phone charges.
另外,还可以通过对每月的实际资费数据进行统计,并结合运营商的各种资费,为用户选取最合适的套餐,可以便于用户对套餐进行管理,节省资费。In addition, it is also possible to select the most suitable package for the user by making statistics on the actual monthly tariff data and combining the various tariffs of the operator, which can facilitate the management of the package by the user and save the tariff.
通过以上的实施方式的描述可知,本领域的技术人员可以清楚地了解到本发明可借助软件加必需的通用硬件平台的方式来实现。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例或者实施例的某些部分所述的方法。It can be seen from the above description of the implementation manners that those skilled in the art can clearly understand that the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the essence of the technical solution of the present invention or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products can be stored in storage media, such as ROM/RAM, disk , CD, etc., including several instructions to make a computer device (which may be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments of the present invention.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于装置或系统实施例而言,由于其基本相似于方法实施例,所以描述得比较简单,相关之处参见方法实施例的部分说明即可。以上所描述的装置及系统实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性劳动的情况下,即可以理解并实施。Each embodiment in this specification is described in a progressive manner, the same and similar parts of each embodiment can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device or system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for relevant parts, refer to part of the description of the method embodiments. The device and system embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, It can be located in one place, or it can be distributed to multiple network elements. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without creative effort.
以上对本发明所提供的移动终端的资费获取方法、移动终端及资费获取系统进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The tariff acquisition method of the mobile terminal provided by the present invention, the mobile terminal and the tariff acquisition system have been introduced in detail above. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The description of the above embodiments is only for To help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary, the content of this specification It should not be construed as limiting the invention.
Claims (29)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102100503A CN102769838A (en) | 2012-06-20 | 2012-06-20 | Mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012102100503A CN102769838A (en) | 2012-06-20 | 2012-06-20 | Mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102769838A true CN102769838A (en) | 2012-11-07 |
Family
ID=47097063
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012102100503A Pending CN102769838A (en) | 2012-06-20 | 2012-06-20 | Mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102769838A (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103249063A (en) * | 2013-05-22 | 2013-08-14 | 亚信联创科技(中国)有限公司 | Testing method and device for matching rated quantity with actual consumption of telecommunication service |
CN104378258A (en) * | 2014-11-14 | 2015-02-25 | 东莞宇龙通信科技有限公司 | Network traffic monitoring method and device and terminal |
CN104410962A (en) * | 2014-11-10 | 2015-03-11 | 华为软件技术有限公司 | A terminal user network traffic monitoring method and device |
CN104853334A (en) * | 2015-05-25 | 2015-08-19 | 小米科技有限责任公司 | Method and device for analyzing short message |
CN104994220A (en) * | 2015-05-18 | 2015-10-21 | 北京奇虎科技有限公司 | Data processing method and system |
CN104994541A (en) * | 2015-05-22 | 2015-10-21 | 小米科技有限责任公司 | Network flow correction method and device |
CN104994219B (en) * | 2015-05-18 | 2016-08-24 | 北京奇虎科技有限公司 | A kind of data processing method and system |
WO2018223374A1 (en) * | 2017-06-09 | 2018-12-13 | 深圳市伊特利网络科技有限公司 | Timely notification method and system for terminal charging |
CN109495876A (en) * | 2018-11-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of transmission method and mobile terminal of mobile terminal data |
CN110572815A (en) * | 2019-08-30 | 2019-12-13 | 宇龙计算机通信科技(深圳)有限公司 | Network access method, device, storage medium and terminal |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808302A (en) * | 2010-04-09 | 2010-08-18 | 刘泱 | Cell phone bill inquiring device |
CN102014363A (en) * | 2010-11-19 | 2011-04-13 | 中兴通讯股份有限公司 | Communication expense inquiry method, device and mobile terminal |
CN102111743A (en) * | 2011-04-15 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Method for customizing inclusive price on mobile terminal and mobile terminal |
CN202261806U (en) * | 2010-11-16 | 2012-05-30 | 北京瓦力网络科技有限公司 | Reminding system for residual traffic of internet surfing of mobile phone |
-
2012
- 2012-06-20 CN CN2012102100503A patent/CN102769838A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101808302A (en) * | 2010-04-09 | 2010-08-18 | 刘泱 | Cell phone bill inquiring device |
CN202261806U (en) * | 2010-11-16 | 2012-05-30 | 北京瓦力网络科技有限公司 | Reminding system for residual traffic of internet surfing of mobile phone |
CN102014363A (en) * | 2010-11-19 | 2011-04-13 | 中兴通讯股份有限公司 | Communication expense inquiry method, device and mobile terminal |
CN102111743A (en) * | 2011-04-15 | 2011-06-29 | 宇龙计算机通信科技(深圳)有限公司 | Method for customizing inclusive price on mobile terminal and mobile terminal |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103249063A (en) * | 2013-05-22 | 2013-08-14 | 亚信联创科技(中国)有限公司 | Testing method and device for matching rated quantity with actual consumption of telecommunication service |
CN104410962A (en) * | 2014-11-10 | 2015-03-11 | 华为软件技术有限公司 | A terminal user network traffic monitoring method and device |
CN104378258A (en) * | 2014-11-14 | 2015-02-25 | 东莞宇龙通信科技有限公司 | Network traffic monitoring method and device and terminal |
CN104994220B (en) * | 2015-05-18 | 2016-08-24 | 北京奇虎科技有限公司 | A kind of data processing method and system |
CN104994220A (en) * | 2015-05-18 | 2015-10-21 | 北京奇虎科技有限公司 | Data processing method and system |
CN104994219B (en) * | 2015-05-18 | 2016-08-24 | 北京奇虎科技有限公司 | A kind of data processing method and system |
CN104994541B (en) * | 2015-05-22 | 2019-01-11 | 小米科技有限责任公司 | Network flow bearing calibration and device |
CN104994541A (en) * | 2015-05-22 | 2015-10-21 | 小米科技有限责任公司 | Network flow correction method and device |
CN104853334A (en) * | 2015-05-25 | 2015-08-19 | 小米科技有限责任公司 | Method and device for analyzing short message |
CN104853334B (en) * | 2015-05-25 | 2019-02-19 | 小米科技有限责任公司 | Short message analysis method and device |
WO2018223374A1 (en) * | 2017-06-09 | 2018-12-13 | 深圳市伊特利网络科技有限公司 | Timely notification method and system for terminal charging |
CN109495876A (en) * | 2018-11-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of transmission method and mobile terminal of mobile terminal data |
CN110572815A (en) * | 2019-08-30 | 2019-12-13 | 宇龙计算机通信科技(深圳)有限公司 | Network access method, device, storage medium and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102769838A (en) | Mobile terminal tariff acquisition method, mobile terminal and tariff acquisition system | |
CN104717342B (en) | A kind of method and device waking up client application based on short message | |
EP2958303B1 (en) | Method for measuring and displaying internet traffic of mobile phone and mobile phone | |
CN102685709B (en) | Method and device for auditing charging | |
CN102083042B (en) | Charging method and device of mobile data services | |
CN102413547A (en) | Network selection method and device of multimode terminal | |
CN106899987B (en) | Method and device for calibrating data flow of mobile terminal | |
CN101110877B (en) | A method and system for realizing integrated billing | |
RU2009127793A (en) | METHOD, SYSTEM AND MOBILE TERMINAL OF PAYMENT NOTIFICATIONS | |
CN102387486A (en) | Method and device for charging general packet radio service (GPRS) partition bill | |
CN101601273A (en) | The control of prepaid balance status notification | |
CN103155532A (en) | Information processing device and program | |
CN110677825A (en) | Processing method and device based on short promotion message reach rate and storage medium | |
CN102438205A (en) | Service pushing method and system based on mobile user behavior | |
CN107135252A (en) | The user intent event recommendation method and apparatus of track are used based on mobile terminal | |
CN105208571B (en) | The calibration method and device of communication service usage amount | |
CN105916125A (en) | Method and device for reminding telephone charge balance | |
CN111506633A (en) | Expense allocation method, device, equipment, system and computer readable storage medium | |
CN101729709A (en) | Method and device for processing branch ticket | |
CN101309456A (en) | Enquiry method for prepaid mobile terminal card balance and enquiry result feedback method | |
US9203978B1 (en) | Providing an item of content to a mobile device in a prepaid context | |
KR100801824B1 (en) | Method and system for providing optimal plan service to user of mobile communication terminal | |
CN105141432B (en) | Cloud service order processing method and apparatus | |
CN102461216A (en) | Method, telecommunication system and network node for sponsoring communication services | |
CN102026134A (en) | Method and system for data processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
ASS | Succession or assignment of patent right |
Owner name: QIZHI SOFTWARE (BEIJING) CO., LTD. Effective date: 20121025 Owner name: BEIJING QIHU TECHNOLOGY CO., LTD. Free format text: FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD. Effective date: 20121025 |
|
C41 | Transfer of patent application or patent right or utility model | ||
COR | Change of bibliographic data |
Free format text: CORRECT: ADDRESS; FROM: 100016 CHAOYANG, BEIJING TO: 100088 XICHENG, BEIJING |
|
TA01 | Transfer of patent application right |
Effective date of registration: 20121025 Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant after: Beijing Qihu Technology Co., Ltd. Applicant after: Qizhi Software (Beijing) Co., Ltd. Address before: The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C Applicant before: Qizhi Software (Beijing) Co., Ltd. |
|
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20121107 |
|
RJ01 | Rejection of invention patent application after publication |