WO2019205791A1 - Method and device for adjusting data plan for a plurlaity of user identifications - Google Patents

Method and device for adjusting data plan for a plurlaity of user identifications Download PDF

Info

Publication number
WO2019205791A1
WO2019205791A1 PCT/CN2019/075774 CN2019075774W WO2019205791A1 WO 2019205791 A1 WO2019205791 A1 WO 2019205791A1 CN 2019075774 W CN2019075774 W CN 2019075774W WO 2019205791 A1 WO2019205791 A1 WO 2019205791A1
Authority
WO
WIPO (PCT)
Prior art keywords
traffic
package
time interval
consumption
user identifier
Prior art date
Application number
PCT/CN2019/075774
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 WO2019205791A1 publication Critical patent/WO2019205791A1/en

Links

Images

Classifications

    • 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
    • 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
    • H04L12/1435Metric aspects volume-based
    • 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/1485Tariff-related aspects
    • 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
    • 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/04Recording calls, or communications in printed, perforated or other permanent form
    • H04M15/06Recording class or number of calling, i.e. A-party or called party, i.e. B-party
    • 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
    • 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/60Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on actual use of network resources
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/705Account settings, e.g. limits or numbers or payment
    • 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/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/765Linked or grouped accounts, e.g. of users or devices
    • H04M15/7652Linked or grouped accounts, e.g. of users or devices shared by users
    • 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/80Rating or billing plans; Tariff determination aspects
    • 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/80Rating or billing plans; Tariff determination aspects
    • H04M15/8022Determining tariff or charge band
    • 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/82Criteria or parameters used for performing billing operations
    • H04M15/8214Data or packet based
    • 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/83Notification aspects
    • 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/83Notification aspects
    • H04M15/835Time or frequency of notifications, e.g. Advice of Charge [AoC]
    • H04M15/8351Time or frequency of notifications, e.g. Advice of Charge [AoC] before establishing a communication
    • 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/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/851Determined tariff
    • 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/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/852Low balance or limit reached
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • 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/83Notification aspects
    • H04M15/85Notification aspects characterised by the type of condition triggering a notification
    • H04M15/853Calculate maximum communication time or volume
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]

Abstract

The present application discloses a method and device for adjusting data plan for a plurality of user identifications, belonging to the communication technology field. The plurality of user identifications share a data volume in a data plan provided by an operator; the method comprises: acquiring a data plan and a data consumption record of each of the plurality of user identifications before the current time point of a billing cycle; predicting the sum of the consumed data of the plurality of user identifications in the billing cycle according to the data consumption records, so as to obtain a predicted total consumed data; sending data plan adjusting indication information comprising at least one user identification of the plurality of user identifications and a corresponding new data plan to a billing system of the operator according to the predicted total consumed data and the data plan of each user identification, so as to indicate the billing system to adjust a data plan for the at least one user identification. In such a way, the data plan of the current billing cycle can be automatically adjusted and the adjusting mode is more timely and accurate.

Description

为多个用户标识调整流量套餐的方法及装置Method and device for adjusting traffic packages for multiple user identifications
本申请要求于2018年4月28日提交中国国家知识产权局、申请号为201810403353.4,发明名称为“为多个用户标识调整流量套餐的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on April 28, 2018, the Chinese National Intellectual Property Office, the application number is 201810403353.4, and the invention name is "method and device for adjusting the flow package for multiple user identifications". This is incorporated herein by reference.
技术领域Technical field
本申请涉及通信技术领域,特别涉及一种为多个用户标识调整流量套餐的方法及装置。The present application relates to the field of communications technologies, and in particular, to a method and apparatus for adjusting a traffic package for multiple user identifiers.
背景技术Background technique
在通信技术领域,许多设备需要基于运营商提供的用户标识,来执行通信或上网等流量业务。其中,该用户标识用于运营商识别用户的身份,实际应用中,该用户标识可以为订户身份识别模块(Subscriber Identification Module,SIM)卡、用户识别模块(User Identity Module,UIM)卡或物联网卡等网卡的标识,也可以为用户设备标识或用户账号等。而且,实际应用中,运营商可以根据每个用户标识订购的流量套餐为每个用户标识提供套餐流量,以供用户标识使用。其中,每个用户标识的流量套餐可以包括该用户标识在每个计费周期内所包含的套餐内流量数量、套餐内流量单价以及套餐外流量单价,计费周期是指运营商的账单结算周期,如可以以自然月为计费周期。In the field of communication technology, many devices need to perform traffic services such as communication or Internet access based on the user identity provided by the operator. The user identifier is used by the operator to identify the identity of the user. In actual application, the user identifier may be a Subscriber Identification Module (SIM) card, a User Identity Module (UIM) card, or the Internet of Things. The identifier of the network card such as a card may also be a user equipment identifier or a user account. Moreover, in practical applications, the operator can provide package traffic for each user identity according to the traffic plan ordered by each user identity, for the user to identify. The traffic package of each user identifier may include the amount of traffic in the package included in the charging period of the user identifier, the unit price of the in-package, and the unit price of the out-of-package. The billing period refers to the billing period of the operator. For example, you can use the natural month as the billing cycle.
目前,在许多应用场景中,多个用户标识可以共享运营商提供的套餐内流量数量,也就是,可以将运营商为所述多个用户标识提供的套餐内流量数量汇总到一起共享使用,这样实际流量消耗较大的用户标识可以使用套餐内流量余额较多的用户标识的套餐内流量。在计费周期末进行结算时,可以根据所述多个用户标识在计费周期内的总实际消费流量,按照所述多个用户标识预先订购的流量套餐与运营商进行结算:未超出所述多个用户标识的总的套餐内流量数量的部分按照套餐内流量单价进行结算,超出所述总的套餐内流量数量的部分按照套餐外流量单价进行结算。由于超出套餐外流量单价往往要比套餐流量的单价高很多,因此需要根据费用情况调整用户标识的流量套餐。Currently, in many application scenarios, multiple user identifiers can share the amount of traffic in the in-package provided by the operator, that is, the number of in-package traffic provided by the operator for the multiple user identifiers can be aggregated and used together. The user ID with a large actual traffic consumption can use the in-package traffic of the user ID with a large traffic balance in the package. When the settlement is performed at the end of the billing period, the user may perform settlement according to the total actual consumption traffic of the plurality of user identifiers in the billing period according to the plurality of user identifiers pre-ordered traffic packages: The portion of the total in-package traffic volume of the plurality of user identifiers is settled according to the unit price of the traffic within the package, and the portion exceeding the traffic volume of the total package is settled according to the unit price of the package. Since the unit price of the traffic outside the package is often much higher than the unit price of the package traffic, it is necessary to adjust the traffic package of the user identification according to the cost.
相关技术中,通常是在一个计费周期的账单结算之后,人为根据该计费周期的结算结果确定下一个计费周期的流量套餐,以期下一个计费周期的结算费用最小化。这就可能存在套餐调整不及时(必须等到下一个计费周期才能调整)、不精确(调整后的套餐内流量数量与实际消费流量相比过多或过少)的问题。In the related art, after a billing period of one billing cycle, the data bill of the next billing period is determined according to the settlement result of the billing period, so that the billing fee of the next billing period is minimized. This may be a problem in that the package adjustment is not timely (it must wait until the next billing cycle to adjust), and the inaccuracy (the amount of traffic in the adjusted package is too much or too little compared with the actual consumption flow).
发明内容Summary of the invention
为了解决相关技术中存在的对流量套餐进行调整不及时、不精确的问题,本申请提供了一种为多个用户标识调整流量套餐的方法及装置。所述技术方案如下:In order to solve the problem that the adjustment of the traffic package is not timely and inaccurate in the related art, the present application provides a method and device for adjusting a traffic package for multiple user identifiers. The technical solution is as follows:
第一方面,提供了一种为多个用户标识调整流量套餐的方法,所述多个用户标识共享运营商提供的套餐内流量数量,所述方法包括:In a first aspect, a method for adjusting a traffic package for multiple user identifiers is provided, where the multiple user identifiers share a number of in-package flows provided by an operator, and the method includes:
获取计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量套餐和流量消费记录;Obtaining a data package and a traffic consumption record corresponding to each user identifier of the multiple user identifiers before the current time point of the charging period;
根据所述流量消费记录,预测所述多个用户标识在所述计费周期内的消费流量的总和,得到预测总消费流量;Determining, according to the traffic consumption record, a sum of consumption flows of the multiple user identifiers in the charging period, and obtaining a predicted total consumption traffic;
根据所述预测总消费流量及所述多个用户标识中每个用户标识对应的流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统为所述多个用户标识中至少一个用户标识调整流量套餐,以使所述多个用户标识在所述计费周期内按照调整后的流量套餐与所述运营商进行结算的结算资费小于按照调整前的流量套餐与所述运营商进行结算的结算资费,其中,所述流量套餐调整指示信息包含所述多个用户标识中至少一个用户标识和相应的新流量套餐。And sending the traffic plan adjustment indication information to the charging system of the operator according to the predicted total consumption traffic and the traffic plan corresponding to each user identifier of the multiple user identifiers, to indicate that the charging system is At least one of the plurality of user identifiers adjusts the traffic plan, so that the settlement fee of the plurality of user identifiers that are settled with the operator according to the adjusted traffic plan in the billing period is less than the traffic according to the adjustment a settlement fee for settlement of the package with the operator, wherein the data package adjustment indication information includes at least one of the plurality of user identifiers and a corresponding new traffic package.
本申请实施例中,可以在计费周期的任意时刻,获取计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量套餐和流量消费记录,然后根据当前时间点之前多个用户标识中每个用户标识的流量消费记录,预测所述多个用户标识在计费周期内的消费流量的总和,得到预测总消费流量,根据该预测总消费流量及每个用户标识对应的流量套餐,向运营商的计费系统发送流量套餐调整指示信息,该流量套餐调整指示信息包含所述多个用户标识中至少一个用户标识和相应的新流量套餐,以指示该计费系统为所述至少一个用户标识调整流量套餐,以使所述多个用户标识与该运营商的结算资费减少。也即是,可以在计费周期内的任意时刻准确预测出所述多个用户标识在计费周期内的总消费流量,并根据预测总消费流量对所述多个用户标识的流量套餐自动进行调整,使得当前计费周期的结算资费最小化,相较于相关技术中的人为调整方法,调整方式更及时、更精确,能够进一步节省用户结算资费,灵活性较高。In the embodiment of the present application, the traffic package and the traffic consumption record corresponding to each user identifier in the multiple user identifiers before the current time point of the charging period may be obtained at any time in the charging period, and then according to the current time point. a traffic consumption record of each user identifier in the user identifier, predicting a sum of consumption flows of the plurality of user identifiers in a billing period, and obtaining a predicted total consumption traffic, according to the predicted total consumption traffic and each user identifier corresponding to the The traffic plan sends the traffic plan adjustment indication information to the charging system of the operator, where the data package adjustment indication information includes at least one user identifier and a corresponding new traffic package of the multiple user identifiers, to indicate that the charging system is The at least one user identifier adjusts the traffic plan to reduce the settlement fee of the plurality of user identifiers and the operator. That is, the total consumption traffic of the plurality of user identifiers in the billing period can be accurately predicted at any time within the billing period, and the traffic plan of the plurality of user identifiers is automatically performed according to the predicted total consumption traffic. The adjustment makes the settlement fee of the current billing cycle minimize. Compared with the artificial adjustment method in the related art, the adjustment method is more timely and more accurate, and the user can further save the settlement fee, and the flexibility is high.
在具体实现中,所述根据所述预测总消费流量及所述多个用户标识中每个用户标识对应的流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息包括:In a specific implementation, the sending the data package adjustment indication information to the charging system of the operator according to the predicted total consumption traffic and the data package corresponding to each user identifier of the multiple user identifiers includes:
累加所述多个用户标识中每个用户标识对应的流量套餐中的套餐内流量数量,得到总套餐流量;And accumulating the amount of the in-package traffic in the data package corresponding to each of the plurality of user identifiers, to obtain the total package traffic;
确定所述预测总消费流量和所述总套餐流量之间的第一差值;Determining a first difference between the predicted total consumption flow and the total package flow;
根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息。And sending, according to the first difference, the data package adjustment indication information to the charging system of the operator.
也即是,可以将所述多个用户标识的预测总消费流量和总套餐流量进行比较,然后根据比较结果对所述多个用户标识的流量套餐进行调整,精确度较高。That is, the predicted total consumption traffic of the plurality of user identifiers and the total package traffic may be compared, and then the traffic packages of the plurality of user identifiers are adjusted according to the comparison result, and the accuracy is high.
在具体实现中,所述多个用户标识对应的流量套餐相同;In a specific implementation, the traffic packages corresponding to the multiple user identifiers are the same;
所述根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息,包括:And sending, according to the first difference, the data package adjustment indication information to the charging system of the operator, including:
当所述第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时,确定所述预测总消费流量和所述至少一个用户标识的数量之间的第二比值;Determining a second between the predicted total consumption traffic and the quantity of the at least one user identifier when the first difference is greater than or equal to a preset threshold and the at least one user identifier is the plurality of user identifiers ratio;
对于所述多个用户标识中的任一用户标识A,根据所述第二比值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述第二比值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述第二比值且与所述第二比值之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述第二比值的情况下与所述运营商的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, between the plurality of service packages provided by the operator, a quantity between the number of flows in the package and the second ratio, according to the second ratio The traffic plan with the smallest difference is used as the new traffic package of the user identifier A, or from the plurality of traffic packages, determining that the amount of traffic in the package is greater than or equal to the second ratio and between the second ratio The traffic plan with the smallest difference is used as the traffic package of the user identifier A, or from the plurality of traffic packages, determining that the total consumption traffic of the user identifier A in the billing period is equal to the first In the case of the second ratio, the traffic plan with the lowest settlement tariff of the operator is used as the new traffic package of the user identifier A;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
本发明实施例中,可以在所述多个用户标识的流量套餐相同且所述至少一个用户标识为所述多个用户标识时,根据该预测总消费流量和所述至少一个用户标识的数量之间的第二比值调整所述至少一个用户标识的当前流量套餐。也即是,可以根据所述多个用户标识中每个用户标识在费周期内的平均消费流量,调整所述多个用户标识的流量套餐,从而可以实现根据所述多个用户标识中每个用户标识的平均流量消费情况,对每个用户标识的流量套餐统一进行调整,这种调整方式可以减小计算量,提高调整效率。在具体实现中,所述多个用户标识对应的流量套餐不同;In the embodiment of the present invention, when the traffic packages of the plurality of user identifiers are the same and the at least one user identifier is the multiple user identifiers, according to the predicted total consumption traffic and the quantity of the at least one user identifier The second ratio between the two adjusts the current traffic plan of the at least one user identity. That is, the traffic package of the multiple user identifiers may be adjusted according to the average consumption traffic of each of the multiple user identifiers in the fee period, so that each of the multiple user identifiers may be implemented according to the The average traffic consumption of the user ID is adjusted uniformly for each user-identified traffic package. This adjustment method can reduce the calculation amount and improve the adjustment efficiency. In a specific implementation, the traffic packages corresponding to the multiple user identifiers are different;
所述根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息,包括:And sending, according to the first difference, the data package adjustment indication information to the charging system of the operator, including:
当所述第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时,确定所述预测总消费流量和所述总套餐流量之间的第一比值;Determining, when the first difference is greater than or equal to a preset threshold, and the at least one user identifier is the plurality of user identifiers, determining a first ratio between the predicted total consumption traffic and the total package traffic;
对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量和所述第一比值的乘积;Determining, by any one of the at least one user identifiers A, a product of the number of in-package traffic in the traffic plan corresponding to the user identifier A and the first ratio;
根据所述乘积,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述乘积之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述乘积且与所述乘积之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述乘积的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的流量套餐;According to the product, a traffic plan with the smallest difference between the number of traffic in the package and the product is determined as the traffic package of the user identifier A, or from the plurality of traffic packages provided by the operator. In the plurality of traffic packages, determining, by the traffic plan that the number of traffic in the package is greater than or equal to the product, and the difference between the products is the traffic package of the user identifier A, or from the multiple traffic In the package, determining, as the user identifier A, a traffic plan with the minimum settlement tariff between the user identifier A and the operator in the case where the total consumption flow in the billing period is equal to the product Data Package;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
本发明实施例中,可以在所述多个用户标识的流量套餐不同且所述至少一个用户标识为所述多个用户标识时时,根据预测总消费流量和总套餐流量之间的第一比值调整所述至少一个用户标识的当前流量套餐。也即是,可以根据预测总消费流量和总套餐流量之间的比例,等比例调整所述多个用户标识的流量套餐,从而可以实现根据所述多个用户标识的总体流量消费情况,对每个用户标识的流量套餐进行等比例调整,精确度较高。In the embodiment of the present invention, when the traffic packages of the plurality of user identifiers are different and the at least one user identifier is the multiple user identifiers, the first ratio between the predicted total consumption traffic and the total package traffic may be adjusted. The current traffic package of the at least one user identity. That is, the traffic package of the plurality of user identifiers may be adjusted according to a ratio between the predicted total consumption traffic and the total package traffic, so that the overall traffic consumption according to the multiple user identifiers may be implemented, for each The traffic metrics of the user IDs are adjusted in equal proportions with high accuracy.
在具体实现中,所述根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息,包括:In a specific implementation, the sending the data package adjustment indication information to the charging system of the operator according to the first difference, including:
当所述第一差值大于或等于预设阈值时,确定所述第一差值与所述至少一个用户标识的数量之间的第三比值;Determining, when the first difference is greater than or equal to a preset threshold, a third ratio between the first difference and the number of the at least one user identifier;
当所述预测总消费流量小于所述总套餐流量时,对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量与所述第三比值之间的第二差值;When the predicted total consumption traffic is less than the total package traffic, determining, for any one of the at least one user identifiers, the number of in-package traffic in the traffic plan corresponding to the user identifier A, and the number a second difference between the three ratios;
根据所述第二差值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述第二差值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述第二差值且与所述第二差值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述第二差值的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, according to the second difference, a traffic plan with the smallest difference between the number of flows in the package and the second difference from the plurality of data packages provided by the operator as the user identifier A a new traffic package, or a traffic plan from the plurality of traffic packages that determines that the amount of traffic in the package is greater than or equal to the second difference and the difference between the second difference is the smallest Identifying a new traffic package of A, or determining, from the plurality of traffic packages, that the total consumption flow of the user identifier A in the charging period is equal to the second difference, and the operation The traffic plan with the lowest settlement tariff between the merchants is used as the new traffic package of the user identifier A;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
在具体实现中,所述确定所述第一差值与所述至少一个用户标识的数量之间的第三比值之后,还包括:In a specific implementation, after determining the third ratio between the first difference and the quantity of the at least one user identifier, the method further includes:
当所述预测总消费流量大于所述总套餐流量时,对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量与所述第三比值之间的和值;When the predicted total consumption traffic is greater than the total package traffic, determining, for any one of the at least one user identifiers, the number of in-package traffic in the traffic package corresponding to the user identifier A, and the number The sum between the three ratios;
根据所述和值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述和值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述和值且与所述和之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述和值的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, according to the sum of the plurality of data packages provided by the operator, a traffic package having the smallest difference between the number of traffic in the package and the sum value as the new traffic package of the user identifier A, Or determining, from the plurality of data packages, a traffic package whose amount of traffic in the package is greater than or equal to the sum value and having a smallest difference from the sum, as a new traffic package of the user identifier A, or And determining, in the plurality of traffic packages, a traffic plan having a minimum settlement tariff with the operator when the total consumption flow of the user identifier A in the charging period is equal to the sum value The new traffic package of the user identifier A;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
本发明实施例中,可以从所述多个用户标识中选择至少一个用户标识,根据该第一差值对所述至少一个用户标识的流量套餐平均进行调整。这种调整方式无需对每个用户标识的流量套餐均进行调整,减小了计算量,提高了调整效率。In the embodiment of the present invention, at least one user identifier may be selected from the plurality of user identifiers, and the traffic package of the at least one user identifier is adjusted on average according to the first difference. This adjustment method does not need to adjust the traffic package of each user identifier, which reduces the calculation amount and improves the adjustment efficiency.
本申请实施例中,提供了多种具体地流量套餐调整方式,可以满足用户的多样性需求,提高了用户体验。In the embodiment of the present application, a plurality of specific traffic package adjustment manners are provided, which can meet the diversity requirements of users and improve the user experience.
在具体实现中,所述根据所述流量消费记录,预测所述多个用户标识在所述计费周期内的消费流量的总和,得到预测总消费流量,包括:In a specific implementation, the predicting the total consumption traffic of the multiple user identifiers in the charging period according to the traffic consumption record, and obtaining the predicted total consumption traffic, including:
对所述流量消费记录进行统计,得到所述多个用户标识在至少一个第一时间区间内的实际消费流量,所述至少一个第一时间区间是指从所述计费周期的第一个时间区间到目标时间区间的至少一个时间区间;Performing statistics on the traffic consumption record to obtain actual consumption traffic of the multiple user identifiers in at least one first time interval, where the at least one first time interval refers to the first time from the charging period At least one time interval from the interval to the target time interval;
其中,当当前时间点是所述计费周期内一个时间区间的结束时间时,所述目标时间区间为当前时间点所处的时间区间,当当前时间点不是所述计费周期内一个时间区间的结束时间时,所述目标时间区间为所述计费周期内当前时间点之前最近的时间区间;Wherein, when the current time point is the end time of a time interval in the charging period, the target time interval is a time interval in which the current time point is located, and when the current time point is not a time interval in the charging period The end time interval is the latest time interval before the current time point in the billing period;
根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,确定所述多个用户标识在至少一个第二时间区间内的预测消费流量,所述至少一个第二时间区间是指所述计费周期内所述目标时间区间之后的至少一个时间区间;Determining, according to actual consumption flows of the plurality of user identifiers in the at least one first time interval, predicted consumption flows of the plurality of user identifiers in at least one second time interval, the at least one second time interval Means at least one time interval after the target time interval in the billing period;
将所述多个用户标识在所述至少一个第一时间区间内的实际消费流量和在所述至少一个第二时间区间内的预测消费流量进行相加,得到所述预测总消费流量。Adding the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval and the predicted consumption flow rate in the at least one second time interval to obtain the predicted total consumption flow rate.
本申请实施例中,通过以计费周期的各个时间区间为单位,对当前时间点之前的实际消费流量进行统计,并对当前时间点之后的预测消费流量进行预测,可以提高统计和预测的处理效率,以及统计和预测的准确度。In the embodiment of the present application, by counting the actual consumption flows before the current time point in units of time intervals of the charging period, and predicting the predicted consumption flow after the current time point, the statistics and prediction processing can be improved. Efficiency, as well as the accuracy of statistics and forecasts.
在具体实现中,所述根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,确定所述多个用户标识在至少一个第二时间区间内的预测消费流量,包括:In a specific implementation, the determining, according to the actual consumption traffic of the multiple user identifiers in the at least one first time interval, determining predicted consumption flows of the multiple user identifiers in the at least one second time interval, including :
根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,通过预设滑动平均模型法,确定所述多个用户标识在所述至少一个第二时间区间内的预测消费流量。Determining, according to the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval, a predicted consumption of the plurality of user identifiers in the at least one second time interval by a preset moving average model method flow.
其中,滑动平均模型法是指用一组最近的实际数据值来预测未来一期或几期内的数据值的方法,基本思想是根据时间序列资料逐项推移,依次计算包含一定项数的序时平均值,以反映长期趋势。本申请实施例中,通过预设滑动平均模型法,能够能对所述多个用户标识在未来时间区间的流量消耗趋势进行准确预测,且能够消除周期变动和随机波动的影响,预测准确度较高。Among them, the sliding average model method refers to a method of predicting the data value of the next period or period by using a set of recent actual data values. The basic idea is to sequentially calculate the order of a certain number of items according to the time series data. Time average to reflect long-term trends. In the embodiment of the present application, the preset sliding average model method can accurately predict the traffic consumption trend of the multiple user identifiers in the future time interval, and can eliminate the effects of periodic fluctuations and random fluctuations, and the prediction accuracy is better. high.
在具体实现中,所述根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,通过预设滑动平均模型法,确定所述多个用户标识在所述至少一个第二时间区间内的预测消费流量,包括:In a specific implementation, the determining, by the preset moving average model method, the plurality of user identifiers in the at least one part according to the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval Forecasted consumption flows over the two time intervals, including:
对于所述至少一个第二时间区间中的任一第二时间区间B,当所述第二时间区间B为所述计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在所述计费周期的前一个计费周期内不具有数据流量消费记录时,将所述计费周期内位于所述第二时间区间B之前的所有时间区间的目标消费流量的平均值,确定为所述多个用户标识在所述第二时间区间B内的预测消费流量;For any of the at least one second time interval B, when the second time interval B is one of the first N time intervals within the charging period, and the plurality of time intervals When the user ID does not have a data traffic consumption record in the previous billing period of the billing period, the average of the target consumption flows in all time intervals before the second time interval B in the billing period a value, determined as the predicted consumption flow rate of the plurality of users in the second time interval B;
当所述第二时间区间B为所述计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在所述计费周期的前一个计费周期内具有数据流量消费记录时,或者当所述第二时间区间B为所述计费周期内第N个时间区间之后的任一时间区间时,将位于所述第二时间区间B之前的N个时间区间的目标消费流量的平均值,确定为所述多个用户标识在所述第二时间区间B内的预测消费流量:When the second time interval B is one time interval of the first N time intervals in the charging period, and the multiple user identifiers have data traffic in a previous charging period of the charging period When the record is consumed, or when the second time interval B is any time interval after the Nth time interval in the charge period, the target of the N time intervals before the second time interval B The average of the consumption flows is determined as the predicted consumption flow of the plurality of users in the second time interval B:
其中,所述N为正整数,对于位于所述第二时间区间B之前的任一时间区间C,当所述多个用户标识在所述时间区间C内具有实际消费流量时,所述时间区间C的目标消费流量是指所述多个用户标识在所述时间区间C内的实际消费流量,当所述多个用户标识在所述时间区间C内不具有实际消费流量时,所述时间区间C的目标消费流量是指所述多个用户标识在所述时间区间C内的预测消费流量。Wherein, the N is a positive integer, and for any time interval C before the second time interval B, when the plurality of user identifiers have actual consumption flows in the time interval C, the time interval The target consumption flow rate of C refers to the actual consumption flow rate of the plurality of user identifiers in the time interval C, and when the plurality of user identifiers do not have actual consumption flow rate in the time interval C, the time interval The target consumption flow rate of C refers to the predicted consumption flow rate of the plurality of user identifiers in the time interval C.
通过当第二时间区间B为计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在计费周期的前一个计费周期内不具有实际消费流量记录时,直接计算计费周期内位于该第二时间区间B之前的所有时间区间的目标消费流量的平均值,并将该平均值确定为所述多个用户标识在第二时间区间B内的预测消费流量,可以在第二时间区间B之前具有消费流量记录的时间区间不足N的情况下,也能够采用预设滑动平均模型法对第二时间区间B内的预测消费流量进行预测。When the second time interval B is one of the first N time intervals in the charging period, and the plurality of user identifiers do not have the actual consumption flow record in the previous charging period of the charging period, Directly calculating an average value of target consumption flows of all time intervals before the second time interval B in the billing period, and determining the average value as the predicted consumption flow rate of the plurality of user identifiers in the second time interval B If the time interval of the consumption flow record is less than N before the second time interval B, the predicted consumption average flow rate in the second time interval B can also be predicted by using the preset moving average model method.
通过当第二时间区间B为计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在计费周期的前一个计费周期内具有实际消费流量记录时,将位于所述第二时间区间B之前的N个时间区间的目标消费流量的平均值,确定为所述多个用户标识在第二时间区间B内的预测消费流量,可以从计费周期的前一个计费周期的实际流量消耗记录中获取末尾M个时间区间的实际消费流量,作为该M个时间区间的目标消费流量,并将该M个区间对计费周期内第二时间区间B之前的时间区间进行补充,进而得到N个时间区间的目标消费流量,提高了预测的准确度。When the second time interval B is one of the first N time intervals in the charging period, and the plurality of user identifiers have actual consumption flow records in the previous charging period of the charging period, The average value of the target consumption flows of the N time intervals before the second time interval B is determined as the predicted consumption flow of the plurality of user identifiers in the second time interval B, which may be from the previous one of the charging periods Obtain the actual consumption flow of the last M time intervals in the actual traffic consumption record of the billing cycle, as the target consumption flow of the M time intervals, and compare the M intervals to the time before the second time interval B in the charging period. The interval is supplemented to obtain the target consumption flow of N time intervals, which improves the accuracy of the prediction.
在具体实现中,所述多个用户标识是指与目标流量池绑定的且在所述计费周期内激活的多个物联网卡的标识,所述目标流量池是指物联网管理的任一流量池。In a specific implementation, the multiple user identifiers are identifiers of multiple Internet of Things cards that are bound to the target traffic pool and activated during the billing period, and the target traffic pool refers to any of the Internet of Things management. Traffic pool.
也即是,本申请实施例提供的方法还可以应用于物联网中,且该物联网可以通过流量池对与该流量池绑定的多个物联网卡的流量套餐进行调整。That is, the method provided by the embodiment of the present application can also be applied to the Internet of Things, and the Internet of Things can adjust the traffic package of multiple Internet of Things cards bound to the traffic pool through the traffic pool.
第二方面,提供了一种为多个用户标识调整流量套餐的装置,所述装置具有实现上述第一方面中为多个用户标识调整流量套餐的方法行为的功能。所述装置包括至少一个模块,所述至少一个模块用于实现上述第一方面所提供的为多个用户标识调整流量套餐的方法。In a second aspect, there is provided an apparatus for adjusting a traffic plan for a plurality of user identities, the apparatus having a function of implementing a method behavior of adjusting a traffic plan for a plurality of user identities in the first aspect. The device includes at least one module, and the at least one module is configured to implement the method for adjusting a traffic package for multiple user identifiers provided by the foregoing first aspect.
第三方面,提供了一种为多个用户标识调整流量套餐的装置,所述装置的结构中包括处理器和存储器,所述存储器用于存储支持流量套餐调整装置执行上述第一方面所提供的为多个用户标识调整流量套餐的方法的程序,以及存储用于实现上述第一方面所提供的为多个用户标识调整流量套餐的方法所涉及的数据。所述处理器被配置为用于执行所述存储器中存储的程序。所述存储设备的操作装置还可以包括通信总线,该通信总线用于该处理器与存储器之间建立连接。A third aspect provides an apparatus for adjusting a traffic package for a plurality of user identifiers, where the apparatus includes a processor and a memory, and the memory is configured to store a support traffic plan adjustment apparatus to perform the foregoing first aspect. A program for identifying a method of adjusting a traffic plan for a plurality of users, and storing data related to a method for implementing a method of adjusting a traffic plan for a plurality of user IDs provided by the first aspect described above. The processor is configured to execute a program stored in the memory. The operating device of the storage device may further include a communication bus for establishing a connection between the processor and the memory.
第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的为多个用户标识调整流量套餐的方法。In a fourth aspect, a computer readable storage medium is provided, wherein the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the adjustment of the plurality of user identities as described in the first aspect above The method of the data package.
第五方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的为多个用户标识调整流量套餐的方法。In a fifth aspect, a computer program product comprising instructions for causing a computer to perform the method of adjusting a traffic plan for a plurality of user identities as described in the first aspect above is provided when operating on a computer.
第六方面,提供了一种芯片,所述芯片包括可编程逻辑电路和/或程序指令,当所述芯片运行时用于实现上述第一方面所述的为多个用户标识调整流量套餐的方法。In a sixth aspect, a chip is provided, the chip comprising programmable logic circuits and/or program instructions, and the method for adjusting a traffic package for multiple user identifiers according to the first aspect described above when the chip is running .
上述第二方面、第三方面、第四方面、第五方面和第六方面所获得的技术效果与第一方面中对应的技术手段获得的技术效果近似,在这里不再赘述。The technical effects obtained by the second aspect, the third aspect, the fourth aspect, the fifth aspect, and the sixth aspect are similar to those obtained by the corresponding technical means in the first aspect, and are not described herein again.
本申请提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the present application are:
本申请实施例中,可以在计费周期的任意时刻,获取计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量套餐和流量消费记录,然后根据当前时间点之前多个用户标识中每个用户标识的流量消费记录,预测所述多个用户标识在计费周期内的消费流量的总和,得到预测总消费流量,根据该预测总消费流量及每个用户标识对应的流量套餐,向运营商的计费系统发送流量套餐调整指示信息,该流量套餐调整指示信息包含所述多个用户标识中至少一个用户标识和相应的新流量套餐,以指示该计费系统为所述至少一个用户标识调整流量套餐,以使所述多个用户标识与该运营商的结算资费减少。也即是,可以在计费周期内的任意时刻准确预测出所述多个用户标识在计费周期内的总消费流量,并根据预测总消费流量对所述多个用户标识的流量套餐自动进行调整,使得当前计费周期的结算资费最小化,相较于相关技术中的人为调整方法,调整方式更及时、更精确,能够进一步节省用户结算资费,灵活性较高。In the embodiment of the present application, the traffic package and the traffic consumption record corresponding to each user identifier in the multiple user identifiers before the current time point of the charging period may be obtained at any time in the charging period, and then according to the current time point. a traffic consumption record of each user identifier in the user identifier, predicting a sum of consumption flows of the plurality of user identifiers in a billing period, and obtaining a predicted total consumption traffic, according to the predicted total consumption traffic and each user identifier corresponding to the The traffic plan sends the traffic plan adjustment indication information to the charging system of the operator, where the data package adjustment indication information includes at least one user identifier and a corresponding new traffic package of the multiple user identifiers, to indicate that the charging system is The at least one user identifier adjusts the traffic plan to reduce the settlement fee of the plurality of user identifiers and the operator. That is, the total consumption traffic of the plurality of user identifiers in the billing period can be accurately predicted at any time within the billing period, and the traffic plan of the plurality of user identifiers is automatically performed according to the predicted total consumption traffic. The adjustment makes the settlement fee of the current billing cycle minimize. Compared with the artificial adjustment method in the related art, the adjustment method is more timely and more accurate, and the user can further save the settlement fee, and the flexibility is high.
附图说明DRAWINGS
图1是本申请实施例提供的一种流量套餐调整系统的系统架构图;1 is a system architecture diagram of a traffic package adjustment system according to an embodiment of the present application;
图2是本申请实施例提供的一种物联网服务系统的系统架构图;2 is a system architecture diagram of an Internet of Things service system provided by an embodiment of the present application;
图3是本申请实施例提供的一种物联网服务商50与运营商10之间的运营方式示意图;FIG. 3 is a schematic diagram of an operation manner between an Internet of Things service provider 50 and an operator 10 according to an embodiment of the present application;
图4是本申请实施例提供的一种物联网应用的逻辑结构示意图;4 is a schematic diagram of a logical structure of an Internet of Things application provided by an embodiment of the present application;
图5是本申请实施例提供的一种为流量套餐调整装置的结构示意图;FIG. 5 is a schematic structural diagram of a device for adjusting a traffic package according to an embodiment of the present application;
图6是本申请实施例提供的一种为多个用户标识调整流量套餐的方法流程图;6 is a flowchart of a method for adjusting a traffic package for multiple user identifiers according to an embodiment of the present application;
图7是本申请实施例提供的一种目标流量池的运营时序图;FIG. 7 is a timing diagram of operations of a target traffic pool according to an embodiment of the present application;
图8是本申请实施例提供的一种为多个用户标识调整流量套餐的装置结构示意图。FIG. 8 is a schematic structural diagram of an apparatus for adjusting a traffic package for multiple user identifiers according to an embodiment of the present application.
具体实施方式detailed description
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objects, technical solutions and advantages of the present application more clear, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
在对本申请进行详细的解释说明之前,先对本申请的应用场景进行介绍。Before the detailed explanation of the application, the application scenario of the present application is introduced.
本申请实施例提供的为多个用户标识调整流量套餐调整的方法主要应用于所述多个用户标识共享运营商提供的套餐内流量数量的场景中。其中,本申请实施例所述的用户标识用于运营商识别用户的身份,以便运营商能够根据该用户标识为设备提供移动通信接入业务。实际应用中,所述的用户标识可以为SIM卡、UIM卡或物联网卡等网卡的标识,也可以为用户设备的标识或用户账号等。The method for adjusting the traffic plan adjustment for multiple user identifiers provided by the embodiment of the present application is mainly applied to the scenario in which the plurality of user identifiers share the amount of traffic in the package provided by the operator. The user identifier in the embodiment of the present application is used by the operator to identify the identity of the user, so that the operator can provide the mobile communication access service for the device according to the user identifier. In an actual application, the user identifier may be an identifier of a network card such as a SIM card, a UIM card, or an Internet of Things card, or may be an identifier of a user equipment or a user account.
其中,每个用户标识的流量套餐包括套餐内流量数量、套餐价格和套餐外流量单价等,套餐内流量数量是指运营商根据该流量套餐能够为该用户标识提供的总流量数量。实际应用中,该套餐内流量数量包括该用户标识通过该流量套餐向运营商购买的流量数量,进一步地,还可以包括运营商根据该用户标识实际消耗流量数量而向该用户标识额外赠送的流量数量。The traffic package of each user identifier includes the number of traffic in the package, the package price, and the unit price of the package. The amount of traffic in the package refers to the total amount of traffic that the operator can provide for the user identity according to the traffic package. In an actual application, the amount of traffic in the package includes the amount of traffic that the user identifier purchases from the service provider through the traffic package, and further includes the traffic that the operator identifies to the user according to the actual amount of traffic consumed by the user identifier. Quantity.
例如,以所述多个用户标识为SIM卡的标识为例,企业可以从运营商统一购买多张SIM卡,根据实际需要为每张SIM卡订购流量套餐,并与运营商协议约定这多张SIM卡共享运营商提供的套餐内流量数量,然后将这多张SIM卡分发给企业员工使用,这样,每个企业员工就可以共享使用这多张SIM卡的套餐内流量数量,而且实际流量消耗较大的用户可以使用套餐内流量余额较多的用户的套餐内流量。For example, taking the identifier of the multiple user identifiers as the SIM card as an example, the enterprise can purchase multiple SIM cards from the operator, order a traffic package for each SIM card according to actual needs, and agree with the operator to stipulate the multiple cards. The SIM card shares the amount of traffic in the package provided by the operator, and then distributes the multiple SIM cards to the enterprise employees, so that each enterprise employee can share the amount of traffic in the package using the multiple SIM cards, and the actual traffic consumption Larger users can use the in-package traffic of users with more traffic balances in the package.
再例如,以所述多个用户标识为物联网卡为例,该方法可以应用于物联网中的多个物联网卡共享运营商提供的套餐内流量数量的场景中。For example, taking the multiple user identifiers as an Internet of Things card as an example, the method can be applied to a scenario in which a plurality of Internet of Things cards in the Internet of Things share the amount of traffic in the package provided by the operator.
其中,物联网是指物物相连的物联网,实际应用中,该物联网可以为集中在交通、物流、医疗、电力等领域的物联网。实际应用中,集中在交通或物流等领域的物联网也可称为车联网。车联网是指利用先进传感器技术、网络技术、计算技术、控制技术、智能技术,对道路和交通进行全面感知,实现多个系统间大范围、大容量数据交互,对每一辆汽车进行交通全程控制,对每一条道路进行交通全时空控制,以提供交通效率和交通安全为主的网络与应用,能够为驾驶员的安全驾驶和辅助驾驶提供技术支持。Among them, the Internet of Things refers to the Internet of Things connected by objects. In practical applications, the Internet of Things can be an Internet of Things centered on transportation, logistics, medical care, and electric power. In practical applications, the Internet of Things, which is concentrated in the fields of transportation or logistics, can also be called the Internet of Vehicles. Vehicle networking refers to the use of advanced sensor technology, network technology, computing technology, control technology, and intelligent technology to comprehensively perceive roads and traffic, realize large-scale and large-capacity data interaction between multiple systems, and conduct traffic for each vehicle. Control, full-time control of traffic on each road, to provide traffic efficiency and traffic safety-based networks and applications, to provide technical support for the driver's safe driving and assisted driving.
需要说明的是,大部分物联网的直接服务商并不是运营商,而是专门的物联网服务商,而且物联网服务商需要借助运营商的通信服务,来为物联网设备提供服务。实际应用中,物联网服务商需要从运营商获取物联网卡,并采用特定的流量套餐统一向运营商订购流量,然 后将订购的流量提供给这些物联网卡使用,之后采用先使用后付款的方式,根据物联网卡实际使用的流量和预先订购的流量套餐与运营商进行结算。It should be noted that most IoT direct service providers are not operators, but specialized IoT service providers, and IoT service providers need to use the carrier's communication services to provide services for IoT devices. In practical applications, the IoT service provider needs to obtain the IoT card from the operator, and use the specific traffic package to uniformly order the traffic to the operator, and then provide the ordered traffic to these IoT cards, and then use the payment after the first use. The method is to settle with the operator according to the actual traffic used by the IoT card and the pre-ordered traffic package.
进一步地,所述多个物联网卡可以为与物联网管理的任一流量池绑定且激活的物联网卡,从而通过绑定的流量池共享运营商赠送的业务流量。Further, the plurality of Internet of Things cards may be an IoT card that is bound to and activated by any traffic pool managed by the Internet of Things, so that the traffic flow given by the operator is shared by the bound traffic pool.
实际应用中,物联网通常可以管理一个或多个流量池,并可以通过流量池与运营商进行运营和结算。其中,每个流量池与至少一个物联网卡绑定,流量池是指能够将绑定的至少一个物联网卡的套餐流量进行汇总,然后供绑定的物联网卡共享使用的虚拟空间。而且,对于其中的任一流量池即目标流量池来说,与该目标流量池绑定的至少一个物联网卡的流量套餐可以相同,也可以不同。In practical applications, the Internet of Things can usually manage one or more traffic pools and can operate and settle with carriers through the traffic pool. Each traffic pool is bound to at least one IoT card. The traffic pool refers to a virtual space that can aggregate the package traffic of at least one IoT card that is bound, and then share the used IoT card. Moreover, for any of the traffic pools, that is, the target traffic pool, the traffic packages of at least one IoT card bound to the target traffic pool may be the same or different.
实际使用时,物联网可以将与目标流量池绑定且已激活的物联网卡的套餐流量都加入到该目标流量池中,每个激活的物联网卡则可以根据实际需要使用该目标流量池的套餐流量,当使用时间到达运营商的结算时间时,就可以根据目标流量池在计费周期内的实际流量消耗总值,按照预先订购的流量套餐与运营商进行结算。其中,结算包括两部分:未超出该目标流量池的总的套餐内流量数量的部分按照套餐内流量单价进行结算,超出所述总的套餐内流量数量的部分按照套餐外流量单价进行结算。In actual use, the Internet of Things can add the package traffic of the activated IoT card to the target traffic pool, and each activated IoT card can use the target traffic pool according to actual needs. The package traffic, when the usage time reaches the operator's settlement time, can be settled with the operator according to the pre-ordered traffic package according to the total traffic consumption of the target traffic pool in the billing cycle. The settlement includes two parts: the part of the total amount of the in-package flow that does not exceed the target traffic pool is settled according to the unit price of the flow within the package, and the part of the total amount of the flow within the total package is settled according to the unit price of the package.
本申请实施例中,为了保证计费周期内这多个用户标识的流量套餐能够较大程度地满足这多个用户标识的实际消费流量情况,以最大程度地节省这多张用户标识在计费周期内的结算资费,提出了一种能够在计费周期内的任意时刻,根据计费周期内当前时间点之前这多个用户标识中每个用户标识的流量消费记录,预测这多个用户标识在计费周期内的消费流量的总和,得到预测总消费流量,然后根据这多个用户标识在计费周期内的预测总消费流量和每个用户标识对应的流量套餐,向运营商的计费系统发送流量套餐调整指示信息,以指示为所述多个用户标识中至少一个用户标识调整流量套餐的方法。In the embodiment of the present application, in order to ensure that the traffic packages of the multiple user identifiers in the charging period can satisfy the actual consumption traffic of the multiple user identifiers to a large extent, the multiple user identifiers are saved in the maximum amount. During the period of settlement of the tariff, a traffic consumption record of each of the plurality of user identifiers before the current time point in the charging period is predicted at any time within the charging period, and the plurality of user identifiers are predicted. The sum of the consumption flows in the billing period, the predicted total consumption traffic is obtained, and then the billing to the operator is based on the predicted total consumption traffic of the plurality of user identifiers in the billing period and the traffic plan corresponding to each user identifier. The system sends the traffic plan adjustment indication information to indicate a method for adjusting the traffic plan for at least one of the multiple user identifiers.
接下来对本申请实施例涉及的流量套餐调整系统的系统架构进行介绍。Next, the system architecture of the traffic package adjustment system according to the embodiment of the present application is introduced.
图1是本申请实施例提供的一种流量套餐调整系统的系统架构图,如图1所示,该系统包括运营商10、多个用户标识20、多个用户设备30和流量套餐调整装置40。1 is a system architecture diagram of a traffic package adjustment system according to an embodiment of the present application. As shown in FIG. 1 , the system includes an operator 10, multiple user identifiers 20, multiple user devices 30, and a traffic plan adjustment device 40. .
其中,运营商10用于根据每个用户标识20的流量套餐为每个用户标识20提供流量,具体可以为任一电信运营商。而且,运营商10包括计费系统,所述计费系统可以为用户标识20提供流量计费服务和流量套餐管理服务等。The operator 10 is configured to provide traffic for each user identifier 20 according to the traffic plan of each user identifier 20, which may be any telecom carrier. Moreover, the operator 10 includes a billing system that can provide a billing fee service and a traffic plan management service for the user ID 20.
其中,所述多个用户设备30与所述多个用户标识20一一对应,用于根据对应的用户标识20进行流量业务,且在进行流量业务的过程中会消耗对应的用户标识20的流量。需要说明的是,图1仅是以一个用户设备30对应一个用户标识20为例进行说明,而实际应用中,一个用户设备30还可以对应多个用户标识20,比如一个用户设备30可以安装多个网卡,本申请实施例对此不做限定。The plurality of user equipments 30 are in one-to-one correspondence with the plurality of user identifiers 20, and are configured to perform traffic services according to the corresponding user identifiers 20, and consume corresponding traffic of the user identifiers 20 in the process of performing traffic services. . It should be noted that FIG. 1 is only an example in which one user equipment 30 corresponds to one user identifier 20, and in actual application, one user equipment 30 may also correspond to multiple user identifiers 20, for example, one user equipment 30 may be installed. The network card is not limited in this embodiment.
其中,流量套餐调整装置40用于根据所述多个用户标识20的流量套餐和流量消费记录,判断所述多个用户标识20的流量套餐是否需要调整,当确定需要调整时,可以向运营商10的计费系统发送流量套餐调整指示信息,以指示所述计费系统为该多个用户标识20中至少一个用户标识20调整流量套餐。其中,该流量套餐调整指示信息包括流量套餐调整装置40确定的所述多个用户标识中待调整的至少一个用户标识和相应的新流量套餐。具体地,流量套餐调整装置40可以通过与运营商10之间的接口,向运营商10的计费系统发送流量套餐 调整指示信息。实际应用中,该流量套餐调整装置40可以为所述多个用户标识20的管理平台,如物联网管理平台。The traffic package adjustment device 40 is configured to determine, according to the traffic package and the traffic consumption record of the multiple user identifiers 20, whether the traffic package of the multiple user identifiers 20 needs to be adjusted, and when it is determined that adjustment is needed, the traffic planner may be notified to the operator. The charging system of 10 sends the traffic plan adjustment indication information to instruct the charging system to adjust the traffic package for at least one of the plurality of user identifiers 20. The traffic plan adjustment indication information includes at least one user identifier to be adjusted and a corresponding new traffic package among the plurality of user identifiers determined by the traffic package adjustment device 40. Specifically, the traffic plan adjustment device 40 can transmit the traffic plan adjustment indication information to the charging system of the operator 10 through the interface with the operator 10. In an actual application, the traffic plan adjusting device 40 may be a management platform of the plurality of user identifiers 20, such as an Internet of Things management platform.
其中,这多个用户标识20可以共享运营商提供的套餐流量。实际应用中,这多个用户标识20的流量套餐可以相同,也可以不同。例如,这多个用户标识20可以预先订购有相同的流量套餐:50元每月1G流量,超出1G部分1元/M。假设这多个用户标识20的数量为1000,且这多个用户标识20在当月使用的总流量为1100G,则所述多个用户标识20在当月的结算费用为1000*50+100*1024*1=152400元。The plurality of user identifiers 20 can share the package traffic provided by the operator. In actual applications, the traffic packages of the multiple user identifiers 20 may be the same or different. For example, the plurality of user identifiers 20 can be pre-ordered with the same traffic package: 50 yuan per month for 1G traffic, exceeding 1G portion for 1 yuan/M. Assuming that the number of the plurality of user identifiers 20 is 1000, and the total traffic used by the plurality of user identifiers 20 in the current month is 1100 G, the settlement fee of the plurality of user identifiers 20 in the current month is 1000*50+100*1024* 1 = 152,400 yuan.
由上可知,实际应用中,超出套餐外的流量单价往往要比套餐内的流量单价高很多,当预先为所述多个用户标识20订购的流量套餐不符合所述多个网卡的实际流量使用情况时,将可能会造成结算资费较高,因此为了节省结算资费,也就需要对目标流量池的流量套餐进行调整。相关技术中,需要人为对所述多个用户标识20的流量套餐进行调整,调整效率和精确度较低,而且只能根据当前计费周期的结算结果对下一个计费周期的流量套餐进行调整,调整不及时,不能最大程度地节省结算资费。As can be seen from the above, in actual applications, the unit price of the traffic beyond the package is often much higher than the unit price of the traffic within the package. When the traffic package ordered in advance for the plurality of user identifiers 20 does not meet the actual traffic usage of the multiple network cards, In the case of circumstances, the settlement fee may be higher, so in order to save the settlement tariff, it is necessary to adjust the traffic package of the target traffic pool. In the related art, the traffic plan of the multiple user identifiers 20 needs to be manually adjusted, the adjustment efficiency and the accuracy are low, and the traffic plan of the next billing cycle can only be adjusted according to the settlement result of the current billing period. The adjustment is not timely and the settlement tariff cannot be saved to the maximum extent.
本申请实施例中,提出了一种可以在计费周期内的任意时刻对所述多个用户标识20在计费周期内的消费流量的总和进行预测,得到预测总消费流量,并根据预测总消费流量对所述多个用户标识20的流量套餐自动进行调整的方法,调整方式更加精确和及时。In the embodiment of the present application, a method is disclosed that predicts the total consumption traffic of the multiple user identifiers 20 in a billing period at any time within a billing period, and obtains a predicted total consumption flow, and according to the total forecast The method for automatically adjusting the traffic package of the plurality of user identifiers 20 by the consumption flow is more accurate and timely.
进一步地,该流量套餐调整系统可以应用于物联网中,接下来对本申请实施例涉及的物联网服务系统的系统架构进行介绍。Further, the traffic package adjustment system can be applied to the Internet of Things. Next, the system architecture of the Internet of Things service system involved in the embodiment of the present application is introduced.
图2是本申请实施例提供的一种物联网服务系统的系统架构图,如图2所示,该物联网服务系统包括运营商10、物联网服务商50和物联网设备60。2 is a system architecture diagram of an Internet of Things service system provided by an embodiment of the present application. As shown in FIG. 2, the Internet of Things service system includes an operator 10, an Internet of Things service provider 50, and an Internet of Things device 60.
其中,运营商10用于为物联网服务商50提供通信服务,具体可以通过物联网卡为物联网服务商50提供通信服务,且运营商10具有计费系统,能够为物联网设备60提供流量计费服务和流量套餐管理服务。物联网服务商50用于借助运营商10提供的通信服务构建物联网,进而通过物联网为物联网设备60提供服务。物联网设备60是指物联网中的用户设备,比如当该物联网为车联网时,物联网设备60可以为车联网中的车辆。The operator 10 is configured to provide communication services for the Internet of Things service provider 50, and specifically provides the communication service for the Internet of Things service provider 50 through the Internet of Things card, and the operator 10 has a charging system capable of providing traffic for the Internet of Things device 60. Billing service and traffic plan management service. The Internet of Things Provider 50 is used to construct the Internet of Things by means of communication services provided by the operator 10, thereby providing services to the Internet of Things device 60 through the Internet of Things. The Internet of Things device 60 refers to a user device in the Internet of Things. For example, when the Internet of Things is a car network, the Internet of Things device 60 can be a vehicle in a car network.
实际应用中,物联网服务商50一方面可以对嵌入式系统、传感器、通信模块等基础硬件产品进行整合,另一方面可以对系统软件、数据库软件、应用软件及设备对设备(Machine to Machine,M2M)通信等基础服务进行整合,然后结合自有的行业知识形成最终的物联网应用服务和物联网终端,并通过各种销售渠道为物联网用户提供服务。In practical applications, the Internet of Things service provider 50 can integrate basic hardware products such as embedded systems, sensors, and communication modules, and on the other hand, system software, database software, application software, and device-to-device (Machine to Machine, M2M) Integrated services such as communication are integrated, and then combined with their own industry knowledge to form the final IoT application service and IoT terminal, and provide services for IoT users through various sales channels.
具体地,物联网服务商50可以将运营商10的M2M通信服务整合入物联网应用服务,形成企业对企业对企业(Business to Business to Business,B2B2B)或企业对企业对客户(Business to Business to Customer,B2B2C)的商业模式。其中,B2B2B的商业模式是指物联网服务商50为企业客户提供面向企业的商业模式,B2B2C的商业模式是指物联网服务商50为企业提供面向终端客户的商业模式。商业模式的变化对运营商10在物联网卡管理、资源管理、产品销售、售后支撑、计费模型等方面提出了新的要求,在新的商业模式下,运营商应不仅作为通信管道,更应弱化行业间壁垒,能够提供基于传统通信能力、物联网信息的水平、开放、共享式的服务,且在底层网络具备支撑能力的条件下,为客户提供形式多样的管控预警能力、自服务能力,在业务计费方面也支持更多种类的计费方式,比如在物联网中,与物联网服务商20之间通过流量池进行运营和结算的方式。Specifically, the Internet of Things service provider 50 can integrate the M2M communication service of the operator 10 into the Internet of Things application service to form a Business to Business to Business (B2B2B) or a Business to Business to Business (Business to Business to Customer, B2B2C) business model. Among them, the business model of B2B2B means that the Internet of Things service provider 50 provides business-oriented business models for enterprise customers. The business model of B2B2C refers to the business model of the Internet of Things service providers 50 providing enterprises with end-users. The change of business model puts forward new requirements for operators 10 in IoT card management, resource management, product sales, after-sales support, and billing model. Under the new business model, operators should not only serve as communication channels, but also We should weaken barriers between industries, provide services based on traditional communication capabilities, IoT information, open and shared services, and provide customers with various forms of control and early warning capabilities and self-service capabilities under the conditions of supporting capabilities of the underlying network. In terms of service billing, it also supports a wider variety of billing methods, such as the way in which the Internet of Things and the Internet of Things service provider 20 operate and settle through the traffic pool.
进一步地,物联网服务商50可以管理一个或多个流量池,并可以通过流量池的方式与运 营商10进行运营和结算。例如,相关技术中,参见3,物联网服务商50与运营商10之间的运营方式可以如下述步骤101-103所示:Further, the Internet of Things Provider 50 can manage one or more traffic pools and can operate and settle with the operator 10 through a traffic pool. For example, in the related art, see 3, the operation mode between the Internet of Things service provider 50 and the operator 10 can be as shown in the following steps 101-103:
步骤101:物联网服务商50从运营商10获取一批物联网卡后,将这批物联网卡与目标流量池进行绑定,并将这批物联网卡插入到物联网设备60,以供物联网设备60使用。其中,与目标流量池绑定的这批物联网卡的流量套餐可以相同,也可以不同。例如,这批物联网卡可以具有相同的流量套餐:50元每月1G流量,超出1G部分1元/M。Step 101: After the Internet of Things service provider 50 obtains a batch of the Internet of Things card from the operator 10, the batch of the Internet of Things card is bound to the target traffic pool, and the batch of the Internet of Things card is inserted into the Internet of Things device 60 to provide The networked device 60 is used. The traffic packages of the batch of IoT cards that are bound to the target traffic pool may be the same or different. For example, the batch of IoT cards can have the same traffic package: 50 yuan per month for 1G traffic, exceeding 1G for 1G/M.
步骤102:物联网服务商50与运营商10一般通过流量池的方式进行运营和结算,也即是,物联网服务商50可以将这批物联网卡中的每张物联网卡的套餐流量都加入到目标流量池中,以供这批物联网卡所在的物联网设备60共同使用,且超出目标流量池的套餐流量的部分将按照套餐外流量单价结算。Step 102: The Internet of Things service provider 50 and the operator 10 generally operate and settle through the traffic pool. That is, the Internet of Things service provider 50 can set the package traffic of each IoT card in the batch of Internet of Things cards. It is added to the target traffic pool for use by the IoT device 60 where the batch of IoT cards are located, and the portion of the package traffic that exceeds the target traffic pool will be settled according to the unit price of the off-package traffic.
例如,假设有1000张物联网卡,并将这1000张物联网卡对应插入到1000张物联网设备60中使用,则物联网服务商50可以将这1000张物联网卡的套餐流量都加入到目标流量池中,以供这1000个物联网设备60共同使用。假设每张物联网卡的流量套餐均为50元每月1G流量,超出1G部分1元/M,则该目标流量池每月的套餐流量总值为1000*1G=1000G,这1000G可以供这1000个物联网设备60共同使用,且使用超出1000G的部分将按照1元/M收取。For example, if there are 1000 IoT cards and the 1000 IoT cards are correspondingly inserted into 1000 IoT devices 60, the IoT service provider 50 can add the package traffic of the 1000 IoT cards to In the target traffic pool, the 1000 IoT devices 60 are used together. Assume that each IoT card's traffic package is 50 yuan per month for 1G traffic, which exceeds 1G for 1 yuan/M. The target traffic pool's monthly package traffic total is 1000*1G=1000G, which can be used for 1000G. 1000 IoT devices 60 are used together, and portions that use more than 1000G will be charged at 1 yuan/M.
步骤103:物联网服务商50与运营商10之间采用先使用后付款的方式结算,且在每个计费周期的结算时间结算该计费周期内的所有费用。例如,基于上述举例,假设这1000个物联网设备60在当月使用的总流量为1100G,则当月的结算费用为1000*50+100*1024*1=152400元。Step 103: The Internet of Things service provider 50 and the operator 10 use the method of first use post-payment to settle, and all charges in the billing period are settled at the settlement time of each billing period. For example, based on the above example, assuming that the total traffic used by the 1000 Internet of Things devices 60 in the current month is 1100G, the settlement fee for the current month is 1000*50+100*1024*1=152400 yuan.
进一步地,物联网服务商50可以向物联网用户提供物联网应用,并通过物联网应用对物联网卡和物联网设备进行运营和管理。例如,本申请实施例中,可以通过物联网应用对管理的任一流量池的消费流量进行预测,并根据预测结果向运营商10的计费系统发送流量套餐调整指示信息,以指示所述计费系统为与该流量池绑定的物联网卡调整流量套餐。Further, the Internet of Things Provider 50 can provide IoT users with IoT applications and operate and manage IoT cards and IoT devices through IoT applications. For example, in the embodiment of the present application, the consumption flow of any managed traffic pool may be predicted by the Internet of Things application, and the traffic plan adjustment indication information is sent to the charging system of the operator 10 according to the prediction result, to indicate the The fee system adjusts the traffic plan for the IoT card that is bound to the traffic pool.
例如,以物联网服务商50通过物联网应用为企业客户提供服务为例,企业客户还可以通过该物联网应用,对物联网卡或物联网设备进行管理、为物联网卡或流量池选择流量套餐、对物联网设备进行诊断以及查看账单和报表等,当然也可以为企业客户提供其他服务,本申请实施例对此不做限定。For example, in the case where the Internet of Things service provider 50 provides services to enterprise customers through the Internet of Things application, the enterprise customer can also manage the Internet of Things card or the Internet of Things device, select the traffic for the Internet of Things card or the traffic pool through the Internet of Things application. The package, the diagnosis of the Internet of Things device, and the viewing of bills and reports, and of course, can also provide other services for the enterprise customers, which is not limited in the embodiment of the present application.
图4是本申请实施例提供的一种物联网应用的逻辑结构示意图,如图4所示,该物联网应用包括应用(Usage)模块411、网卡管理模块412和流量池(Volume Pool)统计分析模块413。4 is a schematic diagram of a logical structure of an Internet of Things application provided by an embodiment of the present application. As shown in FIG. 4, the Internet of Things application includes an application (Usage) module 411, a network card management module 412, and a traffic pool (Volume Pool) statistical analysis. Module 413.
应用(Usage)模块411负责物联网卡的流量计费和控制,可以从运营商10获取物联网卡的流量消费记录,例如通过安装的运营商接入集成从运营商10获取物联网卡的流量消费记录,该运营商接入集成是该物联网应用与运营商10之间的接口。本申请实施例中,应用模块411还可以将物联网卡的流量消费记录发送给流量池统计分析模块413。实际应用中,应用模块411可以通过Kafka消息,将物联网卡的流量消费记录发送给流量池统计分析模块413,当然也可以通过其他方式发送,本申请实施例对此不做限定。其中,Kafka是一种高吞吐量的分布式发布订阅消息系统,可以处理消费者规模的网站中的所有动作流数据。物联网卡的流量消费记录可以为物联网卡的话单文件。The Usage module 411 is responsible for the flow rate and control of the IoT card, and the traffic consumption record of the IoT card can be obtained from the operator 10, for example, the traffic of the IoT card is obtained from the operator 10 through the installed operator access integration. The consumer record integration, the operator access integration is the interface between the IoT application and the operator 10. In the embodiment of the present application, the application module 411 can also send the traffic consumption record of the Internet of Things card to the traffic pool statistical analysis module 413. In an actual application, the application module 411 can send the traffic consumption record of the IoT card to the traffic pool statistics analysis module 413 through the Kafka message, and can also be sent by other means. Among them, Kafka is a high-throughput distributed publish and subscribe message system that can process all action flow data in a consumer-scale website. The traffic consumption record of the IoT card can be the CDR file of the IoT card.
网卡管理模块412负责对该物联网应用包括的流量池以及与各个流量池绑定的物联网卡进行管理,具体可以获取和存储各个流量池信息、与各个流量池绑定的物联网卡信息、各个流量池的流量套餐、与各个流量池绑定的物联网卡的状态变更信息等信息。本申请实施例中, 网卡管理模块412还可以将各个流量池信息、与各个流量池绑定的物联网卡信息、各个流量池的流量套餐、与各个流量池绑定的物联网卡的状态变更信息等发送给流量池统计分析模块413。实际应用中,网卡管理模块412可以通过kafka消息,将上述信息发送给流量池统计分析模块413。The network card management module 412 is responsible for managing the traffic pool included in the Internet of Things application and the IoT card bound to each traffic pool, and specifically acquiring and storing the information of each traffic pool, the IoT card information bound to each traffic pool, Information such as the traffic plan of each traffic pool and the status change information of the IoT card bound to each traffic pool. In the embodiment of the present application, the network card management module 412 may also change the status of each traffic pool information, the Internet of Things card information bound to each traffic pool, the traffic package of each traffic pool, and the IoT card bound to each traffic pool. The information and the like are sent to the traffic pool statistical analysis module 413. In an actual application, the network card management module 412 can send the foregoing information to the traffic pool statistics analysis module 413 by using a kafka message.
具体地,参见图4,该网卡管理模块412可以包括流量池导入单元和流量池管理单元,流量池导入单元用于确定物联网服务商获取的物联网卡,流量池管理单元用于确定该物联网应用包括的流量池以及与各个流量池绑定的物联网卡,并可以对各个流量池以及与各个流量池绑定的物联网卡进行管理。Specifically, referring to FIG. 4, the network card management module 412 may include a traffic pool import unit and a traffic pool management unit, where the traffic pool import unit is configured to determine an Internet of Things card acquired by the Internet of Things service provider, and the traffic pool management unit is configured to determine the object. Networked applications include traffic pools and IoT cards that are bound to individual traffic pools, and can manage individual traffic pools and IoT cards that are bound to individual traffic pools.
流量池统计分析模块413用于根据从应用(Usage)模块411和网卡管理模块412获取的信息,确定目标流量池在计费周期内当前时间点之前激活的多个物联网卡,并统计所述多个物联网卡在当前周期内当前时间点之前的流量消费记录,然后根据统计结果预测所述多个物联网卡在计费周期内的消费流量的总和,得到预测总消费流量,以及累加所述多个物联网卡中每个物联网卡对应的流量套餐中的套餐内流量数量,得到总套餐流量,以便根据所述多个物联网卡在计费周期内的预测总消费流量和总套餐流量,确定所述多个物联网卡的流量套餐是否需要调整。The traffic pool statistics analysis module 413 is configured to determine, according to information acquired from the application module 411 and the network card management module 412, a plurality of Internet of Things cards activated by the target traffic pool before the current time point in the charging period, and the statistics are performed. The traffic consumption record of the plurality of IoT cards before the current time point in the current period, and then predicting the sum of the consumption flows of the plurality of IoT cards in the billing period according to the statistical result, obtaining the predicted total consumption flow, and accumulating the total The amount of traffic in the package in the traffic package corresponding to each IoT card of the plurality of Internet of Things cards, and the total package traffic is obtained, so as to predict the total consumption traffic and the total package according to the plurality of IoT cards in the charging cycle. The traffic is determined whether the traffic package of the plurality of Internet of Things cards needs to be adjusted.
具体地,流量池统计分析模块413可以包括数据同步单元、卡激活数统计单元、赠送流量累计单元、消费流量累计单元、流量预测单元和自动调整单元。其中,数据同步单元用于从应用模块411或网卡管理模块412同步数据,即接收应用模块411或网卡管理模块412发送的数据。卡激活数统计单元用于根据网卡管理模块412发送的与目标流量池绑定的物联网卡的状态变更信息,对与目标流量池绑定的物联网卡的激活数量进行统计。消费流量累计单元用于根据应用模块411发送的物联网卡的流量消费记录,对目标流量池消费的流量进行累计。流量预测单元用于根据目标流量池的在计费周期内当前时间点之前的实际消费流量,预测目标流量池在计费周期内的消费流量的总和,得到预测总消费流量。赠送流量累计单元用于根据网卡管理模块412发送的目标流量池的流量套餐,对目标流量池的套餐流量进行累计。自动调整单元用于根据流量预测单元预测的流量和赠送流量累计单元累计的流量,确定与目标流量池绑定的物联网卡的流量套餐是否需要调整,当确定需要调整时,向运营商10的计费系统发送流量套餐调整指示信息,以指示计费系统为与目标流量池绑定的至少一个物联网卡调整流量套餐。例如,可以通过运营商接入集成,向运营商10的计费系统发送流量套餐调整指示信息。Specifically, the traffic pool statistics analysis module 413 may include a data synchronization unit, a card activation number statistics unit, a gift flow accumulation unit, a consumption flow accumulation unit, a traffic prediction unit, and an automatic adjustment unit. The data synchronization unit is configured to synchronize data from the application module 411 or the network card management module 412, that is, receive data sent by the application module 411 or the network card management module 412. The card activation number statistics unit is configured to perform statistics on the activation number of the IoT card bound to the target traffic pool according to the state change information of the IoT card bound to the target traffic pool sent by the network card management module 412. The consumption flow accumulating unit is configured to accumulate the traffic consumed by the target traffic pool according to the traffic consumption record of the IoT card sent by the application module 411. The traffic prediction unit is configured to predict the total consumption traffic of the target traffic pool in the charging period according to the actual consumption traffic of the target traffic pool before the current time point in the charging period, and obtain the predicted total consumption traffic. The gift flow accumulation unit is configured to accumulate the package traffic of the target traffic pool according to the traffic package of the target traffic pool sent by the network card management module 412. The automatic adjustment unit is configured to determine whether the traffic package of the Internet of Things card bound to the target traffic pool needs to be adjusted according to the traffic predicted by the traffic prediction unit and the traffic accumulated by the bonus traffic accumulation unit, and when it is determined that adjustment is needed, to the operator 10 The charging system sends the traffic plan adjustment indication information to instruct the charging system to adjust the traffic package for the at least one Internet of Things card bound to the target traffic pool. For example, the traffic plan adjustment indication information may be sent to the charging system of the operator 10 through the operator access integration.
进一步地,参见图4,该物联网应用还可以包括应用入口(APP Gateway)414,外部浏览器还可以通过该应用入口414,从流量池统计分析模块413查询流量池统计信息,比如查询以计费周期内的每个时间区间为单位统计的目标流量池消费的流量或流量套餐提供的流量,或者以计费周期为单位统计的目标流量池消费的流量或流量套餐提供的流量等。Further, referring to FIG. 4, the Internet of Things application may further include an application gateway (APP Gateway) 414. The external browser may also query the traffic pool statistics analysis module 413 through the application portal 414 to query traffic pool statistics, such as a query. Each time interval in the fee period is the traffic provided by the target traffic pool consumed by the target traffic pool or the traffic provided by the traffic plan, or the traffic consumed by the target traffic pool or the traffic provided by the traffic plan.
进一步地,参见图4,该物联网应用还可以包括面向用户的订购(Product Cataloge,PC)模块、批价(Rating)模块、账务和支付(Billing&Payment)模块、用户管理(SUM)模块和管理前台(Portal)等。其中,订购模块用于订购流量套餐,批价模块用于向运营商批发流量。Further, referring to FIG. 4, the Internet of Things application may further include a Product Cataloge (PC) module, a Rating module, a Billing & Payment module, a User Management (SUM) module, and management. Front desk (Portal) and so on. The ordering module is used to order the traffic package, and the rating module is used to wholesale traffic to the operator.
需要说明的是,图4仅是以物联网应用包括上述模块为例进行说明,而实际应用中,物联网应用还可以包括更多或更少的模块,或者对图4的模块进行替换,本申请实施例对此不做限定。It should be noted that FIG. 4 is only an example in which the Internet of Things application includes the above module, and in practical applications, the Internet of Things application may further include more or less modules, or replace the module of FIG. 4, The application embodiment does not limit this.
还需要说明的是,本申请实施例仅是以流量池统计分析模块413从应用模块411获取物联网卡的流量消费记录为例进行说明,在另一实施例中,流量池统计分析模块413还可以直接从运营商获取物联网卡的流量消费记录,比如直接通过运营商接入集成,从运营商获取物联网卡的流量消费记录,本申请实施例对此不做限定。It should be noted that, in the embodiment of the present application, only the traffic consumption record of the IoT card is obtained from the application module 411 by using the traffic pool statistics analysis module 413 as an example. In another embodiment, the traffic pool statistics analysis module 413 further The traffic consumption record of the IoT card can be obtained directly from the operator, for example, the traffic consumption record of the IoT card is obtained from the operator directly through the operator access integration, which is not limited by the embodiment of the present application.
图5是本申请实施例提供的一种为流量套餐调整装置的结构示意图,该流量套餐调整装置用于实现本申请实施例提供的为多个用户标识调整流量套餐的方法。具体地,该流量套餐调整装置可以为上述图1中的流量套餐调整装置40,或者为物联网中的设备,比如为物联网应用的后台服务器等。参见图5,该流量套餐调整装置包括至少一个处理器501,通信总线502,存储器503以及至少一个通信接口504。FIG. 5 is a schematic structural diagram of a traffic packet adjustment apparatus according to an embodiment of the present application. The traffic package adjustment apparatus is used to implement a method for adjusting a traffic package for multiple user identifiers provided by an embodiment of the present application. Specifically, the traffic package adjustment device may be the traffic package adjustment device 40 in FIG. 1 or a device in the Internet of Things, such as a background server for an Internet of Things application. Referring to FIG. 5, the traffic plan adjustment device includes at least one processor 501, a communication bus 502, a memory 503, and at least one communication interface 504.
处理器501可以是一个通用中央处理器(Central Processing Unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请实施例方案程序执行的集成电路。The processor 501 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more program programs for controlling the embodiments of the present application. Execution of the integrated circuit.
通信总线502可包括一通路,在上述组件之间传送信息。 Communication bus 502 can include a path for communicating information between the components described above.
存储器503可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其它类型的静态存储设备,随机存取存储器(random access memory,RAM))或者可存储信息和指令的其它类型的动态存储设备,也可以是电可擦可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)或其它光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其它磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其它介质,但不限于此。存储器503可以是独立存在,通过通信总线502与处理器501相连接。存储器503也可以和处理器501集成在一起。The memory 503 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM), or other information that can store information and instructions. Type of dynamic storage device, or Electro Scientific Erasable Programmable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical disc storage, optical disc Storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being Any other medium accessed by the computer, but is not limited thereto. Memory 503 may be present independently and coupled to processor 501 via communication bus 502. The memory 503 can also be integrated with the processor 501.
通信接口504,使用任何收发器一类的装置,用于与其它设备或通信网络通信,如以太网,无线接入网(RAN),无线局域网(Wireless Local Area Networks,WLAN)等。 Communication interface 504, using any type of transceiver, for communicating with other devices or communication networks, such as Ethernet, Radio Access Network (RAN), Wireless Local Area Networks (WLAN), and the like.
在具体实现中,作为一种实施例,处理器501可以包括一个或多个CPU,例如图2中所示的CPU0和CPU1。In a particular implementation, as an embodiment, processor 501 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG.
在具体实现中,作为一种实施例,流量套餐调整装置可以包括多个处理器,例如图2中所示的处理器501和处理器505。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the traffic plan adjustment device may include a plurality of processors, such as the processor 501 and the processor 505 shown in FIG. 2. Each of these processors can be a single-CPU processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
在具体实现中,作为一种实施例,流量套餐调整装置还可以包括输出设备506和输入设备507。输出设备506和处理器501通信,可以以多种方式来显示信息。例如,输出设备506可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备507和处理器501通信,可以以多种方式接收用户的输入。例如,输入设备507可以是鼠标、键盘、触摸屏设备或传感设备等。In a specific implementation, as an embodiment, the traffic plan adjusting device may further include an output device 506 and an input device 507. Output device 506 is in communication with processor 501 and can display information in a variety of ways. For example, the output device 506 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait. Input device 507 is in communication with processor 501 and can receive user input in a variety of ways. For example, input device 507 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
上述的流量套餐调整装置可以是一个通用流量套餐调整装置或者是一个专用流量套餐调整装置。在具体实现中,流量套餐调整装置可以是台式机、便携式电脑、网络计算机、掌上电脑(Personal Digital Assistant,PDA)、移动手机、平板电脑、无线终端设备、通信设备 或者嵌入式设备等。本申请实施例不限定流量套餐调整装置的类型。The above-mentioned traffic package adjustment device may be a general-purpose traffic package adjustment device or a dedicated traffic package adjustment device. In a specific implementation, the data package adjustment device may be a desktop computer, a portable computer, a network computer, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, a communication device, or an embedded device. The embodiment of the present application does not limit the type of the traffic package adjustment device.
其中,存储器503用于存储执行本申请实施例方案的程序代码,并由处理器501来控制执行。处理器501用于执行存储器503中存储的程序代码508。程序代码508中可以包括一个或多个软件模块。该流量套餐调整装置可以通过处理器501以及存储器503中的程序代码508中的一个或多个软件模块,来实现本申请实施例所述的为多个用户标识调整流量套餐。The memory 503 is configured to store program code for executing the solution of the embodiment of the present application, and is controlled by the processor 501 for execution. The processor 501 is configured to execute the program code 508 stored in the memory 503. One or more software modules may be included in program code 508. The traffic plan adjustment device can implement the traffic plan adjustment for multiple user identifiers in the embodiment of the present application by using one or more software modules in the processor 501 and the program code 508 in the memory 503.
接下来对本申请实施例提供的为多个用户标识调整流量套餐的方法进行详细说明。The method for adjusting the traffic package for multiple user identifiers provided in the embodiment of the present application is described in detail below.
图6是本申请实施例提供的一种为多个用户标识调整流量套餐的方法流程图,其中,所述多个用户标识共享运营商提供的套餐内流量数量。参见图6,该方法包括:FIG. 6 is a flowchart of a method for adjusting a traffic package for multiple user identifiers according to an embodiment of the present application, where the multiple user identifiers share the amount of traffic in the package provided by the operator. Referring to Figure 6, the method includes:
步骤601:获取计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量套餐和流量消费记录。Step 601: Acquire a traffic package and a traffic consumption record corresponding to each user identifier of the multiple user identifiers before the current time point of the charging period.
其中,用户标识用于运营商识别用户的身份,以便运营商能够根据该用户标识为设备提供移动通信接入业务。实际应用中,该用户标识可以为SIM卡、UIM卡或物联网卡等网卡的标识,也可以为用户设备的标识或用户账号等。The user identifier is used by the operator to identify the identity of the user, so that the operator can provide the mobile communication access service for the device according to the user identifier. In an actual application, the user identifier may be an identifier of a network card such as a SIM card, a UIM card, or an Internet of Things card, or may be an identifier of a user equipment or a user account.
其中,每个用户标识的当前流量套餐是指预先为该用户标识订购的流量套餐,且每个用户标识的流量套餐可以包括该用户标识在每个计费周期内所包含的套餐内流量数量、套餐内流量单价以及套餐外流量单价等,套餐内流量数量是指运营商根据该流量套餐在计费周期内能够为该用户标识提供的总流量数量。实际应用中,该套餐内流量数量可以仅包含该用户标识通过该流量套餐向运营商购买的流量数量,或者,还可以既包含该用户标识通过该流量套餐向运营商购买的流量数量,也包含运营商根据该流量套餐向该用户标识额外赠送的流量数量。The current traffic package of each user identifier refers to a traffic package subscribed in advance for the user identifier, and the traffic package of each user identifier may include the amount of traffic in the package included in the user identifier in each billing period. The unit price of the meter in the package and the unit price of the unit outside the package. The quantity of the line in the package refers to the total amount of traffic that the operator can provide for the user ID during the billing period based on the data package. In an actual application, the amount of traffic in the package may only include the amount of traffic that the user identifier purchases from the service provider through the data package, or may include the amount of traffic that the user identifier purchases from the service provider through the data package, and also includes The operator identifies the amount of additional traffic to the user based on the traffic plan.
本申请实施例中,所述多个用户标识能够共享运营商提供的套餐流量,共享运营商提供的套餐流量是指可以将运营商分别为所述多个用户标识中的每个用户标识提供的套餐流量汇总到一起,以供所述多个用户标识共享使用,且每个用户标识可以根据实际需要使用所述多个用户标识的套餐流量,比如流量消耗较大的用户标识可以使用套餐内流量余额较多的用户标识的套餐内流量。In the embodiment of the present application, the multiple user identifiers can share the package traffic provided by the operator, and the package traffic provided by the shared operator refers to that the operator can provide each user identifier of the multiple user identifiers separately. The package traffic is aggregated together for the shared use of the multiple user identifiers, and each user identifier can use the package traffic of the multiple user identifiers according to actual needs, for example, the user identifier with a large traffic consumption can use the traffic within the package. The in-package traffic of the user ID with a large balance.
其中,计费周期是指运营商的账单结算周期,且每个计费周期由多个时间区间组成。例如,若计费周期为自然月,则每个月由多个自然日组成。计费周期是指当前时间点所处的计费周期。例如,假设每个月的月末为运营商的账单结算时间,如果当前时间点为11月20日凌晨1点,则当前时间点所处的计费周期即为11月的计费周期。The billing period refers to an operator's billing period, and each billing period consists of multiple time intervals. For example, if the billing period is a natural month, each month consists of multiple natural days. The billing period refers to the billing period at which the current time point is located. For example, suppose the end of each month is the billing time of the operator. If the current time point is 1 am on November 20, the billing period at the current time point is the billing period in November.
需要说明的是,当前时间点为需要对所述多个用户标识的流量套餐进行调整的时间,本申请实施例中,可以在计费周期内实时对所述多个用户标识的流量套餐进行调整,也可以预先设置调整时间,当当前时间点到达预先设置的调整时间时,执行步骤301。其中,调整时间可以为一个计费周期内的任一时间,具体可以根据实际需要进行设置,而且,在一个计费周期内,可以设置一个调整时间,也可以设置多个调整时间,本申请实施例对此不做限定。例如,以计费周期为自然月,时间区间为自然日,计费周期的账单结算时间为月末为例,可以将调整时间设置为月初、月中或者月末的前一天等,当然也可以设置为其他时间,本申请实施例对此不做限定。It should be noted that the current time point is a time when the data package of the multiple user identifiers needs to be adjusted. In this embodiment, the data package of the multiple user identifiers may be adjusted in real time during the charging period. The adjustment time may also be set in advance. When the current time point reaches the preset adjustment time, step 301 is performed. The adjustment time may be any time in a billing period, and may be set according to actual needs. Moreover, in one billing period, one adjustment time may be set, or multiple adjustment times may be set. This example does not limit this. For example, the billing period is a natural month, the time interval is a natural day, and the billing period of the billing period is the end of the month. For example, the adjustment time can be set to the beginning of the month, the middle of the month, or the day before the end of the month, and of course, it can also be set to Other times, the embodiment of the present application does not limit this.
其中,每个用户标识的流量消费记录可以记录每个用户标识的流量消费情况,实际应用中,每个用户标识的流量消费记录可以为每个用户标识的话单文件。具体地,目标用户标识 的话单文件的内容可以包括目标用户标识、业务流量使用开始时间(Start Time)、业务流量使用结束时间(End Time)和数据流量(DataVolume)。其中,目标用户标识为所述多个用户标识中的任一用户标识,以目标用户标识为目标网卡的用户标识为例,目标网卡标识可以为目标网卡的名称或目标网卡的身份识别号(Identity,ID)等。实际应用中,网卡还可以被称为集成电路卡(Integrate Circuit Card Identity,ICC),因此网卡的ID的英文简称可以为ICCID。数据流量是指该目标用户标识在业务流量使用开始时间和业务流量使用结束时间的时间范围内消费的总流量。进一步地,目标用户标识的话单文件还可以包括运营商标识、会话标识和目标用户标识在计费周期内的累计消费流量(Total Volume)。其中,运营商标识可以为运营商的名称或运营商的ID(Carrier ID),会话标识可以为会话名称或会话ID(Session ID)。The traffic consumption record of each user identifier may record the traffic consumption of each user identifier. In actual applications, the traffic consumption record of each user identifier may be a bill file identified by each user. Specifically, the content of the CDR file of the target user identifier may include a target user identifier, a service traffic start time (Start Time), a service traffic end time (End Time), and a data traffic (Data Volume). The target user identifier is any one of the multiple user identifiers, and the target user identifier is the user identifier of the target network card. The target network card identifier may be the name of the target network card or the identification number of the target network card (Identity). , ID) and so on. In practical applications, the network card may also be referred to as an Integrated Circuit Card Identity (ICC), so the English abbreviation of the ID of the network card may be an ICCID. The data traffic refers to the total traffic consumed by the target user identifier in the time range of the service traffic start time and the service traffic usage end time. Further, the CDR file of the target user identifier may further include an accumulated consumption flow (Total Volume) of the operator identifier, the session identifier, and the target user identifier in the billing period. The identifier of the operator may be the name of the operator or the ID of the carrier (the carrier ID), and the session identifier may be a session name or a session ID.
进一步地,当所述多个用户标识为物联网中的多个物联网卡的标识,且所述多个物联网卡所在的物联网可以通过出租的方式,让不同的物联网企业作为租户的方式来运营自己的流量业务时,目标用户标识的话单文件的内容还可以包括租户标识,租户标识是指所述多个物联网卡所属的租户的标识,具体可以为租户名称或租户ID(Tenant ID)等。进一步地,目标用户标识的话单文件的内容还可以包括业务类型,具体地,业务类型可以用接入点名称(Access Point Name,APN)或区域标识表示,当然也可以用其他方式表示,本申请实施例对此不做限定。其中,区域标识可以为区域名称(Zone_Name)或区域ID(Zone_ID)等。Further, when the plurality of users are identified as identifiers of the plurality of Internet of Things cards in the Internet of Things, and the Internet of Things where the plurality of Internet of Things cards are located may be rented, and different Internet of Things enterprises are used as tenants. The mode of the CDR file of the target user identifier may further include a tenant identifier, where the tenant identifier is the identifier of the tenant to which the plurality of Internet of Things cards belong, and may be a tenant name or a tenant ID (Tenant). ID) and so on. Further, the content of the CDR file of the target user identifier may further include a service type. Specifically, the service type may be represented by an Access Point Name (APN) or an area identifier, and may also be represented by other methods. The embodiment does not limit this. The area identifier may be a zone name (Zone_Name) or an area ID (Zone_ID).
示例的,以目标用户标识为目标物联网卡的标识为例,目标用户标识的话单文件的内For example, taking the target user ID as the target IoT card identifier as an example, the target user identifier is within the bill file.
容格式可以为:The format can be:
tenant-id|carrier-id|SessionId|ICCID|StartTime|EndTime|DataVolume|APN|TotalVolumeTenant-id|carrier-id|SessionId|ICCID|StartTime|EndTime|DataVolume|APN|TotalVolume
其中,tenant-id为租户ID,carrier-id为运营商的ID,SessionId为会话ID,ICCID为目标物联网卡的ID,StartTime为业务流量使用开始时间,EndTime为业务流量使用结束时间,DataVolume为数据流量,APN用于指示业务类型,TotalVolume为累计消费流量。Tenant-id is the tenant ID, carrier-id is the ID of the carrier, SessionId is the session ID, ICCID is the ID of the target IoT card, StartTime is the start time of the service traffic, EndTime is the end time of the service traffic, and DataVolume is Data traffic, APN is used to indicate the type of service, and TotalVolume is the cumulative consumption traffic.
例如,以所述多个用户标识为多个物联网卡的标识为例,假设计费周期为自然月,每个时间区间为自然日,从运营商获取的话单文件可以如下表1所示。表1包括3个话单文件,分别为话单文件1、话单文件2和话单文件3。其中,话单文件1为物联网卡ID为12345678的物联网卡在2017年11月01日19点14分15秒-2017年11月01日19点15分15秒的时间范围内的流量消费记录,且在该时间范围内消费的流量为4196Byte,当月的累计消费流量为4196Byte;话单文件2为物联网卡ID为12345678的物联网卡在2017年11月01日19点20分01秒-2017年11月01日19点25分15秒的时间范围内的流量消费记录,且在该时间范围内消费的流量为10240Byte,当月的累计消费流量为14436Byte;话单文件3为物联网卡ID为12345679的物联网卡在2017年11月02日8点22分15秒-2017年11月02日09点12分15秒的时间范围内的流量消费记录,且在该时间范围内消费的流量为2502Byte,当月的累计消费流量为16938Byte。For example, the identifiers of the plurality of user identifiers are taken as an example, and the billing period is a natural month, and each time interval is a natural day. The bill file obtained from the operator may be as shown in Table 1 below. Table 1 includes three CDR files, namely CDR file 1, CDR file 2, and CDR file 3. Among them, the CDR file 1 is the IoT card with the IoT card ID 12345678, and the traffic consumption in the time range from 19:14:15 on November 01, 2017 to 19:15:15 on November 01, 2017 Recorded, and the traffic consumed during this time range is 4196 Bytes, the cumulative consumption flow for the month is 4196 Bytes; the CDR file 2 is the IoT card with the IoT card ID 12345678 at 19:20:01 on November 01, 2017 - The flow consumption record in the time range of 19:25:15 on November 01, 2017, and the traffic consumed during this time range is 10240 Byte, the cumulative consumption flow of the month is 14436 Byte; the CDR file 3 is the Internet of Things card. The traffic consumption record of the IoT card with ID 12345679 in the time range from 8:22:15 on November 2, 2017 to 09:12:15 on November 2, 2017, and consumed within this time range The traffic is 2502 Bytes, and the cumulative consumption traffic for the month is 16938 Bytes.
表1Table 1
字段名Field name 话单文件1CDR file 1 话单文件2CDR file 2 话单文件3CDR file 3
tenant-idTenant-id vdiscoveryVdiscovery vdiscoveryVdiscovery vdiscoveryVdiscovery
carrier-idCarrier-id 100100 100100 100100
SessionIdSessionId 1234567812345678 1234568012345680 1235634512356345
ICCIDICCID 1234567812345678 1234567812345678 1234567912345679
StartTimeStartTime 2017110119141520171101191415 2017110119200120171101192001 2017110208221520171102082215
EndTimeEndTime 2017110119151520171101191515 2017110119251520171101192515 2017110209121520171102091215
DataVolumeDataVolume 41964196 1024010240 25022502
APNAPN Publicapn(公网)Publicapn (public network) publicapnPublicapn publicapnPublicapn
TotalVolumeTotalVolume 41964196 1443614436 1693816938
需要说明的是,本申请实施例仅是以表1为例对话单文件的内容进行说明,但表1并不构成对话单文件的限定。It should be noted that, in the embodiment of the present application, only the content of the dialog file is described by using Table 1 as an example, but Table 1 does not constitute a limitation of the dialog file.
其中,所述多个用户标识对应的流量套餐可以根据所述多个用户标识的流量套餐变更表确定得到,所述多个用户标识的流量套餐变更表用于记录所述多个用户标识的流量套餐变更情况。具体地,在计费周期内,可以实时对所述多个用户标识的流量套餐变更情况进行记录,得到所述多个用户标识的流量套餐变更表,之后可以从所述多个用户标识的流量套餐变更表中获取所述多个用户标识最近一次变更后的流量套餐,并将所述多个用户标识最近一次变更后的流量套餐确定为所述多个用户标识对应的流量套餐。The traffic plan corresponding to the multiple user identifiers may be determined according to the data package change table of the multiple user identifiers, where the traffic plan change table of the multiple user identifiers is used to record the traffic of the multiple user identifiers. Package changes. Specifically, during the charging period, the traffic package change status of the multiple user identifiers may be recorded in real time, and the traffic package change table of the multiple user identifiers may be obtained, and the traffic that can be identified from the multiple user identifiers may be The package change table obtains the traffic package after the last change of the plurality of user identifiers, and determines the traffic package after the last change of the plurality of user identifiers as the traffic package corresponding to the plurality of user identifiers.
进一步地,当本申请实施例的方法应用于物联网中,且物联网中物联网卡与流量池绑定时,还可以在物联网卡使用的过程中,实时地对与目标流量池绑定的所有物联网卡的流量套餐变更情况进行记录,得到该目标流量池的流量套餐变更表,之后可以从该目标流量池的流量套餐变更表中获取与该目标流量池绑定的且在计费周期内激活的多个物联网卡最近一次变更后的流量套餐,并将所述多个物联网卡最近一次变更后的流量套餐确定为所述多个物联网卡对应的流量套餐。Further, when the method of the embodiment of the present application is applied to the Internet of Things, and the IoT card is bound to the traffic pool in the Internet of Things, the object traffic pool can be bound in real time during the use of the IoT card. The traffic package change status of all the IoT cards is recorded, and the traffic plan change table of the target traffic pool is obtained, and then the traffic plan change table of the target traffic pool can be obtained and bound to the target traffic pool. The data package after the last change of the plurality of Internet of Things cards activated in the period, and the data package after the last change of the plurality of Internet of Things cards is determined as the data package corresponding to the plurality of Internet of Things cards.
例如,表2是本申请实施例提供的一种目标流量池的流量套餐变更表,假设与目标流量池绑定的每张物联网卡的流量套餐均相同,则由表2可知,与目标流量池绑定的每张物联网卡对应的流量套餐中的套餐内流量数量均为10M,由于与目标流量池绑定的物联网卡在计费周期内的激活数量为2,因此目标流量池在计费周期内的总套餐流量=卡激活数量*每张卡的套餐内流量=2*10M=20M。For example, Table 2 is a traffic plan change table of the target traffic pool provided by the embodiment of the present application. It is assumed that the traffic packages of each IoT card bound to the target traffic pool are the same, as shown in Table 2, the target traffic is known. The number of traffic in the package in the traffic package corresponding to each IoT card in the pool is 10M. Since the number of activations of the IoT card bound to the target traffic pool is 2 in the billing cycle, the target traffic pool is Total package traffic during the billing cycle = number of card activations * Intra-package traffic per card = 2*10M = 20M.
表2Table 2
Figure PCTCN2019075774-appb-000001
Figure PCTCN2019075774-appb-000001
Figure PCTCN2019075774-appb-000002
Figure PCTCN2019075774-appb-000002
步骤602:根据计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量消费记录,预测所述多个用户标识在该计费周期内的消费流量的总和,得到预测总消费流量。Step 602: Predict the traffic consumption record corresponding to each user identifier in the multiple user identifiers before the current time point of the charging period, and predict the sum of the consumption flows of the multiple user identifiers in the charging period, and obtain a total forecast. Consumption flow.
具体地,根据计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量消费记录,预测所述多个用户标识在该计费周期内的消费流量的总和,得到预测总消费流量可以包括以下两种实现方式:Specifically, the traffic consumption record corresponding to each user identifier of the multiple user identifiers before the current time point of the charging period is predicted, and the sum of the consumption flows of the multiple user identifiers in the charging period is predicted, and the total prediction is obtained. Consumption traffic can include the following two implementations:
第一种实现方式:对计费周期内当前时间点之前所述多个用户标识中每个用户标识的流量消费记录进行统计,得到所述多个用户标识在计费周期内当前时间点之前的实际消费流量;根据所述多个用户标识在计费周期内当前时间点之前的实际消费流量,确定所述多个用户标识在计费周期内当前时间点之后的预测消费流量;将所述多个用户标识在计费周期内当前时间点之前的实际消费流量和当前时间点之后的预测消费流量进行相加,得到所述多个用户标识在计费周期内的预测总消费流量。 The first implementation manner is to collect statistics on the traffic consumption records of each user identifier in the multiple user identifiers before the current time point in the charging period, and obtain the multiple user identifiers before the current time point in the charging period. Actual consumption traffic; determining, according to the actual consumption traffic of the plurality of user identifiers before the current time point in the charging period, the predicted consumption traffic of the plurality of user identifiers after the current time point in the charging period; The user identifiers are added to the actual consumption traffic before the current time point in the billing period and the predicted consumption traffic after the current time point, and the predicted total consumption flows of the plurality of user identifiers in the billing period are obtained.
具体地,根据所述多个用户标识在计费周期内当前时间点之前的实际消费流量,预测所述多个用户标识在计费周期内当前时间点之后的预测消费流量的操作可以包括:确定从计费周期的开始时间点到当前时间点之间的第一总时长,计算所述多个用户标识在计费周期内当前时间点之前的实际消费流量与该第一总时长之间的比值,将该比值确定为所述多个用户标识在该第一总时长内的平均消费流量,然后确定从当前时间点到计费周期的结束时间点之间的第二总时长,并将该平均消费流量与该第二总时长进行相乘,得到所述多个用户标识在计费周期内当前时间点之后的预测消费流量。当然,本申请实施例也可以采用其他方式,预测所述多个用户标识在计费周期内当前时间点之后的预测消费流量,本申请实施例对所使用的预测方式不做限定。Specifically, the operation of predicting the predicted consumption flow after the current time point of the multiple user identifiers in the charging period may include: determining, according to the actual consumption traffic of the plurality of user identifiers before the current time point in the charging period. Calculating, from a starting time point of the charging period to a first total duration between the current time points, calculating a ratio between the actual consumption flow of the plurality of user identifiers before the current time point in the charging period and the first total time length Determining the ratio as the average consumption flow of the plurality of user identifiers within the first total duration, and then determining a second total duration from the current time point to the end time point of the billing period, and averaging the average The consumption flow is multiplied by the second total duration to obtain the predicted consumption flow of the plurality of user identifiers after the current time point in the billing period. Certainly, the embodiment of the present application may also use other manners to predict the predicted consumption traffic of the multiple user identifiers after the current time point in the charging period. The prediction manner used in this embodiment of the present application is not limited.
在第一种实现方式中,能够精确地以当前时间点为时间间隔,统计得到当前时间点之前的实际消费流量,并根据当前时间点之前的实际消费流量预测当前时间点之后的消费流量,之后将当前时间点之前的实际消费流量和当前时间点之后的预测消费流量进行相加,即可精确得到整个计费周期的预测总消费流量,准确度较高。In the first implementation manner, the actual consumption flow before the current time point can be accurately obtained by using the current time point as the time interval, and the consumption flow after the current time point is predicted according to the actual consumption flow before the current time point, and then By adding the actual consumption flow before the current time point and the predicted consumption flow after the current time point, the predicted total consumption flow of the entire billing cycle can be accurately obtained with high accuracy.
进一步地,本申请实施例提供的方法还可以应用于物联网中,所述多个用户标识还可以为物联网中共享运营商赠送的业务流量的多个物联网卡的标识。Further, the method provided by the embodiment of the present application may also be applied to the Internet of Things, where the multiple user identifiers may also be identifiers of multiple Internet of Things cards sharing the service traffic given by the operator in the Internet of Things.
进一步地,实际应用中,物联网还可以管理至少一个(一个或多个)流量池,并可以以流量池为单位对物联网卡的流量套餐进行调整。当到达调整时间时,可以先从与目标流量池绑定的所有物联网卡的标识中确定在计费周期内激活的多个物联卡的标识,然后按照本申请实施例提供的方法确定所述多个物联卡的户标识在计费周期内的预测总消费流量。也即是,所述多个用户标识还可以为物联网中与目标流量池绑定的且在计费周期内激活的多个物联网卡的标识。其中,目标流量池是指物联网管理的至少一个流量池中的任一流量池。Further, in practical applications, the Internet of Things can also manage at least one (one or more) traffic pools, and can adjust the traffic packages of the Internet of Things card in units of traffic pools. When the adjustment time is reached, the identifiers of the plurality of the physical association cards activated in the charging period may be determined from the identifiers of all the Internet of Things cards that are bound to the target traffic pool, and then determined according to the method provided in the embodiment of the present application. The household consumption of the plurality of physical association cards indicates the predicted total consumption flow during the billing period. That is, the plurality of user identifiers may also be identifiers of a plurality of Internet of Things cards in the Internet of Things that are bound to the target traffic pool and activated during the billing cycle. The target traffic pool refers to any one of the at least one traffic pool managed by the Internet of Things.
具体地,当采用上述第一种实现方式预测所述多个物联用户标识在计费周期内的预测总消费流量时,从与目标流量池绑定的所有物联网卡的标识中确定在计费周期内的激活的多个物联网卡的标识包括:将与目标流量池绑定且在计费周期内当前时间点之前的时间范围内激活的物联网卡的标识确定为所述多个物联网卡的标识。Specifically, when the foregoing first implementation manner is used to predict the predicted total consumption traffic of the plurality of object-linked user identifiers in the billing period, the identifiers of all the Internet of Things cards bound to the target traffic pool are determined. The identification of the activated plurality of Internet of Things cards within the fee period includes: determining an identifier of the Internet of Things card that is bound to the target traffic pool and activated within a time range before the current time point within the billing period as the plurality of objects The identity of the network card.
其中,与目标流量池绑定且在计费周期内当前时间点之前的时间范围内激活的物联网卡是指与目标流量池绑定的且在计费周期内当前时间点之前的时间范围内处于过激活状态的物联网卡,所述处于过激活状态的物联网卡包括在计费周期内当前时间点之前的时间范围内一直处于激活状态且与目标流量池绑定的物联网卡,或者在计费周期内当前时间点之前的时间范围内的一段或多段时间或某个时刻处于过激活状态且与目标流量池绑定的物联网卡。The IoT card that is bound to the target traffic pool and is activated in the time range before the current time point in the charging period refers to the time range bound to the target traffic pool and within the time range before the current time point in the charging period. An IoT card in an activated state, the IoT card in an activated state includes an IoT card that is active and bound to a target traffic pool within a time range before a current time point in the billing cycle, or An IoT card that is overactive and bound to a target traffic pool for one or more periods of time or at a certain time in the time range prior to the current point in time during the billing cycle.
具体地,在计费周期内物联网卡使用的过程中,可以实时对与目标流量池绑定的物联网卡的状态变更情况进行记录,得到状态变更表,之后从该状态变更表中确定与目标流量池绑定且在计费周期内当前时间点之前的时间范围激活的多个物联网卡。其中,从该状态变更表中确定与目标流量池绑定且在计费周期内当前时间点之前的时间范围激活的多个物联网卡包括:从该状态变更表中确定原状态为激活状态且状态变更时间在计费周期内的与目标流量池绑定的第一物联网卡;从该状态变更表中确定目的状态为激活状态且状态变更时间在计费周期内的与目标流量池绑定的第二物联网卡;确定从计费周期的开始时间到当前时间点为止一直处于激活状态的与目标流量池绑定的第三物联网卡;将第一物联网卡、第二物联网卡和第三物联网卡确定为与目标流量池绑定且在计费周期内当前时间点之前的时间范围激活的多个物联网卡。Specifically, in the process of using the IoT card in the charging period, the state change of the IoT card bound to the target traffic pool can be recorded in real time, and the state change table is obtained, and then determined from the state change table. A plurality of IoT cards that are bound by the target traffic pool and activated during the time range before the current time point in the billing cycle. The determining, by the state change table, the plurality of Internet of Things cards that are bound to the target traffic pool and activated in a time range before the current time point in the charging period includes: determining, from the state change table, that the original state is an active state The first IoT card bound to the target traffic pool in the billing period; the state change table determines that the destination state is the active state and the state change time is bound to the target traffic pool in the billing period. a second IoT card; determining a third IoT card bound to the target traffic pool that has been active from the start time of the billing cycle to the current time point; the first IoT card, the second IoT card And the third IoT card is determined to be a plurality of IoT cards that are bound to the target traffic pool and activated during a time range prior to the current time point within the billing cycle.
例如,表3是本申请实施例提供的一种与目标流量池绑定的物联网卡的状态变更表。由表3可知ICC ID为12345678的物联网卡在“2017-11-1 10:04:03”进行了一次状态变更,且变更后的状态为激活状态,ICCID为12345679的物联网卡在“2017-11-2 10:05:04”,进行了一次状态变更,且变更后的状态为激活状态。假如当前时间点为2017-11-2 23:59:59,则与目标流量池绑定的物联网卡在计费周期内的激活数量为2,在计费周期内激活的物联网卡即为这两张物联网卡。For example, Table 3 is a state change table of an Internet of Things card bound to a target traffic pool provided by an embodiment of the present application. It can be seen from Table 3 that the IoT card with the ICC ID of 12345678 has undergone a status change at "2017-11-1 10:04:03", and the changed status is active. The IoT card with the ICCID of 12345679 is in 2017. -11-2 10:05:04", a state change was made, and the changed state was activated. If the current time point is 2017-11-2 23:59:59, the number of activations of the IoT card bound to the target traffic pool in the billing cycle is 2, and the IoT card activated during the billing cycle is These two IoT cards.
表3table 3
Figure PCTCN2019075774-appb-000003
Figure PCTCN2019075774-appb-000003
第二种实现方式:对计费周期内当前时间点之前所述多个用户标识中每个用户标识的流量消费记录进行统计,得到所述多个用户标识在至少一个第一时间区间内的实际消费流量,所述至少一个第一时间区间是指从计费周期的第一个时间区间到目标时间区间的至少一个时间区间;根据所述多个用户标识在至少一个第一时间区间内的实际消费流量,确定所述多个用户标识在至少一个第二时间区间内的预测消费流量,所述至少一个第二时间区间是指计费周期内目标时间区间之后的至少一个时间区间;将所述多个用户标识在所述至少一个第一时间区间内的实际消费流量和在所述至少一个第二时间区间内的预测消费流量进行相加,得到所述多个用户标识在该计费周期内的预测总消费流量。 The second implementation manner is: performing statistics on the traffic consumption records of each user identifier in the multiple user identifiers before the current time point in the charging period, and obtaining the actual number of the multiple user identifiers in at least one first time interval. The consumption flow, the at least one first time interval refers to at least one time interval from a first time interval of the charging period to the target time interval; and actual according to the plurality of user identifiers in the at least one first time interval Determining, by the consumption flow, a predicted consumption flow of the plurality of user identifiers in at least one second time interval, the at least one second time interval being at least one time interval after the target time interval within the billing period; And adding, by the plurality of user identifiers, the actual consumption traffic in the at least one first time interval and the predicted consumption traffic in the at least one second time interval, to obtain the multiple user identifiers in the charging period. Forecast total consumption traffic.
其中,目标时间区间是指计费周期内需要统计消费流量和需要预测消费流量的分割时间区间,也即是,对于计费周期内的目标时间区间和位于目标时间区间之前的时间区间,需要对所述多个用户标识的实际消费流量进行统计,而对于计费周期内位于目标时间区间之后的时间区间,则需要对所述多个用户标识的消费流量进行预测。本申请实施例中,为了便于说明,将计费周期内的第一个时间区间到目标时间区间(包括目标时间区间)之间的每个时间区间称为第一时间区间,并将目标时间区间到计费周期内的最后一个时间区间(不包括目标时间区间)之间的每个实际区间称为第二时间区间。The target time interval refers to a segmentation time interval that needs to be used for statistical consumption flow and needs to predict consumption flow during the billing period, that is, for the target time interval in the billing period and the time interval before the target time interval, The actual consumption flows of the plurality of user identifiers are counted, and for the time interval after the target time interval in the billing period, the consumption flows of the plurality of user identifiers need to be predicted. In the embodiment of the present application, for convenience of description, each time interval between the first time interval in the charging period to the target time interval (including the target time interval) is referred to as a first time interval, and the target time interval is Each actual interval between the last time interval (excluding the target time interval) within the billing period is referred to as a second time interval.
具体地,当当前时间点是计费周期内一个时间区间的结束时间时,目标时间区间为当前时间点所处的时间区间即当前时间区间,当当前时间点不是该计费周期内一个时间区间的结束时间时,该目标时间区间为该计费周期内当前时间点之前最近的时间区间。Specifically, when the current time point is the end time of a time interval in the charging period, the target time interval is the current time interval in which the current time point is located, and the current time point is not a time interval in the charging period. At the end time, the target time interval is the most recent time interval before the current time point in the billing period.
当当前时间点是计费周期内一个时间区间的结束时间时,考虑到从当前时间区间的开始时间到当前时间点为止是一个完整的时间区间,能够统计得到当前时间区间的实际消费流量,因此,可以将当前时间区间作为目标时间区间,进而作为第一时间区间;当当前时间点不是计费周期内一个时间区间的结束时间,即当前时间点是计费周期内任一时间区间包括的除结束时间之外的其他时间时,考虑到从当前时间区间的开始时间到当前时间点为止不是一个完整的时间区间,还不能完全统计得到当前时间区间的实际消费流量,因此,可以将当前时间点之前的最近的时间区间作为目标时间区间,从而将当前时间区间作为第二时间区间。When the current time point is the end time of a time interval in the billing period, considering that it is a complete time interval from the start time of the current time interval to the current time point, the actual consumption flow rate of the current time interval can be statistically obtained, so The current time interval may be used as the target time interval, and further as the first time interval; when the current time point is not the end time of a time interval in the charging period, that is, the current time point is included in any time interval within the charging period. When the time is other than the end time, considering that it is not a complete time interval from the start time of the current time interval to the current time point, the actual consumption flow of the current time interval cannot be completely counted, so the current time point can be The previous most recent time interval is taken as the target time interval, so that the current time interval is taken as the second time interval.
例如,以计费周期为11月,时间区间为日,计费周期的账单结算时间为11月末为例,如果当前时间点为11月20日的结束时间,即11月20日23点59分59秒,则目标时间区间为当前时间点所在的时间区间,即11月20日;如果当前时间点不是11月内任一天的结束时间,比如,如果当前时间点为11月20日的开始时间,即11月20日0点0分0秒,则目标时间区间为11月内当前时间点之前最近的时间区间,即11月19日。For example, the billing period is 11 months, the time interval is day, and the billing period of the billing period is the end of November. For example, if the current time point is the end time of November 20, that is, November 20, 23:59. 59 seconds, the target time interval is the time interval of the current time point, that is, November 20; if the current time point is not the end time of any day in November, for example, if the current time point is the start time of November 20 , that is, at 0:00:00 on November 20, the target time interval is the most recent time interval before the current time point in November, that is, November 19.
具体地,对计费周期内当前时间点之前所述多个用户标识中每个用户标识的流量消费记录进行统计,得到所述多个用户标识在至少一个第一时间区间内的实际消费流量包括:对于所述至少一个第一时间区间内的任一第一时间区间D,获取所述多个用户标识中的每个用户标识在该第一时间区间D内的流量消费记录;对所述多个用户标识中的每个用户标识在该第一时间区间D内的流量消费记录进行统计,得到所述多个用户标识在该第一时间区间D内的实际消费流量。Specifically, the traffic consumption record of each user identifier in the multiple user identifiers before the current time point in the charging period is counted, and the actual consumption traffic of the multiple user identifiers in the at least one first time interval is obtained. Obtaining, for any of the first time intervals D in the at least one first time interval, a traffic consumption record of each of the plurality of user identifiers in the first time interval D; The traffic consumption records of the user identifiers in the first time interval D are counted, and the actual consumption traffic of the plurality of user identifiers in the first time interval D is obtained.
其中,对所述多个用户标识中的每个用户标识在该第一时间区间D内的流量消费记录进行统计,得到所述多个用户标识在该第一时间区间D内的实际消费流量可以包括:根据所述多个用户标识中的每个用户标识在该第一时间区间D内的流量消费记录,确定所述多个用户标识中的每个用户标识在该第一时间区间D内使用的流量;将所述多个用户标识在该第一时间区间A内使用的流量进行累计,得到所述多个用户标识在该第一时间区间A内的实际消费流量。The traffic consumption record in the first time interval D is calculated for each of the plurality of user identifiers, and the actual consumption flow rate of the plurality of user identifiers in the first time interval D is obtained. The method includes: determining, according to the traffic consumption record of each of the plurality of user identifiers in the first time interval D, determining that each of the plurality of user identifiers is used in the first time interval D The traffic of the plurality of user identifiers used in the first time interval A is accumulated, and the actual consumption flow rate of the plurality of user identifiers in the first time interval A is obtained.
进一步地,本申请实施例中,还可以在使用过程中,随着时间的推进依次以时间区间为单位对所述多个用户标识的实际消费流量进行统计,得到以时间区间为单位的流量统计信息表,并对流量统计信息表进行存储,当当前时间点到达需要对所述多个用户标识的流量套餐进行调整的调整时间时,直接从已存储的流量统计信息表中获取所述至少一个第一时间区间内的实际消费流量。具体地,随着时间的推进依次以时间区间为单位对目标流量池的实际消费流量进行统计的实现方式可以为:实时地或者每隔一个时间区间,以时间区间为单位对所 述多个用户标识的实际消费流量进行统计。Further, in the embodiment of the present application, in the process of using, the actual consumption flow of the plurality of user identifiers may be counted in units of time intervals in time, and the traffic statistics in time interval units are obtained. The information table is configured to store the traffic statistics information table. When the current time point reaches the adjustment time that needs to adjust the traffic package of the multiple user identifiers, the at least one of the stored traffic statistics information tables is directly obtained. Actual consumption flow in the first time interval. Specifically, the actual consumption flow of the target flow pool may be counted in the time interval as a unit of time, or may be: in real time or every other time interval, the plurality of users are in time interval units. The actual consumption flow of the logo is counted.
其中,以时间区间为单位的流量统计信息表包括使用过程中的每个时间区间的实际流量统计信息,且使用过程中的每个时间区间的实际流量统计信息包括但不限于:业务类型、当前时间区间标识、计费周期标识、当前时间区间的使用流量和当前时间区间的累计消费流量。其中,当前时间区间的使用流量是指所述多个用户标识在当前时间区间内的实际消费流量,即在当前时间区间内实际消费的总流量;当前时间区间的累计消费流量是指从计费周期的第一个时间区间到当前时间区间的时间范围内累计消费的总流量。The traffic statistics information table in the time interval includes the actual traffic statistics information in each time interval in the use process, and the actual traffic statistics information in each time interval in the use process includes but is not limited to: service type, current The time interval identifier, the billing period identifier, the usage flow rate of the current time interval, and the cumulative consumption flow rate of the current time interval. The usage traffic of the current time interval refers to the actual consumption traffic of the multiple user identifiers in the current time interval, that is, the total traffic actually consumed in the current time interval; the cumulative consumption traffic of the current time interval refers to the secondary charging. The total flow of accumulated consumption during the time range from the first time interval of the cycle to the current time interval.
进一步地,当所述多个用户标识为物联网中与目标流程池绑定的多个物联网卡的标识时,每个时间区间的实际流量统计信息还可以包括目标流量池标识、当前时间区间的卡激活数和计费周期的卡激活数。其中,目标流量池标识可以为目标流量池名称(Volume Pool Name,VP_Name)或目标流量池ID(Volume Pool ID,VP_ID)等。当前时间区间的卡激活数是指当前时间区间内与目标流量池绑定的物联网卡的激活数量;计费周期的卡激活数是指从计费周期的第一个时间区间到当前时间区间的时间范围内与目标流量池绑定的物联网卡的累计激活数量。Further, when the plurality of user identifiers are identifiers of the plurality of Internet of Things cards bound to the target process pool in the Internet of Things, the actual traffic statistics information of each time interval may further include the target traffic pool identifier and the current time interval. The number of card activations and the number of card activations for the billing cycle. The target traffic pool identifier may be a target traffic pool name (Volume Pool Name, VP_Name) or a target traffic pool ID (Volume Pool ID, VP_ID). The card activation number in the current time interval refers to the activation number of the IoT card bound to the target traffic pool in the current time interval; the card activation number in the charging period refers to the first time interval from the charging period to the current time interval. The cumulative number of activations of the IoT card bound to the target traffic pool over the time range.
例如,假设计费周期为自然月,每个时间区间为自然日,所述多个用户标识为物联网中的物联网卡的标识,且该物联网以流量池为单位对物联网卡的流量套餐进行调整,则在物联网卡使用的过程中,随着时间的推进依次以自然日为单位对目标流量池的实际消费流量进行统计,得到使用的过程中目标流量池的流量日统计信息表,该流量日统计信息表包括使用过程中每日的日流量消耗统计信息。在一个具体实施例中,日流量消耗统计信息可以包括:目标流量池标识、区域标识、日期(Calendar_Date)、月份(Charge_cycle)、当日的使用流量(Used_Volume)、当日卡激活数(Daily_Actice_Card_Number)和当月卡激活数(Month_Active_Card_Number)。其中,当日的使用流量用于指示目标流量池在当日内的流量消耗值。其中,区域标识用于指示业务类型。For example, if the billing period is a natural month, each time interval is a natural day, the plurality of user identifiers are identifiers of the Internet of Things cards in the Internet of Things, and the Internet of Things uses the traffic pool as a unit for the traffic of the Internet of Things card. When the package is adjusted, in the process of using the IoT card, the actual consumption flow of the target traffic pool is counted in units of natural day as time progresses, and the traffic daily statistical information table of the target traffic pool in the process of use is obtained. The traffic daily statistics information table includes daily daily traffic consumption statistics during use. In a specific embodiment, the daily traffic consumption statistics may include: a target traffic pool identifier, a region identifier, a date (Calendar_Date), a month (Charge_cycle), a usage traffic of the current day (Used_Volume), a daily activation card number (Daily_Actice_Card_Number), and the current month. Card activation number (Month_Active_Card_Number). The usage traffic of the current day is used to indicate the traffic consumption value of the target traffic pool in the current day. The area identifier is used to indicate the type of service.
例如,假设计费周期为自然月,每个时间区间为自然日,通过对表1的话单文件进行统计,可以得到下述表4所示的日流量消耗统计信息表。其中,表4包括日流量消耗统计信息1和日流量消耗统计信息2,日流量消耗统计信息1为2017年11月01日的日流量消耗统计信息,日流量消耗统计信息2为2017年11月02日的日流量消耗统计信息。由下述表4可知,目标流量池在2017年11月01日内的流量消耗值为14436Byte,在2017年11月02日内的流量消耗值为2502Byte。For example, if the billing period is a natural month and each time interval is a natural day, the daily traffic consumption statistical information table shown in Table 4 below can be obtained by counting the bill files of Table 1. Table 4 includes daily traffic consumption statistics 1 and daily traffic consumption statistics 2, and daily traffic consumption statistics 1 is daily traffic consumption statistics on November 1, 2017, and daily traffic consumption statistics 2 is November 2017. Daily traffic consumption statistics on the 02th. As can be seen from Table 4 below, the traffic consumption value of the target traffic pool on November 01, 2017 is 14436 Bytes, and the traffic consumption value on November 02, 2017 is 2502 Bytes.
表4Table 4
Figure PCTCN2019075774-appb-000004
Figure PCTCN2019075774-appb-000004
Figure PCTCN2019075774-appb-000005
Figure PCTCN2019075774-appb-000005
需要说明的是,本申请实施例仅是以表4为例对日流量消耗统计信息表的内容进行说明,但表3并不构成对流量消耗统计信息表的限定。而且,表4实施例仅是用Zone_Name表示业务类型为例进行说明,而实际应用中,还可以用其他字母或名称表示业务类型,本申请实施例对此不做限定。It should be noted that, in the embodiment of the present application, only the content of the daily traffic consumption statistical information table is described by using Table 4 as an example, but Table 3 does not constitute a limitation on the traffic consumption statistical information table. Moreover, the embodiment of the present invention is only described by using the Zone_Name as the service type. In the actual application, the service type may be represented by other letters or names.
具体地,根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,确定所述多个用户标识在至少一个第二时间区间内的预测消费流量的操作包括:根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,通过预设滑动平均模型法,预测所述多个用户标识在所述至少一个第二时间区间内的预测消费流量。Specifically, determining, according to the actual consumption traffic of the multiple user identifiers in the at least one first time interval, determining, by the plurality of user identifiers, the predicted consumption flows in the at least one second time interval, The actual consumption flow rate of the plurality of user identifiers in the at least one first time interval is predicted, and the predicted consumption flow rate of the plurality of user identifiers in the at least one second time interval is predicted by a preset moving average model method.
预设滑动平均模型法是指预先设置的滑动平均模型法。滑动平均模型法是指用一组最近的实际数据值来预测未来一期或几期内的数据值的方法,基本思想是根据时间序列资料逐项推移,依次计算包含一定项数的序时平均值,以反映长期趋势。本申请实施例中,采用预设滑动平均模型法能够对目标流量池在未来时间区间的流量消耗趋势进行准确预测,且能够消除周期变动和随机波动的影响,预测准确度较高。The preset moving average model method refers to a preset moving average model method. The sliding average model method refers to a method of predicting the data value of the next period or period by using a set of recent actual data values. The basic idea is to calculate the order-average average of a certain number of items according to the time series data. Value to reflect long-term trends. In the embodiment of the present application, the preset sliding average model method can accurately predict the traffic consumption trend of the target traffic pool in the future time interval, and can eliminate the effects of periodic fluctuations and random fluctuations, and the prediction accuracy is high.
具体地,根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,通过预设滑动平均模型法,确定所述多个用户标识在所述至少一个第二时间区间内的预测消费流量可以包括以下两种实现方式:Specifically, determining, according to the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval, by using a preset moving average model method, determining that the plurality of user identifiers are in the at least one second time interval. The predicted consumption traffic can include the following two implementations:
第一种实现方式:对于所述至少一个第二时间区间中的任一第二时间区间B,当第二时间区间B为计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在计费周期的前一个计费周期内不具有实际流量消耗记录时,将计费周期内位于第二时间区间B之前的所有时间区间的目标消费流量的平均值,确定为多个用户标识在第二时间区间B内的预测消费流量。 The first implementation manner is : for any of the at least one second time interval B, when the second time interval B is one of the first N time intervals in the charging period, and When the plurality of user identifiers do not have the actual traffic consumption record in the previous charging period of the charging period, the average value of the target consumption flows in all the time intervals before the second time interval B in the charging period is determined as The plurality of users identify predicted consumption flows in the second time interval B.
其中,N为预先根据预设滑动平均模型法设置的需要平滑的时间区间的数目,且N为正整数。对于位于第二时间区间B之前的任一时间区间C,当所述多个用户标识在时间区间C内具有实际消费流量时,时间区间C的目标消费流量是指所述多个用户标识在时间区间C内的实际消费流量,当所述多个用户标识在时间区间C内不具有实际消费流量时,时间区间C的目标消费流量是指所述多个用户标识在时间区间C内的预测消费流量。Where N is the number of time intervals that need to be smoothed according to the preset moving average model method in advance, and N is a positive integer. For any time interval C located before the second time interval B, when the plurality of user identifiers have actual consumption flows in the time interval C, the target consumption flow rate of the time interval C refers to the plurality of user identifications at the time The actual consumption flow in the interval C, when the plurality of user identifiers do not have actual consumption traffic in the time interval C, the target consumption flow rate of the time interval C refers to the predicted consumption of the plurality of user identifiers in the time interval C. flow.
通过当第二时间区间B为计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在计费周期的前一个计费周期内不具有实际流量消耗记录时,直接计算计费周期内位于该第二时间区间B之前的所有时间区间的目标消费流量的平均值,并将该平均值确定为所述多个用户标识在第二时间区间B内的预测消费流量,可以在第二时间区间B之前具有流量消耗记录的时间区间不足N的情况下,也能够采用预设滑动平均模型法对第二时间区间B内的预测消费流量进行预测。When the second time interval B is one of the first N time intervals in the charging period, and the plurality of user identifiers do not have the actual traffic consumption record in the previous charging period of the charging period, Directly calculating an average value of target consumption flows of all time intervals before the second time interval B in the billing period, and determining the average value as the predicted consumption flow rate of the plurality of user identifiers in the second time interval B If the time interval with the flow consumption record before the second time interval B is less than N, the predicted moving average flow rate in the second time interval B can also be predicted by using the preset moving average model method.
例如,假设N为5,计费周期为月,时间区间为日,且计费周期的前一个计费周期不具有实际流量消耗记录,若第二时间区间B为计费周期的第二天,则可以将第一天的目标消费流量作为第二天的预测消费流量。若第二时间区间B为计费周期的第三天,则可以将第一天和第二天的目标消费流量的平均值,作为第三天的预测消费流量。若第二时间区间B为计费周期的第三天,则可以将第一天和第二天的目标消费流量的平均值,作为第三天的预测消费流量。若第二时间区间B为计费周期的第四天,则可以将第一天、第二天和第三天的目标消 费流量的平均值,作为第四天的预测消费流量。若第二时间区间B为计费周期的第五天,则可以将第一天、第二天、第三天和第四天的目标消费流量的平均值,作为第五天的预测消费流量。For example, if N is 5, the billing period is month, the time interval is day, and the previous billing period of the billing period does not have an actual traffic consumption record. If the second time interval B is the second day of the billing period, The target consumption flow on the first day can be used as the predicted consumption flow for the next day. If the second time interval B is the third day of the billing cycle, the average of the target consumption flows of the first day and the second day may be used as the predicted consumption flow rate for the third day. If the second time interval B is the third day of the billing cycle, the average of the target consumption flows of the first day and the second day may be used as the predicted consumption flow rate for the third day. If the second time interval B is the fourth day of the billing cycle, the average of the target consumption flows of the first day, the second day, and the third day may be used as the predicted consumption flow rate for the fourth day. If the second time interval B is the fifth day of the billing cycle, the average of the target consumption flows of the first day, the second day, the third day, and the fourth day may be used as the predicted consumption flow rate for the fifth day.
第二种实现方式:对于所述至少一个第二时间区间中的任一第二时间区间B,当第二时间区间B为计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在计费周期的前一个计费周期内具有实际流量消耗记录时,或者当第二时间区间B为计费周期内第N个时间区间之后的任一时间区间时,将位于第二时间区间B之前的N个时间区间的目标消费流量的平均值,确定为所述多个用户标识在第二时间区间B内的预测消费流量。 The second implementation manner is : for any of the at least one second time interval B, when the second time interval B is one of the first N time intervals in the charging period, and The plurality of user identifiers are located when the actual traffic consumption record is recorded in the previous charging period of the charging period, or when the second time interval B is any time interval after the Nth time interval in the charging period, The average value of the target consumption flows of the N time intervals before the second time interval B is determined as the predicted consumption flow rate of the plurality of user identifiers in the second time interval B.
其中,N为正整数,对于位于第二时间区间B之前的任一时间区间C,当所述多个用户标识在时间区间C内具有实际消费流量时,时间区间C的目标消费流量是指所述多个用户标识在时间区间C内的实际消费流量,当所述多个用户标识在时间区间C内不具有实际消费流量时,时间区间C的目标消费流量是指所述多个用户标识在时间区间C内的预测消费流量。Wherein, N is a positive integer. For any time interval C before the second time interval B, when the plurality of user identifiers have actual consumption flows in the time interval C, the target consumption flow rate of the time interval C refers to The actual consumption flow rate of the plurality of user identifiers in the time interval C, when the plurality of user identifiers do not have actual consumption traffic in the time interval C, the target consumption flow rate of the time interval C means that the plurality of user identifiers are Predicted consumption traffic within time interval C.
具体地,在第二种实现方式中,可以采用如下公式确定所述多个用户标识在第二时间区间B内的预测消费流量:Specifically, in the second implementation manner, the predicted consumption flow of the multiple user identifiers in the second time interval B may be determined by using the following formula:
Figure PCTCN2019075774-appb-000006
Figure PCTCN2019075774-appb-000006
其中,
Figure PCTCN2019075774-appb-000007
为所述多个用户标识在第二时间区间B内的预测消费流量,y 1、y 2、…、y N分别为第二时间区间B的前1、2、…、N个时间区间内的目标消费流量,N为正整数。
among them,
Figure PCTCN2019075774-appb-000007
Determining the predicted consumption flows in the second time interval B for the plurality of users, y 1 , y 2 , ..., y N are respectively in the first 1, 2, ..., N time intervals of the second time interval B Target consumption flow, N is a positive integer.
也即是,当第二时间区间B为计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在计费周期的前一个计费周期内具有实际流量消耗记录时,说明计费周期内第二时间区间B之前的时间区间不足N,此时可以从计费周期的前一个计费周期的实际流量消耗记录中获取末尾M个时间区间的实际消费流量,作为该M个时间区间的目标消费流量,并将该M个区间对计费周期内第二时间区间B之前的时间区间进行补充,得到N个时间区间的目标量消耗值。其中,M为正整数,且M与计费周期内第二时间区间B之前的时间区间的数目之和等于N。另外,当第二时间区间B为计费周期内第N个时间区间之后的任一时间区间时,说明计费周期内第二时间区间B之前的时间区间大于或等于N,此时可以直接获取计费周期内位于第二时间区间B之前的N个时间区间的目标量消耗值。That is, when the second time interval B is one of the first N time intervals in the charging period, and the plurality of user identifiers have actual traffic consumption records in the previous charging period of the charging period. When the time interval before the second time interval B in the charging period is less than N, the actual consumption flow rate of the last M time intervals can be obtained from the actual traffic consumption record of the previous charging period of the charging period. The target consumption flows of the M time intervals are supplemented by the M intervals to the time interval before the second time interval B in the charging period, and the target consumption values of the N time intervals are obtained. Where M is a positive integer, and the sum of M and the number of time intervals before the second time interval B in the billing period is equal to N. In addition, when the second time interval B is any time interval after the Nth time interval in the charging period, it indicates that the time interval before the second time interval B in the charging period is greater than or equal to N, and can be directly obtained at this time. The target amount consumption value of the N time intervals before the second time interval B in the billing period.
例如,假设N为5,计费周期为自然月,时间区间为自然日,且计费周期的前一个计费周期具有实际流量消耗记录,若第二时间区间B为计费周期的第五天,则可以从计费周期的前一个计费周期的实际流量消耗记录中获取前一个计费周期的最后一天的实际消费流量,作为前一个计费周期的最后一天的目标消费流量,并计算前一个计费周期的最后一天的目标消费流量和计费周期的前4天的目标消费流量的平均值,作为多个用户标识在第二时间区间B内的预测消费流量。若第二时间区间B为计费周期的第六天,则可以直接获取计费周期的前5天的目标消费流量,并计算计费周期的前5天的目标消费流量的平均值,作为所述多个用户标识在第二时间区间B内的预测消费流量。For example, if N is 5, the billing period is a natural month, the time interval is a natural day, and the previous billing period of the billing period has an actual traffic consumption record, if the second time interval B is the fifth day of the billing period. Then, the actual consumption flow of the last day of the previous billing period can be obtained from the actual traffic consumption record of the previous billing period of the billing cycle, as the target consumption flow of the last day of the previous billing period, and calculated before The average of the target consumption flow on the last day of a billing cycle and the target consumption flow of the first 4 days of the billing cycle, as the predicted consumption flow of the plurality of subscribers in the second time interval B. If the second time interval B is the sixth day of the charging period, the target consumption flow of the first 5 days of the charging period may be directly obtained, and the average value of the target consumption flow in the first 5 days of the charging period is calculated as the The predicted consumption flow rate of the plurality of user identifiers in the second time interval B is described.
在一个实施例中,当本申请实施例的方法应用于物联网中,且该物联网以流量池为单位对物联网卡的流量套餐进行调整时,可以在计费周期内与目标流量池绑定的物联网卡使用的过程中,实时地以时间区间为单位对该目标流量池的实际消费流量进行累计,并对未来时间区间的预测消费流量进行预测。例如,图7是本申请实施例提供的一种目标流量池的运营时 序图,假设运营商的计费周期为自然月,计费周期内的时间区间为自然日,则在计费周期内物联用户标识使用的过程中,可以实时获取与目标流量池绑定的物联网卡的话单文件,根据获取的话单文件,对目标流量池的实际消费流量进行累计,根据累计的实际消费流量得到多个用户标识的日流量消费统计信息,根据目标流量池的日流量消费统计信息对计费周期内未来几日的预测消费流量进行预测,得到目标流量池的日流量消费预测信息,以便后续将日流量消费统计信息和日流量消费预测信息进行汇总,得到目标流量池在计费周期内的预测总消费流量。其中,该目标流量池在计费周期内的预测总消费流量即为与该目标流量池绑定的且在计费周期内激活的多个物联网卡在计费周期内的预测总消费流量。In an embodiment, when the method in the embodiment of the present application is applied to the Internet of Things, and the Internet of Things adjusts the data package of the Internet of Things card in a flow pool, the target traffic pool may be bound in the charging period. In the process of using the IoT card, the actual consumption flow of the target flow pool is accumulated in real time in units of time intervals, and the predicted consumption flow in the future time interval is predicted. For example, FIG. 7 is a timing diagram of operation of a target traffic pool according to an embodiment of the present application. It is assumed that the charging period of the operator is a natural month, and the time interval in the charging period is a natural day, and the charging period is In the process of using the user ID, the CDR file of the IoT card bound to the target traffic pool can be obtained in real time, and the actual consumption traffic of the target traffic pool is accumulated according to the obtained CDR file, and the actual consumption traffic is accumulated according to the accumulated actual consumption traffic. The daily traffic consumption statistics of the user identifiers are predicted according to the daily traffic consumption statistics of the target traffic pool, and the predicted traffic consumption of the target traffic pool is predicted in the future, so that the daily traffic consumption prediction information of the target traffic pool is obtained. The traffic consumption statistical information and the daily traffic consumption prediction information are summarized to obtain the predicted total consumption traffic of the target traffic pool in the charging period. The predicted total consumption traffic of the target traffic pool in the charging period is the predicted total consumption traffic of the plurality of Internet of Things cards that are bound to the target traffic pool and activated during the charging period.
例如,基于上述表4可以得知目标流量池在2017年11月01日和2017年11月02日内的实际消费流量分别为14436Byte和2502Byte,若目标流量池在2017年10月不具有流量消费记录,则可以根据目标流量池在2017年11月01日和2017年11月02日内的实际消费流量,对目标流量池在2017年11月03日-2017年11月31日的预测消费流量进行预测。表5是目标流量池在2017年11月份的流量消费记录,其中,前两行为目标流量池分别在2017年11月01日和2017年11月02日内的实际消费流量,之后的29行为目标流量池分别在2017年11月03日-2017年11月31日的预测消费流量,流量单位为Byte。For example, based on Table 4 above, it can be known that the actual consumption flows of the target traffic pool in November 01, 2017 and November 02, 2017 are 14,436 Bytes and 2502 Bytes respectively. If the target traffic pool does not have a traffic consumption record in October 2017, , according to the actual consumption flow of the target traffic pool in November 01, 2017 and November 02, 2017, the forecasted consumption flow of the target traffic pool from November 3, 2017 to November 31, 2017 . Table 5 shows the traffic consumption records of the target traffic pool in November 2017, where the first two behavioral target traffic pools are actual consumption traffic within November 01, 2017 and November 02, 2017, respectively, followed by 29 behavioral traffic. The pool predicts consumption flows from November 3, 2017 to November 31, 2017, and the flow unit is Byte.
表5table 5
月份month 日期date 目标流量池的流量消耗Traffic consumption of the target traffic pool
2017年11月November 2017 11 1443614436
2017年11月November 2017 22 25022502
2017年11月November 2017 33 84698469
2017年11月November 2017 44 84698469
2017年11月November 2017 55 84698469
2017年11月November 2017 66 84698469
2017年11月November 2017 77 72767276
2017年11月November 2017 88 82308230
2017年11月November 2017 99 81838183
2017年11月November 2017 1010 81258125
2017年11月November 2017 1111 80578057
2017年11月November 2017 1212 79747974
2017年11月November 2017 1313 81148114
2017年11月November 2017 1414 80908090
2017年11月November 2017 1515 80728072
2017年11月November 2017 1616 80618061
2017年11月November 2017 1717 80628062
2017年11月November 2017 1818 80808080
2017年11月November 2017 1919 80738073
2017年11月November 2017 2020 80708070
2017年11月November 2017 21twenty one 80698069
2017年11月November 2017 22twenty two 80718071
2017年11月November 2017 23twenty three 80738073
2017年11月November 2017 24twenty four 80718071
2017年11月November 2017 2525 80718071
2017年11月November 2017 2626 80718071
2017年11月November 2017 2727 80718071
2017年11月November 2017 2828 80718071
2017年11月November 2017 2929 80718071
2017年11月November 2017 3030 80718071
2017年11月November 2017 3131 80718071
需要说明的是,本申请实施例仅是以表5为例对目标流量池在一个月内的消费流量进行说明,但表5并不构成对目标流量池消费流量的限定。It should be noted that the embodiment of the present application only uses Table 5 as an example to describe the consumption traffic of the target traffic pool in one month, but Table 5 does not constitute a limitation on the target traffic pool consumption traffic.
进一步地,若本申请实施例提供的方法应用于物联网中,且该物联网以流量池为单位对物联网卡的流量套餐进行调整,则当需要对目标流量池的流量套餐进行调整时,可以先从与目标流量池绑定的所有物联网卡中确定在计费周期内激活的多个物联网卡,然后按照本申请实施例提供的方法预测所述多个物联网卡的标识在计费周期内的总消费流量。也即是,所述多个用户标识还可以为物联网中与目标流量池绑定的且在计费周期内激活的多个物联网卡的标识。Further, if the method provided by the embodiment of the present application is applied to the Internet of Things, and the Internet of Things adjusts the data package of the Internet of Things card by using the traffic pool, when the traffic plan of the target traffic pool needs to be adjusted, The plurality of IoT cards activated in the billing period may be determined from all the IoT cards that are bound to the target traffic pool, and then the identifiers of the plurality of IoT cards are predicted according to the method provided in the embodiment of the present application. Total consumption flow during the fee period. That is, the plurality of user identifiers may also be identifiers of a plurality of Internet of Things cards in the Internet of Things that are bound to the target traffic pool and activated during the billing cycle.
具体地,当采用上述第二种实现方式确定所述多个物联网卡的标识在计费周期内的预测总消费流量时,从与该目标流量池绑定的所有物联网卡的标识中确定在计费周期内的激活的多个物联网卡的标识包括:将与该目标流量池绑定且在所述至少一个第一时间区间所在的时间范围内激活的物联网卡的标识确定为所述多个物联网卡的标识。Specifically, when the foregoing second implementation manner is used to determine the predicted total consumption traffic of the identifiers of the plurality of Internet of Things cards in the billing period, the identifiers of all the Internet of Things cards bound to the target traffic pool are determined. The identification of the activated plurality of IoT cards during the billing period includes: determining an identifier of the IoT card that is bound to the target traffic pool and activated within a time range in which the at least one first time interval is located The identification of multiple IoT cards.
其中,与该目标流量池绑定且在所述至少一个第一时间区间所在的时间范围内激活的物联网卡是指与该目标流量池绑定的且在所述至少一个第一时间区间所在的时间范围内处于过激活状态的物联网卡,所述处于过激活状态的物联网卡包括在所述至少一个第一时间区间所在的时间范围内一直处于激活状态且与该目标流量池绑定的物联网卡,或者在所述至少一个第一时间区间所在的时间范围内的一段或多段时间或某个时刻处于激活状态且与该目标流量池绑定的物联网卡。The IoT card that is bound to the target traffic pool and activated in the time range in which the at least one first time interval is located is bound to the target traffic pool and is located in the at least one first time interval. An IoT card that is in an active state within a time range, the IoT card in an overactive state includes being active and bound to the target traffic pool for a time range in which the at least one first time interval is located An IoT card, or an IoT card that is active and bound to the target traffic pool for one or more times or at a certain time in the time range in which the at least one first time interval is located.
具体地,在计费周期内物联网卡使用的过程中,可以实时对与该标流量池的物联网卡的状态变更情况进行记录,得到状态变更表,之后从该状态变更表中确定与目标流量池绑定且 在所述至少一个第一时间区间所在的时间范围内激活的物联网卡的总数量。其中,从该状态变更表中确定与目标流量池绑定且在所述至少一个第一时间区间所在的时间范围内激活的物联网卡包括:从该状态变更表中确定原状态为激活状态且状态变更时间在计费周期内的与目标流量池绑定的第四物联网卡;从该状态变更表中确定目的状态为激活状态且状态变更时间在计费周期内的与目标流量池绑定的第五物联网卡;确定从计费周期的开始时间到当前时间点为止一直处于激活状态的与目标流量池绑定的第六物联网卡;将第四物联网卡、第五物联网卡和第六物联网卡确定为与目标流量池绑定且在所述至少一个第一时间区间所在的时间范围内激活的物联网卡。Specifically, during the use of the Internet of Things card in the billing cycle, the state change of the IoT card of the standard traffic pool can be recorded in real time, and a state change table is obtained, and then the target change table is determined and targeted. The total number of IoT cards that are bound by the traffic pool and activated during the time range in which the at least one first time interval is located. Determining, from the state change table, an IoT card that is bound to the target traffic pool and activated in a time range in which the at least one first time interval is located includes: determining, from the state change table, that the original state is an active state The fourth IoT card bound to the target traffic pool in the billing period; the state change table determines that the destination state is the active state and the state change time is bound to the target traffic pool in the billing period. The fifth Internet of Things card; determining the sixth Internet of Things card bound to the target traffic pool that has been active from the start time of the billing period to the current time point; the fourth Internet of Things card, the fifth Internet of Things card And the sixth Internet of Things card is determined to be an IoT card that is bound to the target traffic pool and activated within a time range in which the at least one first time interval is located.
进一步地,所述多个用户标识的流量套餐包括不同业务类型的流量套餐时,并需要对所述多个用户标识的目标业务类型的流量套餐进行调整时,还可以根据计费周期内当前时间点之前所述多个用户标识中每个用户标识的流量消费记录,预测所述多个用户标识在计费周期内的目标业务类型的消费流量的总和,得到目标业务类型的预测总消费流量,进而根据所述多个用户标识在计费周期内的目标业务类型的预测总消费流量和每个用户标识对应的目标业务类型的流量套餐,对所述多个用户标识的目标业务类型的流量套餐进行调整。其中,目标业务类型可以为所述多个用户标识支持的多个业务类型中的任一业务类型。Further, when the data package of the plurality of user identifiers includes a traffic package of different service types, and the traffic package of the target service type of the multiple user identifiers needs to be adjusted, the current time in the charging cycle may also be used. The traffic consumption record of each user identifier in the plurality of user identifiers is predicted, and the total consumption traffic of the target service type of the plurality of user identifiers in the billing period is predicted, and the predicted total consumption traffic of the target service type is obtained. And according to the predicted total consumption traffic of the target service type in the charging period and the data package of the target service type corresponding to each user identifier, the traffic plan of the target service type identified by the multiple users Make adjustments. The target service type may be any one of multiple service types supported by the multiple user identifiers.
在一个实施例中,所述多个用户标识支持的业务类型还可以根据具体的增值业务类型进行分类,例如,物联网支持的业务类型可以包括音乐类型、视频类型和短消息类型等。当然,该物联网支持的业务类型也可以按照其他类型进行分类,本申请实施例对此不做限定。In an embodiment, the service types supported by the multiple user identifiers may also be classified according to specific value-added service types. For example, the service types supported by the Internet of Things may include a music type, a video type, and a short message type. Of course, the service type supported by the Internet of Things can also be classified according to other types, which is not limited in this embodiment of the present application.
在另一实施例中,当所述多个用户标识为物联网中的多个物联网卡的标识时,所述多个用户标识支持的业务类型还可以包括定向业务类型和公网业务类型。其中,定向业务类型是指访问该物联网的业务,公网业务是指访问该物联网之外的业务。而且实际应用中,定向业务类型的业务通常由物联网服务商付费,对于物联网用户来说通常是免费的,而公网业务类型的业务则需要由物联网用户付费。In another embodiment, when the plurality of users are identified as identifiers of the plurality of Internet of Things cards in the Internet of Things, the service types supported by the plurality of user identifiers may further include a targeted service type and a public network service type. The directional service type refers to the service accessing the Internet of Things, and the public network service refers to the service outside the Internet of Things. Moreover, in practical applications, the service of the targeted service type is usually paid by the Internet of Things service provider, and is generally free for the Internet of Things users, while the business of the public network type needs to be paid by the Internet of Things users.
具体地,在根据计费周期内当前时间点之前所述多个用户标识中每个用户标识的流量消费记录,确定所述多个用户标识在计费周期内的目标业务类型的预测总消费流量时,仅需将上述实现过程中针对所述多个用户标识的全部业务类型的流量统计过程和流量预测过程,切换为针对所述多个用户标识的目标业务类型的流量统计过程和流量预测过程即可,本申请实施例在此不再赘述。Specifically, determining a predicted total consumption flow of the target service type of the multiple user identifiers in the charging period according to the traffic consumption record of each of the plurality of user identifiers before the current time point in the charging period The traffic statistics process and the traffic prediction process for all service types of the multiple user identifiers in the foregoing implementation process are switched to the traffic statistics process and the traffic prediction process for the target service type of the multiple user identifiers. The embodiments of the present application are not described herein again.
在一个具体实施例中,当所述多个用户标识为物联网中与目标流量池绑定的且在计费周期内激活的多个物联网卡的标识,且采用上述第二种实现方式确定所述多个物联网卡的标识在计费周期内的预测总消费流量时,参见图4,对于所述至少一个第一时间区间中的任一第一时间区间D,可以由物联网应用中的应用模块411获取与该目标流量池绑定的所述多个物联网卡在该第一时间区间D内的话单文件,并将与该目标流量池绑定的所述多个物联网卡在该第一时间区间D内的话单文件,通过kafka消息发送给流量池统计分析模块413,由流量池统计分析模块413根据所述多个物联网卡在该第一时间区间D内的话单文件,对所述多个物联网卡的标识在该第一时间区间D内的实际消费流量进行统计,得到该目标流量池在该第一时间区间D内的实际消费流量。之后,可以根据所述多个物联网卡的标识在至少一个第一时间区间内的实际消费流量,确定所述多个物联网卡的标识在至少一个第二时间区间内的预测消费流量,并将所述多个物联网卡的标识在所述至少一个第一时间区间内的实际消费流量和在所述至少一个第二时间区间内的预测消费流量进行相加,得到所述多个物联网网卡的标 识在该计费周期内的总消费流量。In a specific embodiment, when the plurality of users are identified as identifiers of the plurality of Internet of Things cards that are bound to the target traffic pool and activated during the charging period in the Internet of Things, and determined by using the second implementation manner. When the identifiers of the plurality of Internet of Things cards are used to predict the total consumption traffic during the billing period, referring to FIG. 4, for any of the at least one first time interval, the first time interval D may be used by the Internet of Things application. The application module 411 acquires the bill file of the plurality of Internet of Things cards bound to the target traffic pool in the first time interval D, and binds the plurality of Internet of Things bound to the target traffic pool. The CDR file in the first time interval D is sent to the traffic pool statistics analysis module 413 by the kafka message, and the traffic pool statistics analysis module 413 is configured according to the CDR file in the first time interval D according to the plurality of Internet of Things cards. The actual consumption flow rate of the identifier of the plurality of Internet of Things cards in the first time interval D is counted, and the actual consumption flow rate of the target traffic pool in the first time interval D is obtained. Then, determining, according to the actual consumption flow rate of the identifiers of the plurality of Internet of Things cards in the at least one first time interval, the predicted consumption flows of the identifiers of the plurality of Internet of Things cards in at least one second time interval, and Adding the actual consumption flow rate of the identifiers of the plurality of Internet of Things cards in the at least one first time interval and the predicted consumption flow rate in the at least one second time interval to obtain the plurality of Internet of Things The NIC identifies the total consumption traffic during the billing period.
步骤603:根据该预测总消费流量及所述多个用户标识中每个用户标识对应的流量套餐,向该运营商的计费系统发送流量套餐调整指示信息,以指示该计费系统为所述多个用户标识中至少一个用户标识调整流量套餐,以使所述多个用户标识在所述计费周期内按照调整后的流量套餐与所述运营商进行结算的结算资费小于按照调整前的流量套餐与该运营商进行结算的结算资费。Step 603: Send, according to the predicted total consumption traffic and the traffic plan corresponding to each user identifier of the multiple user identifiers, the traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system is the At least one of the plurality of user identifiers adjusts the traffic plan, so that the settlement fee of the plurality of user identifiers that are settled with the operator according to the adjusted traffic plan in the billing period is less than the traffic according to the adjustment The settlement fee for settlement of the package with the operator.
其中,每个用户标识的流量套餐包括在计费周期内的套餐内流量数量、套餐外流量单价或套餐价格。该流量套餐调整指示信息包含所述至少一个用户标识和所述至少一个用户标识的新流量套餐,所述至少一个用户标识和所述至少一个用户标识的新流量套餐是根据该预测总消费流量及所述多个用户标识中每个用户标识对应的流量套餐确定得到,且所述至少一个用户标识对应的流量套餐所包含的套餐内流量数量不同于所述至少一个用户标识的新流量套餐所包含的套餐内流量数量。The traffic package of each user identifier includes the amount of traffic in the package within the charging period, the unit price of the package outside the package, or the price of the package. The traffic plan adjustment indication information includes the at least one user identifier and the new traffic package of the at least one user identifier, and the at least one user identifier and the new traffic package of the at least one user identifier are based on the predicted total consumption flow and The traffic plan corresponding to each user identifier of the plurality of user identifiers is determined, and the traffic package included in the traffic package corresponding to the at least one user identifier is different from the new traffic package included in the at least one user identifier. The amount of traffic within the package.
其中,该流量套餐调整指示信息可以通过与运营商之间的接口,按照与运营商之间预先协商的通信协议向运营商的计费系统发送。例如,该流量套餐调整指示信息可以通过超文本传输协议(Hyper Text Transfer Protocol,HTTP)的简单对象访问协议(Simple Object Access Protocol,SOAP)接口,按照HTTP的SOAP协议向运营商发送。调整指示信息可以形如:The traffic package adjustment indication information may be sent to the operator's charging system according to a communication protocol negotiated with the operator through an interface with the operator. For example, the traffic plan adjustment indication information can be sent to the operator according to the Simple Object Access Protocol (SOAP) interface of the Hyper Text Transfer Protocol (HTTP) according to the SOAP protocol of HTTP. The adjustment indication information can be shaped like:
Figure PCTCN2019075774-appb-000008
Figure PCTCN2019075774-appb-000008
具体地,根据该预测总消费流量及所述多个用户标识中每个用户标识对应的流量套餐,向该运营商的计费系统发送流量套餐调整指示信息包括:Specifically, the sending the data package adjustment indication information to the charging system of the operator according to the predicted total consumption traffic and the traffic package corresponding to each user identifier of the multiple user identifiers includes:
步骤6031:累加所述多个用户标识中每个用户标识对应的流量套餐中的套餐内流量数量,得到总套餐流量。Step 6031: Accumulate the amount of the in-package traffic in the data package corresponding to each user identifier of the multiple user identifiers, and obtain the total package traffic.
具体地,累加所述多个用户标识中每个用户标识对应的流量套餐中的套餐内流量数量,得到总套餐流量包括:根据所述多个用户标识中每个用户标识的流量套餐,确定所述多个用户标识中每个用户标识对应的流量套餐中的套餐内流量数量,将所述多个用户标识中每个用户标识对应的流量套餐中的套餐内流量数量相加,得到该总套餐流量。Specifically, the amount of the in-package traffic in the data package corresponding to each of the plurality of user identifiers is accumulated, and the total package traffic is obtained by: determining, according to the traffic package of each user identifier of the multiple user identifiers, The amount of the in-package traffic in the traffic plan corresponding to each user identifier of the plurality of user identifiers, and the amount of the in-package traffic in the traffic package corresponding to each of the plurality of user identifiers is added to obtain the total package. flow.
进一步地,当所述多个用户标识对应的流量套餐相同时,还可以确定所述多个用户标识中一个用户标识对应的流量套餐中的套餐内流量数量,然后将该用户标识对应的流量套餐中的套餐内流量数量与所述多个用户标识的数量进行相乘,得到该总套餐流量。Further, when the traffic packages corresponding to the multiple user identifiers are the same, the number of traffic in the package in the traffic package corresponding to one of the multiple user identifiers may be determined, and then the traffic package corresponding to the user identifier is determined. The amount of traffic in the package in the package is multiplied by the number of the plurality of user identifiers to obtain the total package traffic.
进一步地,当通过上述步骤301中的第一种实现方式确定所述多个用户标识在计费周期内的预测总消费流量时,在计费周期内,还可以实时地对当前时间区间的套餐流量和计费周期的套餐流量进行累计。其中,当前时间区间的套餐流量是所述多个用户标识在每个时间区间的平均套餐流量之和。例如,假设每个用户标识每月的套餐内流量为600M流量,且当月有30天,则每个用户标识平均每天的套餐流量为600M/30=20M,若所述多个用户标识的数量为10,则所述多个用户标识每天的套餐流量为20M*10=200M。其中,计费周期的套餐流 量是指所述多个用户标识从计费周期的第一个时间区间到当前时间区间的时间范围内的套餐流量之和。例如,若当天是月中,每个用户标识每月的套餐内流量为200M,那么每个用户标识从第一天到当天的时间范围内的套餐流量值为200M/2=100M,若所述多个用户标识的数量为10,则计费周期的套餐流量为100M*10=1000M。通过累计当前时间区间的套餐流量和计费周期的套餐流量,能够及时反映所述多个用户标识的套餐流量随时间的变化情况。Further, when determining, by using the first implementation in the foregoing step 301, the predicted total consumption traffic of the multiple user identifiers in the charging period, in the charging period, the current time interval may also be configured in real time. The package traffic for traffic and billing cycles is accumulated. The package traffic of the current time interval is the sum of the average package flows of the multiple user identifiers in each time interval. For example, if each user identifies monthly traffic within the package is 600M traffic, and there are 30 days in the current month, the average daily package traffic per user identity is 600M/30=20M, if the number of the multiple user identifiers is 10, the plurality of user identifiers have a daily package flow rate of 20M*10=200M. The packet flow of the charging period refers to the sum of the package flows in the time range from the first time interval of the charging period to the current time interval. For example, if the current day is the middle of the month, each user ID has a monthly in-package flow of 200M, then the package flow value of each user identifier from the first day to the current time is 200M/2=100M, if the If the number of multiple user identifiers is 10, the package traffic of the billing cycle is 100M*10=1000M. By accumulating the package traffic of the current time interval and the package traffic of the billing cycle, it is possible to timely reflect the change of the package traffic of the plurality of user identifiers over time.
进一步地,当本申请实施例的方法应用于物联网中,且物联网中的物联网卡与流量池绑定时,还可以实时累计目标流量池在当前时间区间的套餐流量和在计费周期的套餐流量,以及时反映目标流量池的套餐流量随时间的变化情况。其中,目标流量池在当前时间区间的套餐流量可以根据与目标流量池绑定的物联网卡在当前时间区间内的激活数量确定得到,目标流量池在计费周期的套餐流量可以根据与目标流量池绑定的物联网卡在计费周期内的激活数量确定得到。Further, when the method of the embodiment of the present application is applied to the Internet of Things, and the IoT card in the Internet of Things is bound to the traffic pool, the package traffic of the target traffic pool in the current time interval and the charging period can be accumulated in real time. The package traffic, which reflects the change in the package traffic of the target traffic pool over time. The packet traffic of the target traffic pool in the current time interval may be determined according to the activation quantity of the IoT card bound to the target traffic pool in the current time interval, and the packet traffic of the target traffic pool in the charging cycle may be based on the target traffic. The number of activations of the pool-bound IoT card during the billing cycle is determined.
在一个实施例中,参见图7,在计费周期内物联网卡使用的过程中,在对目标流量池消费的流量进行累计和预测的同时,还可以实时地获取与目标流量池绑定的物联网卡的状态变更数据,根据状态变更数据,对计费周期内与目标流量池绑定的物联网卡的卡激活数进行统计,得到激活数量,并根据激活数量对计费周期内的套餐流量进行累计。In an embodiment, referring to FIG. 7, during the use of the IoT card in the billing cycle, the traffic consumed by the target traffic pool is accumulated and predicted, and the target traffic pool is also bound in real time. The status change data of the IoT card is counted according to the status change data, and the card activation number of the IoT card bound to the target traffic pool in the billing period is counted, and the activation quantity is obtained, and the package in the billing period is determined according to the activation quantity. The traffic is accumulated.
进一步地,当所述多个用户标识包括不同业务类型的流量套餐,并需要对所述多个用户标识的目标业务类型的流量套餐进行调整时,还可以根据所述多个用户标识对应的目标业务类型的流量套餐,确定所述多个用户标识在计费周期内的目标业务类型的总套餐流量,然后根据所述多个用户标识在计费周期内的目标业务类型的预测总消费流量和总套餐流量,对所述多个用户标识的目标业务类型的流量套餐进行调整。Further, when the plurality of user identifiers include the traffic plan of different service types, and the traffic plan of the target service type of the multiple user identifiers needs to be adjusted, the target corresponding to the multiple user identifiers may also be used. a service type traffic package, determining a total package traffic of the target service type of the plurality of user identifiers in a billing period, and then predicting a total consumption traffic amount of the target service type in the billing period according to the plurality of user identifiers The total package traffic is adjusted for the traffic plan of the target service type of the plurality of user identifiers.
步骤6032:确定该预测总消费流量和该总套餐流量之间的第一差值。Step 6032: Determine a first difference between the predicted total consumption flow and the total package flow.
步骤6033:根据该第一差值,向该运营商的计费系统发送该流量套餐调整指示信息。Step 6033: Send the data package adjustment indication information to the charging system of the operator according to the first difference.
通过确定该预测总消费流量和该总套餐流量之间的第一差值,可以将该预测总消费流量和该总套餐流量进行比较,然后根据比较结果对计费周期的流量套餐自动进行调整。By determining the first difference between the predicted total consumption flow and the total package flow, the predicted total consumption flow can be compared with the total package flow, and then the flow plan of the charging cycle is automatically adjusted according to the comparison result.
例如,参见图7,以物联网管理的目标流量池为例,在计费周期内物联网卡使用的过程中,可以一边对目标流量池的总消费流量进行累计和预测,得到目标流量池在计费周期内的预测总消费流量,一边对目标流量池的套餐流量进行累计,得到目标流量池在计费周期内的总套餐流量,当当前时间点为需要对目标流量池的流量套餐进行调整的时间时,可以将目标流量池在计费周期内的预测总消费流量和总套餐流量进行比较,然后根据比较结果对目标流量池的流量套餐进行调整。For example, referring to Figure 7, taking the target traffic pool managed by the Internet of Things as an example, during the use of the IoT card in the billing cycle, the total consumption traffic of the target traffic pool can be accumulated and predicted, and the target traffic pool is obtained. The total estimated consumption flow in the billing cycle is accumulated, and the total package traffic of the target traffic pool in the billing period is obtained. When the current time point is adjusted, the traffic plan of the target traffic pool needs to be adjusted. At the time, the target total traffic pool can be compared with the total package traffic in the billing cycle, and then the traffic plan of the target traffic pool is adjusted according to the comparison result.
进一步地,在向该运营商的计费系统发送该流量套餐调整指示信息之前,还可以先判断该第一差值是否大于或等于预设阈值,当该第一差值大于或等于该预设阈值时,再根据确定调整信息,并根据调整信息向该运营商的计费系统发送该流量套餐调整指示信息。其中,该调整信息可以包括所述多个用户标识中待调整的至少一个用户标识以及所述至少一个用户标识的新流量套餐。其中,该预设阈值可以预先设置,且可以根据实际需要进行设置。例如,该预设阈值可以设置为0KB、100KB或500KB等。Further, before the sending the data package adjustment indication information to the charging system of the operator, the first difference is greater than or equal to the preset threshold, and the first difference is greater than or equal to the preset. At the threshold, the adjustment information is further determined according to the determination, and the traffic package adjustment indication information is sent to the charging system of the operator according to the adjustment information. The adjustment information may include at least one user identifier to be adjusted among the multiple user identifiers and a new traffic package of the at least one user identifier. The preset threshold may be preset and may be set according to actual needs. For example, the preset threshold may be set to 0 KB, 100 KB, or 500 KB, and the like.
也即是,可以在该预测总消费流量和该总套餐流量之间的第一差值大于或等于该预设阈值时,才对计费周期的流量套餐进行调整,当小于该预设阈值时,说明两者差值较小,在当前流量套餐下的结算资费与总流量套餐的价格相差不大,这种情况下,可以无需对计费周期的流量套餐进行调整。In other words, when the first difference between the predicted total consumption traffic and the total package traffic is greater than or equal to the preset threshold, the traffic plan of the charging cycle is adjusted, when the preset threshold is less than , indicating that the difference between the two is small, the settlement tariff under the current traffic package is not much different from the total traffic package. In this case, the traffic schedule of the billing cycle may not be adjusted.
具体地,根据该第一差值,向该运营商的计费系统发送该流量套餐调整指示信息可以包括以下三种实现方式:Specifically, sending the data package adjustment indication information to the charging system of the operator according to the first difference may include the following three implementation manners:
第一种实现方式:若多个用户标识对应的流量套餐不同,则可以在该第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时,确定该预测总消费流量和该总套餐流量之间的第一比值,然后根据该第一比值,确定所述至少一个用户标识的新流量套餐,并根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向该运营商的计费系统发送该流量套餐调整指示信息,以指示该计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。 The first implementation manner is: if the traffic packets corresponding to the multiple user identifiers are different, the prediction may be determined when the first difference is greater than or equal to a preset threshold and the at least one user identifier is the multiple user identifiers. a first ratio between the total consumption traffic and the total package traffic, and then determining, according to the first ratio, a new traffic package of the at least one user identity, and according to the at least one user identity and the at least one user identity The new traffic package sends the traffic plan adjustment indication information to the charging system of the operator to instruct the charging system to adjust the traffic plan of the at least one user identifier to a corresponding new data package.
其中,所述至少一个用户标识为所述多个用户标识表示可以对所述多个用户标识的流量套餐统一进行调整,而且,可以按照该预测总消费流量和该总套餐流量之间的比例,对所述多个用户标识中的每个用户标识的流量套餐进行等比例调整,从而实现了根据所述多个用户标识的总体流量消费情况,对每个用户标识的流量套餐进行适应性调整,这种调整方式能够对每个用户标识的流量套餐进行精确调整。The at least one user identifier indicates that the plurality of user identifiers can uniformly adjust the traffic packages of the plurality of user identifiers, and, according to the ratio between the predicted total consumption traffic and the total package traffic, Performing a proportional adjustment on the traffic package of each of the plurality of user identifiers, thereby implementing adaptive adjustment of the traffic package of each user identifier according to the overall traffic consumption of the multiple user identifiers. This adjustment method allows for precise adjustment of the traffic plan for each user ID.
进一步地,根据该第一比值,确定所述至少一个用户标识的新流量套餐之前,还可以先对该第一比值进行四舍五入处理,得到小数点后的位数为预设位数的数值,再根据处理后第一比值,确定所述至少一个用户标识的新流量套餐。其中,该预设位数可以预先设置,例如,该预设位数可以为0、1或2等。Further, before determining the new traffic package of the at least one user identifier, the first ratio may be rounded off, and the number of digits after the decimal point is a preset number of digits, and then according to the first ratio. After processing the first ratio, determining a new traffic package of the at least one user identifier. The preset number of bits can be preset. For example, the preset number of bits can be 0, 1, or 2.
具体地,根据该第一比值,确定所述至少一个用户标识的新流量套餐的操作可以包括:对于所述至少一个用户标识中的任一用户标识A,确定用户标识A对应的流量套餐中的套餐内流量数量和该第一比值的乘积,根据该乘积,从该运营商提供的多个流量套餐中,确定出套餐内流量数量与该乘积之间的差值最小的流量套餐作为用户标识A的流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于该乘积且与该乘积之间的差值最小的流量套餐作为用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得用户标识A在该计费周期内的总消费流量等于该乘积的情况下与该运营商之间的结算资费最小的流量套餐作为用户标识A的流量套餐。Specifically, the determining, according to the first ratio, the operation of the new traffic plan of the at least one user identifier may include: determining, in any one of the at least one user identifier, the traffic plan corresponding to the user identifier A The product of the amount of traffic in the package and the first ratio, according to the product, from the plurality of traffic packages provided by the operator, the traffic package having the smallest difference between the number of traffic in the package and the product is determined as the user identifier A. a traffic package, or determining, from the plurality of traffic packages, a traffic package having a traffic quantity greater than or equal to the product and having a smallest difference from the product as a traffic package of the user identifier A, or from the In the plurality of traffic packages, the traffic plan with the minimum settlement tariff between the operator and the operator in the case where the total consumption flow of the user identifier A in the charging period is equal to the product is determined as the traffic package of the user identifier A.
例如,如下表6所示,假设有3个用户标识,根据这3个用户标识的当前流量套餐确定得到:用户标识1的流量套餐为20元每月200M,用户标识2的流量套餐为20元每月500M,用户标识3的流量套餐为100元每月1G,则这3个用户标识在计费周期的总套餐流量为1.7G。另外,假设当前时间点预测结果为:用户标识1在计费周期内的预测总消费流量为150M,用户标识2在计费周期内的预测总消费流量为600M,用户标识3在计费周期内的预测总消费流量为800M,则这3个用户标识在计费周期的总消费流量为1.55G。由此可知,这3个用户标识在计费周期的总消费流量和总套餐流量的第一比值=1.55G/1.7G=0.91,相应地,需要将用户标识1的套餐流量调整为200M*0.91=182M,将用户标识2的套餐流量调整为495M*0.91=495M,将用户标识3的套餐流量调整为1G*0.91=910M。For example, as shown in the following Table 6, it is assumed that there are three user identifiers, and the current traffic package of the three user identifiers is determined: the traffic package of the user identifier 1 is 20 yuan per month, and the traffic package of the user identity 2 is 20 yuan. 500M per month, the traffic package of User ID 3 is 100 yuan per month, and the total package traffic of these 3 user IDs in the billing cycle is 1.7G. In addition, it is assumed that the current time point prediction result is: the predicted total consumption traffic of the user identifier 1 in the billing period is 150M, the predicted total consumption traffic of the user identifier 2 in the billing period is 600M, and the user identifier 3 is within the billing period. The predicted total consumption flow is 800M, and the total consumption flow of the three user IDs in the billing cycle is 1.55G. It can be seen that the first ratio of the total consumption traffic of the three user identifiers in the billing cycle to the total package traffic is 1.55G/1.7G=0.91, and accordingly, the package traffic of the user identifier 1 needs to be adjusted to 200M*0.91. =182M, the package traffic of user identification 2 is adjusted to 495M*0.91=495M, and the package traffic of user identification 3 is adjusted to 1G*0.91=910M.
假设运营商为所述多个用户标识提供的多个流量套餐中包括套餐内流量数量分别等于182M、495M和910M的流量套餐,则即可将套餐内流量数量等于182M的流量套餐确定为用户标识1的新流量套餐,将将套餐内流量数量等于495M的流量套餐确定为用户标识2的新流量套餐,并将套餐内流量数量等于910M的流量套餐确定为用户标识3的新流量套餐。It is assumed that the plurality of data packages provided by the operator for the multiple user identifiers include the traffic packages with the number of traffic in the package equal to 182M, 495M, and 910M, respectively, and the traffic package with the number of traffic within the package equal to 182M can be determined as the user identifier. The new traffic package of 1 will determine the traffic package with the traffic volume equal to 495M in the package as the new traffic package of user identification 2, and determine the traffic package with the traffic quantity equal to 910M in the package as the new traffic package of user identification 3.
表6Table 6
  当前流量套餐Current data package 预测结果forecast result 新流量套餐New traffic package
用户标识1User ID 1 200M200M 150M150M 182M182M
用户标识2User ID 2 500M500M 600M600M 495M495M
用户标识3User ID 3 1G1G 800M800M 910M910M
总值Total value 1.7G1.7G 1.55G1.55G  
另外,对于上述用户标识3来说,当所述多个流量套餐中不包括套餐内流量数量等于910M的流量套餐,则可以将套餐内流量数量与910M之间的差值最小的流量套餐,比如套餐内流量数量等于900M的流量套餐,确定为用户标识3的新流量套餐。或者,可以将套餐内流量数量大于910M且与910M之间的差值最小的流量套餐,比如套餐内流量数量等于950M的流量套餐,确定为用户标识3的新流量套餐。或者,从所述多个流量套餐中选取能够使得用户标识3在计费周期内的总消费流量等于910M的情况下与运营商的结算资费最小的流量套餐确定为用户标识3的新流量套餐。In addition, for the user identifier 3, when the plurality of traffic packages does not include the traffic package with the number of traffic in the package equal to 910M, the traffic package with the smallest difference between the traffic volume in the package and the 910M, for example, may be used. The traffic plan with the number of traffic in the package is equal to 900M, and it is determined as the new traffic package of User ID 3. Alternatively, a traffic package with a traffic volume greater than 910M and a minimum difference between the 910M and the 910M, such as a traffic package with a traffic volume equal to 950M, may be determined as a new traffic package of the user identity 3. Alternatively, a traffic plan that can minimize the total settlement traffic of the user identifier 3 in the billing period is equal to 910M, and the traffic bill with the lowest settlement tariff of the operator is determined as the new traffic package of the user identifier 3.
第二种实现方式:若所述多个用户标识对应的流量套餐相同,则可以在该第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时,确定该预测总消费流量和所述至少一个用户标识的数量之间的第二比值,然后根据该第二比值,确定所述至少一个用户标识的新流量套餐,根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向该运营商的计费系统发送该流量套餐调整指示信息,以指示该计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。 The second implementation manner is: when the traffic packets corresponding to the multiple user identifiers are the same, the first difference is greater than or equal to a preset threshold, and the at least one user identifier is determined by the multiple user identifiers. Determining a second ratio between the total consumption traffic and the quantity of the at least one user identifier, and then determining, according to the second ratio, a new traffic package of the at least one user identity, according to the at least one user identity and the The at least one user-identified new data package sends the data package adjustment indication information to the charging system of the operator to instruct the charging system to adjust the traffic plan of the at least one user identifier to a corresponding new data package.
其中,所述至少一个用户标识为所述多个用户标识表示可以对所述多个用户标识的流量套餐统一进行调整,而且,可以根据所述多个用户标识中每个用户标识在前计费周期内的平均消费流量,调整所述多个用户标识的流量套餐,从而可以实现根据所述多个用户标识中每个用户标识的平均流量消费情况,对每个用户标识的流量套餐统一进行调整,这种调整方式可以减小计算量,提高调整效率。The at least one user identifier indicates that the plurality of user identifiers can be uniformly adjusted for the traffic metrics of the multiple user identifiers, and the foregoing ones of the plurality of user identities can be pre-charged according to the user identifiers. The average consumption flow in the period is adjusted, and the traffic package of the multiple user identifiers is adjusted, so that the average traffic consumption of each user identifier in the multiple user identifiers may be adjusted, and the traffic package of each user identifier is uniformly adjusted. This adjustment method can reduce the amount of calculation and improve the adjustment efficiency.
进一步地,根据该第二比值,确定所述至少一个用户标识的新流量套餐之前,还可以先对该第二比值进行四舍五入处理,得到小数点后的位数为预设位数的数值,再根据处理后第二比值,确定所述至少一个用户标识的新流量套餐。其中,该预设位数可以预先设置,例如,该预设位数可以为0、1或2等。Further, according to the second ratio, before determining the new traffic package of the at least one user identifier, the second ratio may be rounded off, and the number of digits after the decimal point is a preset number of digits, and then After processing the second ratio, determining a new traffic package of the at least one user identifier. The preset number of bits can be preset. For example, the preset number of bits can be 0, 1, or 2.
具体地,根据该第二比值,确定所述至少一个用户标识的新流量套餐的操作可以包括:对于所述至少一个用户标识中的任一用户标识A,根据该第二比值,从该运营商提供的多个流量套餐中,确定出套餐内流量数量与该第二比值之间的差值最小的流量套餐作为该用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于该第二比值且与该第二比值之间的差值最小的流量套餐作为该用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得该用户标识A在该计费周期内的总消费流量等于该第二比值的情况下与该运营商的结算资费最小的流量套餐作为该用户标识A的新流量套餐。Specifically, the determining, according to the second ratio, the operation of the new traffic package of the at least one user identifier may include: for any one of the at least one user identifier, according to the second ratio, from the operator In the plurality of data packages provided, determining a traffic package having the smallest difference between the number of traffic in the package and the second ratio as a new traffic package of the user identifier A, or determining from the plurality of traffic packages a traffic package having a traffic quantity greater than or equal to the second ratio and having a smallest difference from the second ratio as a traffic package of the user identifier A, or determining, from the plurality of traffic packages, the user The traffic plan with the smallest settlement tariff with the operator in the case where the total consumption flow in the charging period is equal to the second ratio is used as the new traffic package of the user identifier A.
例如,假设目标流量池在当月的总套餐流量为20M,预测总消费流量为244KB,与目标流量池绑定的物联网卡在当月的激活数量为2,则该第二比值为244KB/2=122KB,当运营商为目标流量池提供的多个流量套餐中包括套餐内流量数量等于122KB的流量套餐时,则可以将套餐内流量数量等于122KB的流量套餐确定为这2个物联网卡的标识的新流量套餐,并根据这2个物联网卡的标识和2个物联网卡的标识的新流量套餐,向该运营商的计费系统发送流量套餐调整指示信息,以指示该计费系统将所述至少一个用户标识的流量套餐调整为对应的 新流量套餐。示例的,调整后的流量套餐变更表可以如下7所示:For example, suppose the target traffic pool has a total package traffic of 20M in the current month, the predicted total consumption traffic is 244KB, and the number of activations of the IoT card bound to the target traffic pool in the current month is 2, then the second ratio is 244KB/2= 122KB. When the traffic plan provided by the operator for the target traffic pool includes the traffic plan with the number of traffic in the package equal to 122KB, the traffic plan with the number of traffic within the package equal to 122KB can be determined as the identifier of the two IoT cards. The new traffic package, and according to the identification of the two IoT cards and the new traffic package of the identification of the two IoT cards, send the traffic package adjustment indication information to the carrier's charging system to indicate that the charging system will The traffic package of the at least one user identifier is adjusted to a corresponding new traffic package. For example, the adjusted traffic plan change table can be as follows:
表7Table 7
字段名Field name 流量套餐变更记录Traffic plan change record
RATE_PLAN_IDRATE_PLAN_ID 112112
RATE_PLAN_NAMERATE_PLAN_NAME 12341234
RATE_PLAN_TYPERATE_PLAN_TYPE 1(月付)1 (monthly payment)
TOTAL_VOLUMETOTAL_VOLUME 122KB122KB
第三种实现方式:当该第一差值大于或等于预设阈值时,确定该第一差值与至少一个用户标识的数量之间的第三比值,根据该第三比值,确定所述至少一个用户标识的新流量套餐,根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向该运营商的计费系统发送流量套餐调整指示信息,以指示该计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。 a third implementation manner: when the first difference is greater than or equal to a preset threshold, determining a third ratio between the first difference and the quantity of the at least one user identifier, and determining the at least the third ratio according to the third ratio a new traffic package of the user identifier, sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system is to be The traffic package of the at least one user identifier is adjusted to the corresponding new traffic package.
在第三种实现方式中,所述至少一个用户标识可以为所述多个用户标识,也可以为所述多个用户标识中的部分用户标识,当所述至少一个用户标识为所述多个用户标识中的部分用户标识,可以实现仅对部分用户标识的流量套餐进行调整,而无需对全部用户标识的流量套餐均进行调整,从而可以简化调整操作,提高调整效率。其中,所述至少一个用户标识可以由用户配置,也可以由系统默认设置,或者由系统根据预设策略选择得到。In a third implementation manner, the at least one user identifier may be the multiple user identifiers, or may be part of the multiple user identifiers, when the at least one user identifier is the multiple A part of the user identifiers in the user identifier can be adjusted only for the traffic packets of some user identifiers, and the traffic packages of all the user identifiers need not be adjusted, thereby simplifying the adjustment operation and improving the adjustment efficiency. The at least one user identifier may be configured by the user, may be set by the system by default, or may be selected by the system according to a preset policy.
其中,该第三比值是指所述至少一个用户标识中每个用户标识需要调整的套餐内流量,也即是,本发明实施例中,可以根据该第一差值,对所述至少一个用户标识的套餐内流量平均进行调整,使得每个用户标识调整的套餐内流量均相同。The third ratio is the in-package traffic that needs to be adjusted for each user identifier in the at least one user identifier, that is, in the embodiment of the present invention, the at least one user may be configured according to the first difference. The traffic within the identified package is adjusted on average, so that the traffic within the package adjusted by each user ID is the same.
具体地,根据该第三比值,确定所述至少一个用户标识的新流量套餐的实现可以包括以下方式1)和方式2):Specifically, according to the third ratio, the implementation of determining the new traffic package of the at least one user identifier may include the following manners 1) and 2):
方式1):当该预测总消费流量小于该总套餐流量时,对于所述至少一个用户标识中的任一用户标识A,可以确定用户标识A对应的流量套餐中的套餐内流量数量与该第三比值之间的第二差值,然后根据该第二差值,从该运营商提供的多个流量套餐中,确定出套餐内流量数量与该第二差值之间的差值最小的流量套餐作为用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于该第二差值且与该第二差值之间的差值最小的流量套餐作为用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得用户标识A在该计费周期内的总消费流量等于该第二差值的情况下与该运营商之间的结算资费最小的流量套餐作为用户标识A的新流量套餐。Mode 1): When the predicted total consumption traffic is less than the total package traffic, for any user identifier A in the at least one user identifier, the number of in-package traffic in the traffic package corresponding to the user identifier A may be determined. a second difference between the three ratios, and then determining, according to the second difference, the traffic with the smallest difference between the amount of traffic in the package and the second difference from the plurality of data packages provided by the operator The package is used as a new traffic package of the user identifier A, or from the plurality of traffic packages, determining a traffic package in which the amount of traffic in the package is greater than or equal to the second difference and the difference between the second difference is the smallest As a new traffic package of the user identifier A, or from the plurality of traffic packages, determining that the total consumption flow of the user identifier A in the billing period is equal to the second difference, and the carrier The minimum traffic plan for settlement tariffs is used as the new traffic package for User ID A.
也即是,当该预测总消费流量小于该总套餐流量时,可以按照该第三比值减小每个用户标识的套餐内流量,以使所述多个用户标识的调整后的套餐流量所包含的总套餐流量趋近该预测总消费流量,即使得所述多个用户标识的调整后的套餐流量能够满足所述多个用户标识的实际流量消费需求,进而使得所述多个用户标识与运营商之间的结算资费减少。That is, when the predicted total consumption traffic is less than the total package traffic, the in-package traffic of each user identity may be decreased according to the third ratio, so that the adjusted package traffic of the multiple user identifiers is included. The total package traffic is approaching the predicted total consumption traffic, that is, the adjusted package traffic of the plurality of user identifiers can meet the actual traffic consumption demand of the multiple user identifiers, thereby enabling the multiple user identifiers and operations. The settlement fee between merchants is reduced.
方式2):当该预测总消费流量大于该总套餐流量时,对于所述至少一个用户标识中的任一用户标识A,可以确定用户标识A对应的流量套餐中的套餐内流量数量与该第三比值之间的和值,然后根据该和值,从该运营商提供的多个流量套餐中,确定出套餐内流量数量与该 和值之间的差值最小的流量套餐作为用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于该和值且与该和之间的差值最小的流量套餐作为用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得用户标识A在该计费周期内的总消费流量等于该和值的情况下与该运营商之间的结算资费最小的流量套餐作为用户标识A的新流量套餐。Mode 2): When the predicted total consumption traffic is greater than the total package traffic, for any user identifier A in the at least one user identifier, the number of traffic in the package in the traffic package corresponding to the user identifier A may be determined. The sum of the three ratios, and then according to the sum value, from the plurality of data packages provided by the operator, determine the traffic package with the smallest difference between the number of flows in the package and the sum value as the user identifier A. a new traffic package, or a traffic plan that determines that the amount of traffic in the package is greater than or equal to the sum and the difference from the sum is the new traffic plan of the user identifier A, or from the plurality of traffic packages. In the plurality of traffic packages, a traffic plan with the lowest settlement tariff between the operator and the operator in the case where the total consumption traffic of the user identifier A in the charging period is equal to the sum value is determined as the new user identifier A. Data Package.
也即是,当该预测总消费流量大于该总套餐流量时,可以按照该第三比值增加每个用户标识的套餐内流量,以使所述多个用户标识的调整后的套餐流量所包含的总套餐流量趋近该预测总消费流量,即使得所述多个用户标识的调整后的套餐流量能够满足所述多个用户标识的实际流量消费需求,进而使得所述多个用户标识与运营商之间的结算资费减少。That is, when the predicted total consumption traffic is greater than the total package traffic, the in-package traffic of each user identity may be increased according to the third ratio, so that the adjusted package traffic included in the multiple user identifiers is included. The total package traffic approaches the predicted total consumption traffic, that is, the adjusted package traffic of the plurality of user identifiers can meet the actual traffic consumption demand of the multiple user identifiers, thereby causing the multiple user identifiers and operators The settlement fee between the reduction is reduced.
进一步地,当所述多个用户标识的流量套餐包括不同业务类型的流量套餐,并需要对所述多个用户标识的目标业务类型的流量套餐进行调整时,还可以根据所述多个用户标识在计费周期内的目标业务类型的预测总消费流量和总套餐流量,确定至少一个用户标识的目标业务类型的新流量套餐,并根据所述至少一个用户标识和所述至少一个用户标识的目标业务类型的新流量套餐,向该运营商的计费系统发送流量套餐调整指示信息,该流量套餐调整指示信息包含所述至少一个用户标识和所述至少一个用户标识的目标业务类型的新流量套餐,以指示该计费系统将所述至少一个用户标识的目标业务类型的流量套餐调整为对应的新流量套餐。其中,每个用户标识的目标业务类型的流量套餐包括该用户标识在每个计费周期内的目标业务类型的套餐内流量数量、套餐价格以及套餐外流量单价。在具体实现过程中,仅需将上述实现过程中针对所述多个用户标识的全部业务类型的流量套餐调整过程,切换为针对所述多个用户标识的目标业务类型的流量套餐调整过程即可,本申请实施例在此不再赘述。Further, when the traffic package of the plurality of user identifiers includes a traffic package of a different service type, and the traffic package of the target service type of the multiple user identifiers needs to be adjusted, the multiple user identifiers may also be determined according to the multiple user identifiers. Determining a total traffic flow of the target service type of the at least one user identity and a total package flow of the target service type within the billing period, and determining the target according to the at least one user identifier and the at least one user identifier a new traffic plan of the service type, the network package adjustment indication information is sent to the charging system of the operator, where the data package adjustment indication information includes the at least one user identifier and the new traffic package of the target service type of the at least one user identifier And indicating that the charging system adjusts the traffic plan of the target service type of the at least one user identifier to a corresponding new traffic package. The traffic package of the target service type of each user identifier includes the amount of the in-package traffic of the target service type of the user identifier in each billing period, the package price, and the unit price of the outbound package. In the specific implementation process, the traffic package adjustment process for all the service types identified by the multiple users in the foregoing implementation process may be switched to the traffic package adjustment process for the target service type of the multiple user identifiers. The embodiments of the present application are not described herein again.
通过对所述多个用户标识的目标业务类型的流量进行统计和预测,并根据统计和预测结果,对所述多个用户标识中至少一个用户标识的目标业务类型的流量套餐进行调整,实现了对所述多个用户标识的流量套餐的精细调整,从而能够满足不同用户的需求,提高了用户体验。The traffic of the target service type of the plurality of user identifiers is adjusted and predicted according to the statistics and the prediction result, and the traffic package of the target service type of the at least one user identifier of the multiple user identifiers is adjusted, thereby realizing The fine adjustment of the traffic packages of the plurality of user identifiers can meet the needs of different users and improve the user experience.
本申请实施例中,可以在计费周期的任意时刻,获取计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量套餐和流量消费记录,然后根据当前时间点之前多个用户标识中每个用户标识的流量消费记录,预测所述多个用户标识在计费周期内的消费流量的总和,得到预测总消费流量,根据该预测总消费流量及每个用户标识对应的流量套餐,向运营商的计费系统发送流量套餐调整指示信息,该流量套餐调整指示信息包含所述多个用户标识中至少一个用户标识和相应的新流量套餐,以指示该计费系统为所述至少一个用户标识调整流量套餐,以使所述多个用户标识与该运营商的结算资费减少。也即是,可以在计费周期内的任意时刻准确预测出所述多个用户标识在计费周期内的总消费流量,并根据预测总消费流量对所述多个用户标识的流量套餐自动进行调整,使得当前计费周期的结算资费最小化,相较于相关技术中的人为调整方法,调整方式更及时、更精确,能够进一步节省用户结算资费,灵活性较高。In the embodiment of the present application, the traffic package and the traffic consumption record corresponding to each user identifier in the multiple user identifiers before the current time point of the charging period may be obtained at any time in the charging period, and then according to the current time point. a traffic consumption record of each user identifier in the user identifier, predicting a sum of consumption flows of the plurality of user identifiers in a billing period, and obtaining a predicted total consumption traffic, according to the predicted total consumption traffic and each user identifier corresponding to the The traffic plan sends the traffic plan adjustment indication information to the charging system of the operator, where the data package adjustment indication information includes at least one user identifier and a corresponding new traffic package of the multiple user identifiers, to indicate that the charging system is The at least one user identifier adjusts the traffic plan to reduce the settlement fee of the plurality of user identifiers and the operator. That is, the total consumption traffic of the plurality of user identifiers in the billing period can be accurately predicted at any time within the billing period, and the traffic plan of the plurality of user identifiers is automatically performed according to the predicted total consumption traffic. The adjustment makes the settlement fee of the current billing cycle minimize. Compared with the artificial adjustment method in the related art, the adjustment method is more timely and more accurate, and the user can further save the settlement fee, and the flexibility is high.
图8是本申请实施例提供的一种为多个用户标识调整流量套餐的装置结构示意图,所述多个用户标识共享运营商提供的套餐内流量数量,参见图8,该装置可以包括:FIG. 8 is a schematic structural diagram of an apparatus for adjusting a traffic package for multiple user identifiers according to an embodiment of the present disclosure. The multiple user identifiers share the number of flows in the package provided by the operator. Referring to FIG. 8, the device may include:
获取模块801,用于执行上述图6实施例中的步骤601;The obtaining module 801 is configured to perform step 601 in the foregoing embodiment of FIG. 6;
预测模块802,用于执行上述图6实施例中的步骤601;a prediction module 802, configured to perform step 601 in the foregoing embodiment of FIG. 6;
发送模块803,用于执行上述图6实施例中的步骤601。The sending module 803 is configured to perform step 601 in the foregoing embodiment of FIG. 6.
可选地,所述发送模块803包括:Optionally, the sending module 803 includes:
累加单元,用于累加所述多个用户标识中每个用户标识对应的流量套餐中的套餐内流量数量,得到总套餐流量;The accumulating unit is configured to accumulate the amount of the in-package traffic in the data package corresponding to each user identifier of the multiple user identifiers, to obtain the total package traffic;
第一确定单元,用于确定所述预测总消费流量和所述总套餐流量之间的第一差值;a first determining unit, configured to determine a first difference between the predicted total consumption traffic and the total package traffic;
发送单元,用于根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息。And a sending unit, configured to send the data package adjustment indication information to the charging system of the operator according to the first difference.
可选地,所述多个用户标识对应的流量套餐不同;Optionally, the traffic packages corresponding to the multiple user identifiers are different.
所述发送单元具体用于:The sending unit is specifically configured to:
当所述第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时,确定所述预测总消费流量和所述总套餐流量之间的第一比值;Determining, when the first difference is greater than or equal to a preset threshold, and the at least one user identifier is the plurality of user identifiers, determining a first ratio between the predicted total consumption traffic and the total package traffic;
对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量和所述第一比值的乘积;Determining, by any one of the at least one user identifiers A, a product of the number of in-package traffic in the traffic plan corresponding to the user identifier A and the first ratio;
根据所述乘积,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述乘积之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述乘积且与所述乘积之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述乘积的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的流量套餐;According to the product, a traffic plan with the smallest difference between the number of traffic in the package and the product is determined as the traffic package of the user identifier A, or from the plurality of traffic packages provided by the operator. In the plurality of traffic packages, determining, by the traffic plan that the number of traffic in the package is greater than or equal to the product, and the difference between the products is the traffic package of the user identifier A, or from the multiple traffic In the package, determining, as the user identifier A, a traffic plan with the minimum settlement tariff between the user identifier A and the operator in the case where the total consumption flow in the billing period is equal to the product Data Package;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
可选地,所述多个用户标识对应的流量套餐相同;Optionally, the traffic packages corresponding to the multiple user identifiers are the same;
所述发送单元具体用于:The sending unit is specifically configured to:
当所述第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时,确定所述预测总消费流量和所述至少一个用户标识的数量之间的第二比值;Determining a second between the predicted total consumption traffic and the quantity of the at least one user identifier when the first difference is greater than or equal to a preset threshold and the at least one user identifier is the plurality of user identifiers ratio;
对于所述至少一个用户标识中的任一用户标识A,根据所述第二比值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述第二比值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述第二比值且与所述第二比值之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述第二比值的情况下与所述运营商的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, between the plurality of traffic packages provided by the operator, between the number of traffic in the package and the second ratio, according to the second ratio, The traffic plan with the smallest difference is used as the new traffic package of the user identifier A, or from the plurality of traffic packages, determining that the amount of traffic in the package is greater than or equal to the second ratio and between the second ratio The traffic plan with the smallest difference is used as the traffic package of the user identifier A, or from the plurality of traffic packages, determining that the total consumption traffic of the user identifier A in the billing period is equal to the first In the case of the second ratio, the traffic plan with the lowest settlement tariff of the operator is used as the new traffic package of the user identifier A;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
可选地,所述发送单元具体用于:Optionally, the sending unit is specifically configured to:
当所述第一差值大于或等于预设阈值时,确定所述第一差值与所述至少一个用户标识的数量之间的第三比值;Determining, when the first difference is greater than or equal to a preset threshold, a third ratio between the first difference and the number of the at least one user identifier;
当所述预测总消费流量小于所述总套餐流量时,对于所述至少一个用户标识中的任一用 户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量与所述第三比值之间的第二差值;When the predicted total consumption traffic is less than the total package traffic, determining, for any one of the at least one user identifiers, the number of in-package traffic in the traffic plan corresponding to the user identifier A, and the number a second difference between the three ratios;
根据所述第二差值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述第二差值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述第二差值且与所述第二差值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述第二差值的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, according to the second difference, a traffic plan with the smallest difference between the number of flows in the package and the second difference from the plurality of data packages provided by the operator as the user identifier A a new traffic package, or a traffic plan from the plurality of traffic packages that determines that the amount of traffic in the package is greater than or equal to the second difference and the difference between the second difference is the smallest Identifying a new traffic package of A, or determining, from the plurality of traffic packages, that the total consumption flow of the user identifier A in the charging period is equal to the second difference, and the operation The traffic plan with the lowest settlement tariff between the merchants is used as the new traffic package of the user identifier A;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
可选地,所述发送单元具体用于:Optionally, the sending unit is specifically configured to:
当所述预测总消费流量大于所述总套餐流量时,对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量与所述第三比值之间的和值;When the predicted total consumption traffic is greater than the total package traffic, determining, for any one of the at least one user identifiers, the number of in-package traffic in the traffic package corresponding to the user identifier A, and the number The sum between the three ratios;
根据所述和值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述和值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述和值且与所述和之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述和值的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, according to the sum of the plurality of data packages provided by the operator, a traffic package having the smallest difference between the number of traffic in the package and the sum value as the new traffic package of the user identifier A, Or determining, from the plurality of data packages, a traffic package whose amount of traffic in the package is greater than or equal to the sum value and having a smallest difference from the sum, as a new traffic package of the user identifier A, or And determining, in the plurality of traffic packages, a traffic plan having a minimum settlement tariff with the operator when the total consumption flow of the user identifier A in the charging period is equal to the sum value The new traffic package of the user identifier A;
根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
可选地,预测模块802包括:Optionally, the prediction module 802 includes:
统计单元,用于对所述流量消费记录进行统计,得到所述多个用户标识在至少一个第一时间区间内的实际消费流量,所述至少一个第一时间区间是指从所述计费周期的第一个时间区间到目标时间区间的至少一个时间区间;a statistical unit, configured to perform statistics on the traffic consumption record, to obtain actual consumption traffic of the multiple user identifiers in at least one first time interval, where the at least one first time interval refers to the charging period The first time interval to at least one time interval of the target time interval;
其中,当当前时间点是所述计费周期内一个时间区间的结束时间时,所述目标时间区间为当前时间点所处的时间区间,当当前时间点不是所述计费周期内一个时间区间的结束时间时,所述目标时间区间为所述计费周期内当前时间点之前最近的时间区间;Wherein, when the current time point is the end time of a time interval in the charging period, the target time interval is a time interval in which the current time point is located, and when the current time point is not a time interval in the charging period The end time interval is the latest time interval before the current time point in the billing period;
第二确定单元,用于根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,确定所述多个用户标识在至少一个第二时间区间内的预测消费流量,所述至少一个第二时间区间是指所述计费周期内所述目标时间区间之后的至少一个时间区间;a second determining unit, configured to determine, according to actual consumption traffic of the multiple user identifiers in the at least one first time interval, a predicted consumption flow rate of the multiple user identifiers in at least one second time interval, where The at least one second time interval refers to at least one time interval after the target time interval in the charging period;
处理单元,用于将所述多个用户标识在所述至少一个第一时间区间内的实际消费流量和在所述至少一个第二时间区间内的预测消费流量进行相加,得到所述预测总消费流量。a processing unit, configured to add, between the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval and the predicted consumption flow rate in the at least one second time interval, to obtain the total prediction Consumption flow.
可选地,所述第二确定单元具体用于:Optionally, the second determining unit is specifically configured to:
根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,通过预设滑动平均模型法,确定所述多个用户标识在所述至少一个第二时间区间内的预测消费流量。Determining, according to the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval, a predicted consumption of the plurality of user identifiers in the at least one second time interval by a preset moving average model method flow.
可选地,所述第二确定单元具体用于:Optionally, the second determining unit is specifically configured to:
对于所述至少一个第二时间区间中的任一第二时间区间B,当所述第二时间区间B为所述计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在所述计费周期的前一个计费周期内不具有数据流量消费记录时,将所述计费周期内位于所述第二时间区间B之前的所有时间区间的目标消费流量的平均值,确定为所述多个用户标识在所述第二时间区间B内的预测消费流量;For any of the at least one second time interval B, when the second time interval B is one of the first N time intervals within the charging period, and the plurality of time intervals When the user ID does not have a data traffic consumption record in the previous billing period of the billing period, the average of the target consumption flows in all time intervals before the second time interval B in the billing period a value, determined as the predicted consumption flow rate of the plurality of users in the second time interval B;
当所述第二时间区间B为所述计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在所述计费周期的前一个计费周期内具有数据流量消费记录时,或者当所述第二时间区间B为所述计费周期内第N个时间区间之后的任一时间区间时,将位于所述第二时间区间B之前的N个时间区间的目标消费流量的平均值,确定为所述多个用户标识在所述第二时间区间B内的预测消费流量:When the second time interval B is one time interval of the first N time intervals in the charging period, and the multiple user identifiers have data traffic in a previous charging period of the charging period When the record is consumed, or when the second time interval B is any time interval after the Nth time interval in the charge period, the target of the N time intervals before the second time interval B The average of the consumption flows is determined as the predicted consumption flow of the plurality of users in the second time interval B:
其中,所述N为正整数,对于位于所述第二时间区间B之前的任一时间区间C,当所述多个用户标识在所述时间区间C内具有实际消费流量时,所述时间区间C的目标消费流量是指所述多个用户标识在所述时间区间C内的实际消费流量,当所述多个用户标识在所述时间区间C内不具有实际消费流量时,所述时间区间C的目标消费流量是指所述多个用户标识在所述时间区间C内的预测消费流量。Wherein, the N is a positive integer, and for any time interval C before the second time interval B, when the plurality of user identifiers have actual consumption flows in the time interval C, the time interval The target consumption flow rate of C refers to the actual consumption flow rate of the plurality of user identifiers in the time interval C, and when the plurality of user identifiers do not have actual consumption flow rate in the time interval C, the time interval The target consumption flow rate of C refers to the predicted consumption flow rate of the plurality of user identifiers in the time interval C.
可选地,所述多个用户标识是指与目标流量池绑定的且在所述计费周期内激活的多个物联网卡的标识,所述目标流量池是指物联网管理的任一流量池。Optionally, the multiple user identifiers are identifiers of multiple Internet of Things cards that are bound to the target traffic pool and are activated during the charging period, where the target traffic pool refers to any traffic managed by the Internet of Things. Pool.
本申请实施例中,可以在计费周期的任意时刻,获取计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量套餐和流量消费记录,然后根据当前时间点之前多个用户标识中每个用户标识的流量消费记录,预测所述多个用户标识在计费周期内的消费流量的总和,得到预测总消费流量,根据该预测总消费流量及每个用户标识对应的流量套餐,向运营商的计费系统发送流量套餐调整指示信息,该流量套餐调整指示信息包含所述多个用户标识中至少一个用户标识和相应的新流量套餐,以指示该计费系统为所述至少一个用户标识调整流量套餐,以使所述多个用户标识与该运营商的结算资费减少。也即是,可以在计费周期内的任意时刻准确预测出所述多个用户标识在计费周期内的总消费流量,并根据预测总消费流量对所述多个用户标识的流量套餐自动进行调整,使得当前计费周期的结算资费最小化,相较于相关技术中的人为调整方法,调整方式更及时、更精确,能够进一步节省用户结算资费,灵活性较高。In the embodiment of the present application, the traffic package and the traffic consumption record corresponding to each user identifier in the multiple user identifiers before the current time point of the charging period may be obtained at any time in the charging period, and then according to the current time point. a traffic consumption record of each user identifier in the user identifier, predicting a sum of consumption flows of the plurality of user identifiers in a billing period, and obtaining a predicted total consumption traffic, according to the predicted total consumption traffic and each user identifier corresponding to the The traffic plan sends the traffic plan adjustment indication information to the charging system of the operator, where the data package adjustment indication information includes at least one user identifier and a corresponding new traffic package of the multiple user identifiers, to indicate that the charging system is The at least one user identifier adjusts the traffic plan to reduce the settlement fee of the plurality of user identifiers and the operator. That is, the total consumption traffic of the plurality of user identifiers in the billing period can be accurately predicted at any time within the billing period, and the traffic plan of the plurality of user identifiers is automatically performed according to the predicted total consumption traffic. The adjustment makes the settlement fee of the current billing cycle minimize. Compared with the artificial adjustment method in the related art, the adjustment method is more timely and more accurate, and the user can further save the settlement fee, and the flexibility is high.
需要说明的是:上述实施例提供的为多个用户标识调整流量套餐的装置在对多个用户标识的流量套餐进行调整时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的为多个用户标识调整流量套餐的装置与为多个用户标识调整流量套餐的方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the device that adjusts the traffic package for multiple user identifiers in the foregoing embodiment is used to adjust the traffic package of multiple user identifiers, only the division of each functional module is used as an example. In actual applications, The above-mentioned function assignment is completed by different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for adjusting the traffic package for multiple user identifiers is the same as the method for adjusting the traffic package for multiple user identifiers, and the specific implementation process is not described here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意结合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网 络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如:同轴电缆、光纤、数据用户线(Digital Subscriber Line,DSL))或无线(例如:红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如:软盘、硬盘、磁带)、光介质(例如:数字通用光盘(Digital Versatile Disc,DVD))、或者半导体介质(例如:固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a digital versatile disc (DVD)), or a semiconductor medium (for example, a solid state disk (SSD)). )Wait.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述为本申请实施例提供的实施例,并不用以限制本申请实施例,凡在本申请实施例的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请实施例的保护范围之内。The above description of the embodiments of the present application is not intended to limit the embodiments of the present application. Any modifications, equivalent substitutions, improvements, etc., which are included in the spirit and principles of the embodiments of the present application, should be included in Within the scope of protection of the embodiments of the present application.

Claims (12)

  1. 一种为多个用户标识调整流量套餐的方法,所述多个用户标识共享运营商提供的套餐内流量数量,其特征在于,所述方法包括:A method for adjusting a traffic package for a plurality of user identifiers, where the plurality of user identifiers share a number of in-package flows provided by an operator, wherein the method includes:
    获取计费周期当前时间点之前所述多个用户标识中每个用户标识对应的流量套餐和流量消费记录;Obtaining a data package and a traffic consumption record corresponding to each user identifier of the multiple user identifiers before the current time point of the charging period;
    根据所述流量消费记录,预测所述多个用户标识在所述计费周期内的消费流量的总和,得到预测总消费流量;Determining, according to the traffic consumption record, a sum of consumption flows of the multiple user identifiers in the charging period, and obtaining a predicted total consumption traffic;
    根据所述预测总消费流量及所述多个用户标识中每个用户标识对应的流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统为所述多个用户标识中至少一个用户标识调整流量套餐,以使所述多个用户标识在所述计费周期内按照调整后的流量套餐与所述运营商进行结算的结算资费小于按照调整前的流量套餐与所述运营商进行结算的结算资费,其中,所述流量套餐调整指示信息包含所述至少一个用户标识和相应的新流量套餐。And sending the traffic plan adjustment indication information to the charging system of the operator according to the predicted total consumption traffic and the traffic plan corresponding to each user identifier of the multiple user identifiers, to indicate that the charging system is At least one of the plurality of user identifiers adjusts the traffic plan, so that the settlement fee of the plurality of user identifiers that are settled with the operator according to the adjusted traffic plan in the billing period is less than the traffic according to the adjustment a settlement fee for settlement of the package with the operator, wherein the data package adjustment indication information includes the at least one user identifier and a corresponding new traffic package.
  2. 如权利要求1所述的方法,其特征在于,所述根据所述预测总消费流量及所述多个用户标识中每个用户标识对应的流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息包括:The method according to claim 1, wherein the sending the traffic to the charging system of the operator according to the predicted total consumption traffic and a traffic package corresponding to each user identifier of the plurality of user identifiers Package adjustment instructions include:
    累加所述多个用户标识中每个用户标识对应的流量套餐中的套餐内流量数量,得到总套餐流量;And accumulating the amount of the in-package traffic in the data package corresponding to each of the plurality of user identifiers, to obtain the total package traffic;
    确定所述预测总消费流量和所述总套餐流量之间的第一差值;Determining a first difference between the predicted total consumption flow and the total package flow;
    根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息。And sending, according to the first difference, the data package adjustment indication information to the charging system of the operator.
  3. 如权利要求2所述的方法,其特征在于,所述多个用户标识对应的流量套餐不同;The method according to claim 2, wherein the plurality of user identifiers have different traffic packages;
    所述根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息,包括:And sending, according to the first difference, the data package adjustment indication information to the charging system of the operator, including:
    当所述第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时,确定所述预测总消费流量和所述总套餐流量之间的第一比值;Determining, when the first difference is greater than or equal to a preset threshold, and the at least one user identifier is the plurality of user identifiers, determining a first ratio between the predicted total consumption traffic and the total package traffic;
    对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量和所述第一比值的乘积;Determining, by any one of the at least one user identifiers A, a product of the number of in-package traffic in the traffic plan corresponding to the user identifier A and the first ratio;
    根据所述乘积,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述乘积之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述乘积且与所述乘积之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述乘积的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的流量套餐;According to the product, a traffic plan with the smallest difference between the number of traffic in the package and the product is determined as the traffic package of the user identifier A, or from the plurality of traffic packages provided by the operator. In the plurality of traffic packages, determining, by the traffic plan that the number of traffic in the package is greater than or equal to the product, and the difference between the products is the traffic package of the user identifier A, or from the multiple traffic In the package, determining, as the user identifier A, a traffic plan with the minimum settlement tariff between the user identifier A and the operator in the case where the total consumption flow in the billing period is equal to the product Data Package;
    根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
  4. 如权利要求2所述的方法,其特征在于,所述多个用户标识对应的流量套餐相同;The method according to claim 2, wherein the plurality of user identifiers have the same traffic package;
    所述根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息,包括:And sending, according to the first difference, the data package adjustment indication information to the charging system of the operator, including:
    当所述第一差值大于或等于预设阈值且所述至少一个用户标识为所述多个用户标识时, 确定所述预测总消费流量和所述至少一个用户标识的数量之间的第二比值;Determining, between the predicted total consumption flow and the quantity of the at least one user identifier, when the first difference is greater than or equal to a preset threshold and the at least one user identifier is the plurality of user identifiers ratio;
    对于所述至少一个用户标识中的任一用户标识A,根据所述第二比值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述第二比值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述第二比值且与所述第二比值之间的差值最小的流量套餐作为所述用户标识A的流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述第二比值的情况下与所述运营商的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, between the plurality of traffic packages provided by the operator, between the number of traffic in the package and the second ratio, according to the second ratio, The traffic plan with the smallest difference is used as the new traffic package of the user identifier A, or from the plurality of traffic packages, determining that the amount of traffic in the package is greater than or equal to the second ratio and between the second ratio The traffic plan with the smallest difference is used as the traffic package of the user identifier A, or from the plurality of traffic packages, determining that the total consumption traffic of the user identifier A in the billing period is equal to the first In the case of the second ratio, the traffic plan with the lowest settlement tariff of the operator is used as the new traffic package of the user identifier A;
    根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
  5. 如权利要求2所述的方法,其特征在于,所述根据所述第一差值,向所述运营商的计费系统发送所述流量套餐调整指示信息,包括:The method according to claim 2, wherein the transmitting the data package adjustment indication information to the charging system of the operator according to the first difference comprises:
    当所述第一差值大于或等于预设阈值时,确定所述第一差值与所述至少一个用户标识的数量之间的第三比值;Determining, when the first difference is greater than or equal to a preset threshold, a third ratio between the first difference and the number of the at least one user identifier;
    当所述预测总消费流量小于所述总套餐流量时,对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量与所述第三比值之间的第二差值;When the predicted total consumption traffic is less than the total package traffic, determining, for any one of the at least one user identifiers, the number of in-package traffic in the traffic plan corresponding to the user identifier A, and the number a second difference between the three ratios;
    根据所述第二差值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述第二差值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述第二差值且与所述第二差值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述第二差值的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, according to the second difference, a traffic plan with the smallest difference between the number of flows in the package and the second difference from the plurality of data packages provided by the operator as the user identifier A a new traffic package, or a traffic plan from the plurality of traffic packages that determines that the amount of traffic in the package is greater than or equal to the second difference and the difference between the second difference is the smallest Identifying a new traffic package of A, or determining, from the plurality of traffic packages, that the total consumption flow of the user identifier A in the charging period is equal to the second difference, and the operation The traffic plan with the lowest settlement tariff between the merchants is used as the new traffic package of the user identifier A;
    根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
  6. 如权利要求5所述的方法,其特征在于,所述确定所述第一差值与所述至少一个用户标识的数量之间的第三比值之后,还包括:The method according to claim 5, wherein after determining the third ratio between the first difference and the number of the at least one user identifier, the method further comprises:
    当所述预测总消费流量大于所述总套餐流量时,对于所述至少一个用户标识中的任一用户标识A,确定所述用户标识A对应的流量套餐中的套餐内流量数量与所述第三比值之间的和值;When the predicted total consumption traffic is greater than the total package traffic, determining, for any one of the at least one user identifiers, the number of in-package traffic in the traffic package corresponding to the user identifier A, and the number The sum between the three ratios;
    根据所述和值,从所述运营商提供的多个流量套餐中,确定出套餐内流量数量与所述和值之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出套餐内流量数量大于或等于所述和值且与所述和之间的差值最小的流量套餐作为所述用户标识A的新流量套餐,或者从所述多个流量套餐中,确定出使得所述用户标识A在所述计费周期内的总消费流量等于所述和值的情况下与所述运营商之间的结算资费最小的流量套餐作为所述用户标识A的新流量套餐;Determining, according to the sum of the plurality of data packages provided by the operator, a traffic package having the smallest difference between the number of traffic in the package and the sum value as the new traffic package of the user identifier A, Or determining, from the plurality of data packages, a traffic package whose amount of traffic in the package is greater than or equal to the sum value and having a smallest difference from the sum, as a new traffic package of the user identifier A, or And determining, in the plurality of traffic packages, a traffic plan having a minimum settlement tariff with the operator when the total consumption flow of the user identifier A in the charging period is equal to the sum value The new traffic package of the user identifier A;
    根据所述至少一个用户标识和所述至少一个用户标识的新流量套餐,向所述运营商的计费系统发送流量套餐调整指示信息,以指示所述计费系统将所述至少一个用户标识的流量套 餐调整为对应的新流量套餐。And sending, according to the at least one user identifier and the new traffic package of the at least one user identifier, traffic plan adjustment indication information to the charging system of the operator, to indicate that the charging system identifies the at least one user identifier The traffic plan is adjusted to the corresponding new traffic plan.
  7. 如权利要求1-6任一所述的方法,其特征在于,所述根据所述流量消费记录,预测所述多个用户标识在所述计费周期内的消费流量的总和,得到预测总消费流量,包括:The method according to any one of claims 1-6, wherein the predicting total consumption of the plurality of user identifiers in the billing period is predicted according to the traffic consumption record Traffic, including:
    对所述流量消费记录进行统计,得到所述多个用户标识在至少一个第一时间区间内的实际消费流量,所述至少一个第一时间区间是指从所述计费周期的第一个时间区间到目标时间区间的至少一个时间区间;Performing statistics on the traffic consumption record to obtain actual consumption traffic of the multiple user identifiers in at least one first time interval, where the at least one first time interval refers to the first time from the charging period At least one time interval from the interval to the target time interval;
    其中,当当前时间点是所述计费周期内一个时间区间的结束时间时,所述目标时间区间为当前时间点所处的时间区间,当当前时间点不是所述计费周期内一个时间区间的结束时间时,所述目标时间区间为所述计费周期内当前时间点之前最近的时间区间;Wherein, when the current time point is the end time of a time interval in the charging period, the target time interval is a time interval in which the current time point is located, and when the current time point is not a time interval in the charging period The end time interval is the latest time interval before the current time point in the billing period;
    根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,确定所述多个用户标识在至少一个第二时间区间内的预测消费流量,所述至少一个第二时间区间是指所述计费周期内所述目标时间区间之后的至少一个时间区间;Determining, according to actual consumption flows of the plurality of user identifiers in the at least one first time interval, predicted consumption flows of the plurality of user identifiers in at least one second time interval, the at least one second time interval Means at least one time interval after the target time interval in the billing period;
    将所述多个用户标识在所述至少一个第一时间区间内的实际消费流量和在所述至少一个第二时间区间内的预测消费流量进行相加,得到所述预测总消费流量。Adding the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval and the predicted consumption flow rate in the at least one second time interval to obtain the predicted total consumption flow rate.
  8. 如权利要求7所述的方法,其特征在于,所述根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,确定所述多个用户标识在至少一个第二时间区间内的预测消费流量,包括:The method according to claim 7, wherein said determining said plurality of user identifiers is at least one second time based on actual consumption flows of said plurality of user identifiers in said at least one first time interval Forecasted consumption flows within the interval, including:
    根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,通过预设滑动平均模型法,确定所述多个用户标识在所述至少一个第二时间区间内的预测消费流量。Determining, according to the actual consumption flow rate of the plurality of user identifiers in the at least one first time interval, a predicted consumption of the plurality of user identifiers in the at least one second time interval by a preset moving average model method flow.
  9. 如权利要求8所述的方法,其特征在于,所述根据所述多个用户标识在所述至少一个第一时间区间内的实际消费流量,通过预设滑动平均模型法,确定所述多个用户标识在所述至少一个第二时间区间内的预测消费流量,包括:The method according to claim 8, wherein the determining the plurality of the actual consumption flows in the at least one first time interval according to the plurality of user identifiers by a preset moving average model method The predicted consumption flow of the user identification in the at least one second time interval includes:
    对于所述至少一个第二时间区间中的任一第二时间区间B,当所述第二时间区间B为所述计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在所述计费周期的前一个计费周期内不具有数据流量消费记录时,将所述计费周期内位于所述第二时间区间B之前的所有时间区间的目标消费流量的平均值,确定为所述多个用户标识在所述第二时间区间B内的预测消费流量;For any of the at least one second time interval B, when the second time interval B is one of the first N time intervals within the charging period, and the plurality of time intervals When the user ID does not have a data traffic consumption record in the previous billing period of the billing period, the average of the target consumption flows in all time intervals before the second time interval B in the billing period a value, determined as the predicted consumption flow rate of the plurality of users in the second time interval B;
    当所述第二时间区间B为所述计费周期内的前N个时间区间中的一个时间区间,且所述多个用户标识在所述计费周期的前一个计费周期内具有数据流量消费记录时,或者当所述第二时间区间B为所述计费周期内第N个时间区间之后的任一时间区间时,将位于所述第二时间区间B之前的N个时间区间的目标消费流量的平均值,确定为所述多个用户标识在所述第二时间区间B内的预测消费流量:When the second time interval B is one time interval of the first N time intervals in the charging period, and the multiple user identifiers have data traffic in a previous charging period of the charging period When the record is consumed, or when the second time interval B is any time interval after the Nth time interval in the charge period, the target of the N time intervals before the second time interval B The average of the consumption flows is determined as the predicted consumption flow of the plurality of users in the second time interval B:
    其中,所述N为正整数,对于位于所述第二时间区间B之前的任一时间区间C,当所述多个用户标识在所述时间区间C内具有实际消费流量时,所述时间区间C的目标消费流量是指所述多个用户标识在所述时间区间C内的实际消费流量,当所述多个用户标识在所述时间区间C内不具有实际消费流量时,所述时间区间C的目标消费流量是指所述多个用户标识在所述时间区间C内的预测消费流量。Wherein, the N is a positive integer, and for any time interval C before the second time interval B, when the plurality of user identifiers have actual consumption flows in the time interval C, the time interval The target consumption flow rate of C refers to the actual consumption flow rate of the plurality of user identifiers in the time interval C, and when the plurality of user identifiers do not have actual consumption flow rate in the time interval C, the time interval The target consumption flow rate of C refers to the predicted consumption flow rate of the plurality of user identifiers in the time interval C.
  10. 如权利要求1-9任一所述的方法,其特征在于,所述多个用户标识是指与目标流量池绑定的且在所述计费周期内激活的多个物联网卡的标识,所述目标流量池是指物联网管理的任一流量池。The method according to any one of claims 1-9, wherein the plurality of user identifiers are identifiers of a plurality of Internet of Things cards that are bound to a target traffic pool and activated during the billing period, The target traffic pool refers to any traffic pool managed by the Internet of Things.
  11. 一种为多个用户标识调整流量套餐的装置,所述多个用户标识共享运营商赠送的业务流量,所述装置包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,其特征在于,所述处理器被配置为执行权利要求1-10所述的任一项方法的步骤。An apparatus for adjusting a traffic package for a plurality of user identifiers, the plurality of user identifiers sharing service traffic provided by an operator, the apparatus comprising a memory, a processor, and being stored on the memory and on the processor A computer program, characterized in that the processor is configured to perform the steps of any of the methods of claims 1-10.
  12. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如权利要求1-10任一项所述的方法。A computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the method of any of claims 1-10.
PCT/CN2019/075774 2018-04-28 2019-02-22 Method and device for adjusting data plan for a plurlaity of user identifications WO2019205791A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810403353.4A CN110418022B (en) 2018-04-28 2018-04-28 Method and device for adjusting flow package for multiple user identifications
CN201810403353.4 2018-04-28

Publications (1)

Publication Number Publication Date
WO2019205791A1 true WO2019205791A1 (en) 2019-10-31

Family

ID=68294842

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/075774 WO2019205791A1 (en) 2018-04-28 2019-02-22 Method and device for adjusting data plan for a plurlaity of user identifications

Country Status (2)

Country Link
CN (1) CN110418022B (en)
WO (1) WO2019205791A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111083656B (en) * 2019-11-28 2021-11-23 深圳联想懂的通信有限公司 Flow package management method and device and storage medium
CN111211997B (en) * 2019-12-30 2023-01-20 中国银行股份有限公司 Message processing method, device and system
CN112132605A (en) * 2020-08-28 2020-12-25 北京思特奇信息技术股份有限公司 Recommendation method and system based on data analysis
CN112469081B (en) * 2021-01-28 2021-05-25 北京树米网络科技有限公司 Method and device for processing total flow data of shared flow pool
CN114980067B (en) * 2021-03-16 2024-02-02 中国卫通集团股份有限公司 Shared package service distribution system, method, terminal and storage medium
CN113784301B (en) * 2021-10-25 2024-02-27 北京易享时代科技有限公司 Method, device and system for distributing enterprise user charging flow
CN114363844B (en) * 2021-12-09 2023-10-24 北京思特奇信息技术股份有限公司 Method and system for triggering charging based on user package use details
CN114584409A (en) * 2022-02-17 2022-06-03 银盛通信有限公司 Method for editing machine card package by mobile resale system
CN114980211B (en) * 2022-05-27 2023-10-27 中移互联网有限公司 Flow transfer method and system
CN115086897B (en) * 2022-06-09 2023-10-17 深圳创维数字技术有限公司 Multi-operator virtual traffic sharing method, device, equipment and storage medium
CN115080639B (en) * 2022-07-21 2023-04-07 安徽翼控网络科技有限公司 Internet of things connection management platform operation method and system
CN116015990A (en) * 2022-12-27 2023-04-25 中国联合网络通信集团有限公司 Service processing method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013095253A2 (en) * 2011-12-21 2013-06-27 Telefonaktiebolaget L M Ericsson (Publ) Methods of providing communication services including account balance sharing and related charging systems
CN104955019A (en) * 2015-04-24 2015-09-30 成都腾悦科技有限公司 Automatic mobile phone flow ordering system and method
CN106100862A (en) * 2016-05-30 2016-11-09 广东美的暖通设备有限公司 Central air conditioner system and data flux management method thereof and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102970691B (en) * 2012-11-26 2015-05-20 中国联合网络通信集团有限公司 Indoor and outdoor joint resource management method and base station
CN103686662B (en) * 2013-12-12 2017-06-20 中国联合网络通信集团有限公司 Forecasting Methodology and server that set meal is transferred the files
CN106817313A (en) * 2015-12-01 2017-06-09 北京慧点科技有限公司 A kind of method that network traffics are quickly distributed
US10827078B2 (en) * 2016-04-27 2020-11-03 Huawei Technologies Co., Ltd. Traffic package providing method and related device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013095253A2 (en) * 2011-12-21 2013-06-27 Telefonaktiebolaget L M Ericsson (Publ) Methods of providing communication services including account balance sharing and related charging systems
CN104955019A (en) * 2015-04-24 2015-09-30 成都腾悦科技有限公司 Automatic mobile phone flow ordering system and method
CN106100862A (en) * 2016-05-30 2016-11-09 广东美的暖通设备有限公司 Central air conditioner system and data flux management method thereof and device

Also Published As

Publication number Publication date
CN110418022A (en) 2019-11-05
CN110418022B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
WO2019205791A1 (en) Method and device for adjusting data plan for a plurlaity of user identifications
US8275354B2 (en) Methods, systems, and computer-readable-mediums for managing rollover usage units of communication services
CN111047243B (en) Method and device for determining logistics distribution cost
CN111130810B (en) Charging method and device for cloud service usage package and related equipment
Sen et al. Smart data pricing (SDP): Economic solutions to network congestion
CN110493016B (en) Flow service charging method and device
WO2021104451A1 (en) Sharing method and apparatus for multi-account cloud service usage package and related device
US20140279320A1 (en) Allocating and pricing virtual resources
KR20150038427A (en) SaaS PAYMENT PROCESSING SYSTEM, SaaS USAGE FEE PAYMENT PROCESSING METHOD, AND PROGRAM
US10944874B2 (en) Telecommunication system for monitoring and controlling of a network providing resource to a user
CN113037510A (en) Charging method, charging device and computer readable storage medium
CN108401231A (en) A kind of charging method, device and system
US10547497B1 (en) Methods and systems for providing predictive rating using a buffer
TWI509429B (en) Electricity load management device and electricity load management method thereof
WO2019184632A1 (en) Rating method and apparatus
EP3331196B1 (en) Telecommunication system for monitoring and controlling of a network providing resource to a user
CN112737796B (en) Cross-region user communication fee transfer method, device, equipment, medium and product
AU2018102223A4 (en) Telecom Information Processing System and Method Thereof
US20150079927A1 (en) System and method for pricing communication of a telecommunication platform
CN114553614B (en) Bandwidth cost estimation method, device, equipment, medium and program product
EP2950514B1 (en) Mobile digital cellular telecommunication system with advanced rating functionality
CN108271134A (en) The charging method and equipment of a kind of communication service
Chen et al. 5G Charging Mechanism Based on Dynamic Step Size
EP3091764B1 (en) Mobile digital cellular telecommunication system with advanced flexible rating functionality
CN105490822B (en) A kind of charging method and device of flow

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: 19791492

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: 19791492

Country of ref document: EP

Kind code of ref document: A1