WO2019184632A1 - Rating method and apparatus - Google Patents

Rating method and apparatus Download PDF

Info

Publication number
WO2019184632A1
WO2019184632A1 PCT/CN2019/075770 CN2019075770W WO2019184632A1 WO 2019184632 A1 WO2019184632 A1 WO 2019184632A1 CN 2019075770 W CN2019075770 W CN 2019075770W WO 2019184632 A1 WO2019184632 A1 WO 2019184632A1
Authority
WO
WIPO (PCT)
Prior art keywords
time point
rating
terminal device
charging period
original bill
Prior art date
Application number
PCT/CN2019/075770
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 WO2019184632A1 publication Critical patent/WO2019184632A1/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
    • 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/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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]

Definitions

  • the present application relates to the field of network rating technology, and in particular, to a rating method and apparatus.
  • Vehicle networking refers to the use of advanced sensor technology, network technology, computing technology, control technology, and intelligent technology to comprehensively sense roads and traffic, and realize large-scale and large-capacity data interaction among multiple systems; Full-time control, full-time control of traffic on each road to provide traffic efficiency and traffic safety-based networks and applications; provide technical support for drivers' safe driving and assisted driving.
  • the new package since the original package has been priced after the initial price, the new package will not only need to generate a new batch CDR, but also need to generate a rollback CDR according to the original package. Thereby further increasing the performance consumption.
  • a specific embodiment of the present application provides a method and apparatus for rating. Before the time node t of the batch parameter cannot be changed, only the original bill is received and the original bill received is not priced. This avoids the repeated price of the same original bill.
  • a specific embodiment of the present application provides a method for rating, the method comprising: determining a time point t at which a rating parameter is no longer changed in a charging period; and determining to obtain the current time when the current time exceeds the time point t a batch price parameter at the time point t in the fee period; the cumulative service usage amount of the terminal device before the time point t in the charging period is priced according to the rating parameter, and the accumulated service usage amount is a charging period The amount of traffic accumulated by the terminal device before the time point t; determining that the terminal device has been approved for the cumulative service usage of the terminal device before the time point t within the charging period, according to the rating parameter The original bill of the terminal device is priced after the time point t in the billing cycle.
  • This application sets the time node t of the non-changeable pricing parameter.
  • the terminal device only receives the original CDR and does not approve the original CDR received before the time node t of the batch parameter cannot be changed.
  • the rating parameter cannot be changed, the batch price parameter when the batch price parameter cannot be changed is obtained, and the accumulated business usage is evaluated. Thereby, the repeated price of the same original bill is avoided, and the resource consumption of the rating device is reduced.
  • the rating of the cumulative service usage of the terminal device before the time point t in the charging period according to the rating parameter includes: obtaining the time point t within the charging period of the terminal device. All the original bills; accumulating the acquired service usage included in the original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device; according to the rating parameter, using the accumulated service The quantity is subject to approval.
  • the rating device accumulates the business usage received before the time node in which the batch price parameter cannot be changed in one cycle, thereby avoiding the rating of each bill generated by the terminal device, and only performing the final accumulated business usage. Rating. Thereby, the rating efficiency of the rating device is improved, and the resource consumption of the rating device is reduced.
  • the service usage included in all the original CDRs before the time point t includes: the service start time and/or the service end time in the original CDR are included in the original CDR before the time point t.
  • the original bill of the terminal device after the time point t in the billing period includes: the original bill in the original bill after the service start time and/or the service end time after the time point t Or the original bill of the original bill receipt time after the time point t.
  • the method further includes: setting the cumulative service usage of the terminal device.
  • the rating identifier is such that when the original bill of the terminal device is received after the time point t, it is determined that the accumulated service usage amount before the time point t has been completed.
  • the batch price completion identifier is set, thereby distinguishing the cumulative service usage of the terminal equipment that has completed the rating and the accumulated service usage of the terminal equipment that has not completed the rating. Avoid repeating the approval of the cumulative business usage of an end device.
  • the determining the time point t in the charging period includes: determining, according to the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed in the charging period, the identification information It can be information for distinguishing different terminal devices or users.
  • the rating device can better approve the accumulated business usage.
  • the determining of the time point t that the pricing parameter is no longer changed in the charging period according to the identification information includes: acquiring the identification information, and the rating device includes the time point t when the identification information and the rating parameter are no longer changed.
  • the corresponding relationship, the time when the rating parameter corresponding to the identification information is no longer changed is the configuration information; and the time point t at which the rating parameter corresponding to the identification information is no longer changed is determined according to the identification information.
  • a specific embodiment of the present application provides a rating device, including a determining unit, an obtaining unit, a first processing unit, and a second processing unit.
  • a determining unit configured to determine a time point t when the rating parameter is no longer changed in the charging period; and when the current time exceeds the time point t, the obtaining unit is configured to obtain the rating parameter at the time point t in the charging period
  • a first processing unit configured to perform, according to the rating parameter, a cumulative service usage amount of the terminal device before the time point t in the charging period, where the accumulated service usage amount is cumulative use of the terminal device before the time point t
  • the second processing unit is configured to use the rating parameter for the charging period. After the time point t, the original bill of the terminal device is priced.
  • the first processing unit according to the rating parameter, the rating of the accumulated service usage of the terminal device before the time point t in the charging period includes: obtaining the time in the charging period of the terminal device All the original bills before the point t; accumulating the acquired service usage included in the original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device; according to the rating parameter, Accumulated business usage is subject to approval.
  • the service usage included in all the original CDRs before the time point t includes: the service start time and/or the service end time in the original CDR are included in the original CDR before the time point t.
  • the original bill of the terminal device after the time point t in the billing period includes: the original bill in the original bill after the service start time and/or the service end time after the time point t Or the original bill of the original bill receipt time after the time point t.
  • the first processing unit after rating the accumulated service usage before the time point t in the charging period, according to the rating parameter, further includes: a first processing unit, configured to The cumulative service usage of the terminal device sets the rating identifier to determine that the accumulated service usage before the time point t has been completed after receiving the original CDR of the terminal device after the time point t.
  • the determining unit determines the time point t in the charging period, and the determining unit determines, according to the identification information, a time point t in which the rating parameter corresponding to the identification information is no longer changed in the charging period.
  • the identification information may be information for distinguishing different terminal devices or users.
  • the determining unit determines, according to the identification information, a time point t in which the rating parameter is no longer changed in the charging period, including: acquiring identification information, and the rating device includes the time when the identification information and the rating parameter are no longer changed.
  • the time point t is the configuration information, and the time when the rating parameter corresponding to the identification information is no longer changed is the configuration information; and the time point t at which the rating parameter corresponding to the identification information is no longer changed is determined according to the identification information.
  • a specific embodiment of the present application provides a rating apparatus, including a processor and a memory, wherein the memory stores an operation instruction executable by the processor, and the processor reads an operation instruction in the memory for implementing the first Any of the methods of this aspect.
  • the present application provides a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the methods of the above aspects.
  • the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods of the various aspects described above.
  • FIG. 1 is a scenario of a car networking service listed in the present application
  • FIG. 2 is a schematic structural diagram of a network charging system according to an embodiment of the present application.
  • FIG. 3 is a forward pricing method based on vehicle networking provided by a specific embodiment of the present application.
  • FIG. 4 is a structural diagram of a rating device according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a rating device according to an embodiment of the present application.
  • the rating parameter is the charging standard for the network operator to calculate the customer's billing period.
  • the network operator will calculate the cost deducted by the customer during the account period based on the usage of various services in the account period and the pricing parameters of different businesses and different usages.
  • the rating parameter may also be called a package, and the rating parameter (package) may include 50 yuan 1G and excess 1 yuan/M. That is to say, the customer can deduct 50 yuan in a fixed period, the customer can use 1G traffic without deduction in the account period, and the part with the flow exceeding 1G is charged at 1 yuan/M.
  • network operators can allow customers to modify the pricing parameters of the account period before the end of an account period.
  • the network operator can set a time point t that does not change the pricing parameter, such as 2 days before the end of the account period.
  • the customer can replace the rating parameter 2 days before the end of the account period, and the batch price parameter cannot be replaced within 2 days after the end of the account period.
  • the client may be a user of a single terminal device or a collection of users composed of multiple terminal devices.
  • the set of users composed of multiple terminal devices may be a car network service provider.
  • the car network service provider may divide different terminal devices into multiple sets according to the business situation.
  • vehicle networking is described as a specific application example.
  • the network operator allows the car network service provider to modify the appropriate rating parameters a few days before the end of the month end period according to the actual usage. Before the time point t of the unchangeable rating parameter, the car network service provider can change the rating parameter according to the actual usage.
  • the car network refers to the in-vehicle device loaded on the vehicle.
  • the in-vehicle device realizes the extraction and effective utilization of attribute information and static and dynamic information of all vehicles on the information network platform through the identification technology such as radio frequency.
  • the in-vehicle device can effectively supervise and provide comprehensive services for the operating status of all vehicles according to different functional requirements.
  • the car networking service is a car networking service provided by the car networking service provider.
  • the car network service provider purchases a batch of SIM (subscriber identity module) card from the operator side to the in-vehicle device, so that the terminal device can change the SIM card to enjoy the corresponding service.
  • SIM subscriber identity module
  • the terminal device can choose to order different service packages as needed.
  • the corresponding SIM card is allocated to each terminal device, and obtaining the corresponding network service through the SIM card is only one specific implementation manner in the specific embodiment of the present application.
  • vSIM Vehicle Safety Information Model
  • SoftSIM Soft Safety Information Model
  • M2M SIM Machine-to-Machine Safety Information Model
  • eSIM embedded-SIM, embedded SIM card
  • the technology and any of the eUICC replace the SIM card.
  • FIG. 1 is a scenario of a car networking service listed in the present application. As shown in Figure 1, it includes network operators, content providers, car network service providers, and terminal devices. Among them, network operators are used to provide basic network services. Network operators sell SIM cards and traffic to car network service providers. The content provider is used to produce the corresponding content for the user to access the corresponding content through the car network. The car network service provider is used to provide the SIM card and the pricing parameters to the terminal device that needs the corresponding service. The terminal device uses the corresponding network service according to the selected batch price parameter.
  • the vehicle networking service provider needs to pre-order the corresponding pricing parameters from the network operator for the terminal device according to the pricing parameter selected by the terminal device.
  • the pricing parameters that the vehicle networking service provider can select are 50 yuan 1G, 70 yuan 1.2G and other rating parameters, and the excess is 1 yuan / M.
  • the vehicle networking service provider may also select different rating parameters for different terminal devices.
  • FIG. 2 is a schematic structural diagram of a network charging system according to an embodiment of the present application.
  • a network element 201 is a gateway for processing data service access on the operator side.
  • the network element is a Gateway GPRS Support Node (GGSN).
  • GGSN Gateway GPRS Support Node
  • the network element When the terminal device uses the network, the network element generates the original CDR according to the usage of the terminal device.
  • the rating device 202 is configured to perform the rating of the original bill generated by the network element to generate a bill after the rating.
  • the financial processing device 203 is configured to bill the bill of the system, and the result of the billing is to output the fee that the car network service provider needs to settle for the network operator during the account period.
  • the rating device 202 may be a convergent billing point (CBP), which is responsible for receiving charging requests and completing unified charging for online and offline, and unified charging for voice services and data services.
  • CBP convergent billing point
  • the network element for unified charging of prepaid users and postpaid users.
  • the rating device 202 includes a time point t at which the set unchangeable rating parameter is set.
  • the rating device of the embodiment of the present application does not approve the original bill sent by the received network element 201 before the time point t.
  • the rating device may further determine whether to replace the batch price parameter according to the total flow rate of all the terminal devices corresponding to the flow pool in the accounting period.
  • the rating device 202 further includes a batch task of the batch price. When the time point t is reached, the rating device 202 performs the pricing according to the final price parameter determined by the operator.
  • the present application does not approve the received bills until the time point t at which the batch price parameter cannot be changed, and uniformly approves the accumulated bills when the time point t is reached.
  • the price is set according to the original batch price parameter, and the batch price is determined according to the modified price parameter, and the result of the original batch price parameter is also required to generate a rollback bill, thereby causing resources.
  • the rating device 202 only needs to perform a batch price on the cumulative service usage of each terminal device according to the rating parameter determined at the time point t. Therefore, the present application can significantly save the consumption of the rating device resources relative to the prior art.
  • the rating device 202 in the specific embodiment of the present application may further accumulate the service usage included in the bill of the same terminal device before the time node t of the batch parameter cannot be changed.
  • the rating device 202 only needs to perform the rating based on a cumulative amount of the same terminal device. Therefore, at the time of the rating, only one rating is performed for each terminal device. This further reduces the number of bills that the rating device 202 needs to be priced, and reduces the consumption of the rating device 202 resources.
  • FIG. 3 is a forward pricing method based on vehicle networking provided by a specific embodiment of the present application. As shown in Figure 3, the method includes:
  • a time point t at which the pre-configured batch parameter is no longer changed is included.
  • This point in time t of pre-configuration completion can be set for all terminal devices.
  • different time points t can also be configured according to each terminal device.
  • the time point t can be arbitrarily set as needed.
  • the time point t at which the batch price parameter cannot be changed is a rule set by the operator to the car network service provider, belonging to system level data, and stored in a database table or a configuration file in the background.
  • the operator can modify the configuration file according to the actual situation. For example, the time point t at which the operator does not change the rating parameter set in the last billing cycle is later, so that the batch price of the accumulated service usage of the terminal device is completed later. The operator can change this time point t in the next billing cycle.
  • the general time point t can be configured to set a number of days from the end of the account period, for example, 2 days, that is, the terminal device is not allowed to change the rating parameter within 2 days before the end of the account period. 2 days before the end of the account period, the terminal device can freely change the rating parameters according to the actual usage. By setting variable rating parameters and the point in time t where the pricing parameters are no longer changed, more customers can be attracted.
  • the time point t in which the rating parameter of a terminal device is no longer changed in the present application may be 48 hours before the end time of the account period.
  • an account period includes 30 days, 0:00:00 on the 29th day of the account period is the time point t.
  • the terminal device Before the time point t, the terminal device can change the rating parameter; after reaching the time point t or the time point t, the terminal device cannot change the rating parameter.
  • the network element of the operator When the terminal device uses the service provided by the operator at any time during the accounting period, the network element of the operator generates the corresponding original CDR according to the service usage used by the terminal device.
  • the original bill package may include a bill identifier, a billing object identifier, a service start time, a service end time, a service usage, a service type, and the like.
  • the bill identifier is used to uniquely distinguish the bill from other bills, and each bill has a different identifier.
  • the charging object identifier is used to uniquely distinguish the terminal device that generates the CDR from the other terminal device, and the terminal device generates the same terminal device identifier in the CDR.
  • the service start time is used to indicate the time when the terminal device accesses the network, and the service start time is based on the time when the terminal device actually accesses the network.
  • the service end time is used to indicate the time when the terminal device is disconnected from the network.
  • the service end time is the time when the terminal device actually disconnects from the network.
  • the service usage indicates the number of services generated by the terminal device from the start time of the service to the end time of the service.
  • the service type indicates the service used by the terminal device from the start time of the service to the end time of the service.
  • the fields included in the original bills listed above are only examples of the specific embodiments of the present application.
  • the above original bill cannot constitute a limitation on the original bill in the present application.
  • the fields included in the original bill can be arbitrarily increased or decreased according to the needs of the business.
  • Table 1 is an original bill provided by a specific embodiment of the present application.
  • the bill identifiers shown in Table 1 are used to distinguish them from other bills.
  • the bill identifier is “000000000000”, the billing object identifier is “AAAA”, the service start time is “20180201153306”, the service end time is “20180201153521”, the service usage is “10”, and the service category is “traffic”.
  • the rating device accumulates the received original bills before the time point t at which the current period is no longer changing the rating parameters.
  • the accumulation is a cumulative amount of business usage for a terminal device before a time point t of an accounting period.
  • the accumulation of the service usage of a terminal device before the time point t of an account period is the accumulation of the service usage included in the original CDR of the terminal device received by the rating device before the time point t of an account period.
  • the rating device determines the accumulated bill to which the bill belongs according to the billing object and the service start/end time.
  • the original bill of the terminal device received by the rating device before the time point t of an account period may be the original of the service start time and/or the service end time of the original bill of the terminal device before the time point t before the time point t
  • the rating device further determines, according to the terminal device, whether the accumulated bill of the terminal device is included in the current service period. If the current billing period does not include the accumulated bill of the terminal device, the rating device will create an accumulated bill of the terminal device in the current billing period.
  • the accumulated bills may include a billing object, a cumulant type, an account start time, an end period, and a business accumulative amount.
  • the identifier of the terminal device is used to uniquely distinguish the terminal device from other terminal devices.
  • the identifier of the terminal device may be a hardware identifier of the terminal device, an identifier of the user corresponding to the device, or an identifier of the used SIM card.
  • the cumulative amount type may be set in advance, and the rating device determines which cumulant type the original bill belongs to based on the information included in the original bill. For example, in the batch price parameter ordered by the terminal device, when the service usage of different time segments includes different cardinalities and different batch price parameters, the cumulative amount type includes the accumulated amount of busy hours and the accumulated amount of idle time. The billing period start time and the billing period end time are used to indicate the billing period. When determining whether the accumulative bill of the terminal device is included in the account period, the rating device may determine according to the start time of the account period and the end time of the account period. The service accumulation amount is used to indicate the sum of the cumulative use of services by the terminal device during the account period. Of course, if the cumulant type includes more than one, each cumulant type includes the corresponding business cumulant
  • Table 2 is a cumulative bill of a terminal device provided by the present application in a billing cycle.
  • the identifier of the terminal device is “AAAA”
  • the cumulant type is “traffic”
  • the start time of the account period is “20180201”
  • the end time of the account period is “20180228”
  • the cumulative amount of services is “300”.
  • the method for accumulating the service usage of the terminal device is only one of the specific embodiments of the present application.
  • the implementation manner cannot be used to limit the application.
  • the traffic volume of the terminal device in one charging terminal device may be accumulated at any time before the accumulated traffic volume is rated.
  • the rating device adds the service usage included in the original bill of the terminal device to the accumulated amount when the cumulative bill of the terminal device is created. At the same time, the rating device also approves the original bill. At this time, the rating result in the batch bill after the rating is zero, and the cumulative amount of the traffic pool is not deducted.
  • the present invention generates a bill with a zero rating by using the original bill received before the time node of the non-changeable pricing parameter, thereby facilitating subsequent list query processing.
  • the rating device adds the service usage included in the original bill to the corresponding service accumulative amount. At the same time, the rating device also approves the original bill. At this time, the rating result in the batch bill after the rating is zero, and the cumulative amount of the traffic pool is not deducted.
  • the rating device When the current time exceeds the time point t, the rating device will obtain the rating parameter at the time point t within the billing period. When all terminal devices adopt the same time point t, the rating device will directly obtain the rating parameter of the time point t.
  • the rating device When the rating device configures different time points t for different terminal devices or the terminal device configures the same time point for a part of the terminal devices, the rating device includes the correspondence between the identification information and the time point t. The rating device determines a corresponding time point t according to the identification information of the terminal device, and the identification information may be information for distinguishing different terminal devices or users.
  • a timed rating task is included.
  • the timed rating task is to approve the accumulated bills at the time point t when the current period reaches the unchangeable rating parameter.
  • the periodic rating task performs cyclical batch processing on the cumulative amount of traffic of each terminal device.
  • the rating device first determines whether the cumulative amount of the equipment in the current accounting period has been approved, and if the price has been approved, the next terminal device is processed. If there is no rating, the cumulative amount of the current accounting period of the terminal device is subjected to the pricing. .
  • the pricing of the accumulated traffic of the terminal device may be directly accumulated for multiple original bills, and then the price is priced; or the cumulative bills may be directly priced.
  • the accumulated original bills no longer change the accumulative order received by the rating device before the point of the batch price.
  • the CDRs after the approval include the accumulated business usage, deducted business usage and deduction expenses.
  • the batch device further adds a rating mark to the accumulated traffic of the terminal device to identify that the terminal device has completed the rating.
  • the rating identifier can be a rating time.
  • the terminal device After determining that the cumulative service usage of the terminal device has been priced before the time point t in the charging period, the terminal device performs the rating on the original CDR of the terminal device after the time point t in the charging period according to the pricing parameter.
  • the rating device determines whether the accumulated traffic of the corresponding terminal device in the original bill has been approved. When the accumulated traffic of the terminal device is not priced, the rating device appends the accumulated service usage of the terminal device, and then the original CDR is priced. The same as the scheduled rating task, after the completion of the cumulative business usage price, the rating mark is also added to the accumulated business usage. When the accumulated bill of the billing object has been priced (that is, the accumulated traffic includes the rating mark), the original bill is directly priced.
  • the accumulated traffic may be used to indicate the accumulated traffic in the accumulated bill.
  • Setting the rating identifier for the accumulated traffic may be to set the rating identifier for the accumulated bill.
  • the rating device sends the unidirectional financial processing device after the rating, and the transcript after the rating is performed by the financial processing device.
  • the rating device is a cumulative batch CDR before the time node in which each terminal device after the priced is no longer changed the batch price parameter, and the original unidirectional financial processing after the time node where the grading parameter is no longer changed.
  • the device sends.
  • the financial processing device accumulates the deduction amount in the cumulative lottery bill of each terminal device to determine the fee to be paid.
  • the original bill of the terminal device after the time point t in the billing period includes the original bill of the service start time and/or the service end time included in the original bill after the time point t; or The original bill of the original bill is received after the time point t.
  • the financial processing device may further accumulate the accumulated batch bill and the debit resource of the original bill to verify the result of the billing device billing.
  • the sum of the deduction resources of each accumulated batch bill in a resource pool is the same as the size of the resource pool, it is determined that the deduction device resource deduction is correct.
  • the rating device further includes a plurality of traffic pools, each of which is composed of a plurality of terminal devices.
  • the batch parameters ordered by the terminal devices in the same traffic pool are the same.
  • the rating device performs the pricing of the original bill and the accumulated bill of the terminal equipment included in the entire traffic pool according to the overall pricing parameter of the traffic pool in the process of rating the price of the traffic pool.
  • the rating device does not separately priced the terminal device according to the batch price parameter of a single terminal device in the flow pool.
  • the traffic pool is divided according to the pricing parameter ordered by the terminal device, and may also be divided according to the time when the terminal device uses the service. For example, the service usage used by a terminal device during busy hours and the service usage used by idle time belong to different traffic pools.
  • the rating device may determine the traffic pool to which the bill belongs according to the charging object and/or the service start time and the service end time. For example, the rating device determines, according to the identifier of the charging object, whether each of the traffic pools includes the same charging object identifier as the charging object. When the traffic pool includes the charging object identifier, it is determined that the original bill belongs to the traffic pool. The rating device can also determine the corresponding cumulative service usage for each terminal device in the traffic pool.
  • the rating of each terminal device in the traffic pool is that the batch price parameter of the traffic pool is obtained, and the cumulative service usage of each terminal device is separately priced. Specifically, for each terminal device in the traffic pool, when the rating parameter is no longer changed, the cumulative service usage and the original CDR of one terminal device are the same as the rating mode of the single terminal device. This application does not describe this.
  • the rating parameter of each terminal device in the flow pool is changed when the rating parameter is changed.
  • the batch price parameters of each terminal device in the traffic pool are the same.
  • FIG. 4 is a structural diagram of a rating device according to an embodiment of the present application. As shown in FIG. 4, a determining unit 401, an obtaining unit 402, a first processing unit 403, and a second processing unit 404 are included.
  • the determining unit 401 is configured to determine a time point t at which the rating parameter is no longer changed in the charging period.
  • the obtaining unit 402 is configured to obtain the batch price parameter of the time point t within the charging parameter billing period.
  • the first processing unit 403 is configured to perform the pricing according to the accumulated service usage of the terminal device before the time point t in the charging period, and the accumulated service usage amount is the accumulated traffic used by the terminal device before the time point t in the charging period.
  • the second processing unit 404 is configured to use the original parameter of the terminal device after the time point t in the charging period according to the rating parameter. Single price.
  • the first processing unit 403, according to the pricing parameter, the pricing of the accumulated service usage of the terminal device before the time point t in the charging period includes: obtaining all the original CDRs before the time point t in the charging period of the terminal device. . Accumulating the amount of service included in the obtained original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device. The cumulative business usage is priced based on the rating parameters.
  • the service usage included in all the original bills before the time point t includes: the service start time in the original bill and/or the service volume included in the original bill before the time point t; or The amount of traffic included in the original bill before the time point t when the original bill was received.
  • the original CDR of the terminal device after the time point t in the charging period includes: the original CDR of the original CDR in the original CDR and/or the service ending time after the time t; or the receiving time of the original CDR The original bill after time point t.
  • the usage amount is used to set the rating identifier to determine that the accumulated service usage amount before the time point t has been completed when the original bill of the terminal device is received after the time point t.
  • the determining unit 401 determines that the time point t in the charging parameter charging period includes: determining unit 401 determines, according to the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed in the charging period, and the identification information It can be information for distinguishing different terminal devices or users.
  • the determining unit 401 determines, according to the identifier information, a time point t that the batch price parameter is no longer changed in the charging period, the method includes: the obtaining unit 402 acquires the identifier information, and the rating device includes the time point that the identifier information and the rating parameter are no longer changed.
  • the correspondence between t and the time when the rating parameter corresponding to the identification information is no longer changed is the configuration information.
  • the determining unit 401 determines, based on the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed.
  • FIG. 5 is a schematic structural diagram of a rating device according to an embodiment of the present application. As shown in FIG. 5, the rating device includes a processor 501, a memory 502, and a communication interface 503.
  • the processor 501 can be a general-purpose central processing unit (CPU), a microprocessor, an application specific integrated circuit (ASIC), or one or more integrated circuits for executing related programs.
  • CPU central processing unit
  • ASIC application specific integrated circuit
  • the memory 502 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM).
  • the memory 502 can store an application.
  • the program code for implementing any of the optional technical solutions provided by the foregoing steps and method embodiments of the implementation of FIG. 3 of the present invention is stored in the memory 502, and It is executed by the processor 501.
  • the communication interface 503 is used to connect with other network elements and financial processing devices.
  • the processor 501 determines a time point t at which the rating parameter is no longer changed during the billing period. When it is determined that the current time exceeds the time point t, the batch price parameter at the time point t in the billing period is obtained. According to the rating parameter, the cumulative service usage of the terminal device before the time point t in the charging period is priced, and the accumulated service usage is the accumulated traffic used by the terminal device before the time point t. After determining that the cumulative service usage of the terminal device has been priced before the time point t in the charging period, the terminal device performs the pricing of the original CDR of the terminal device after the time point t in the charging period according to the pricing parameter.
  • the processor 501 performs the pricing of the accumulated service usage of the terminal device before the time point t in the charging period according to the rating parameter, including: acquiring all the original CDRs before the time point t in the charging period of the terminal device. Accumulating the amount of service included in the obtained original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device. The cumulative business usage is priced based on the rating parameters.
  • the service usage included in all the original CDRs before the time point t includes: the service start time in the original CDR and/or the traffic volume included in the original CDR of the service end time before the time point t. Or the amount of traffic included in the original bill before the time point t when the original bill is received.
  • the original bill of the terminal device after the time point t in the billing cycle includes: the original bill of the service start time and/or the service end time in the original bill after the time point t. Or the original bill of the original bill receipt time after the time point t.
  • the processor 501 further includes, after the pricing of the accumulated service usage before the time point t in the charging period, the batch price identifier is set to the cumulative service usage of the terminal device, to receive the terminal after the time point t.
  • the batch price identifier is set to the cumulative service usage of the terminal device, to receive the terminal after the time point t.
  • the processor 501 determines that the time point t in the charging parameter charging period includes: determining, according to the identification information, a time point t in which the rating parameter corresponding to the identification information is no longer changed in the charging period, and the identification information may be used to distinguish different terminals. Device or user information.
  • the determining, by the processor 501, the time point t that the pricing parameter is no longer changed in the charging period according to the identification information includes: acquiring the identification information, where the rating device includes the correspondence between the identification information and the time point t at which the rating parameter is no longer changed, and the identification information
  • the time when the corresponding batch parameter is no longer changed is the configuration information.
  • the time point t at which the rating parameter corresponding to the identification information is no longer changed is determined according to the rating parameter identification information.
  • the network rating device shown in Figure 5 can be the rating device of Figure 2.
  • the steps and specific embodiments of the foregoing apparatus in the embodiment of the present invention are also applicable to the network service manager shown in FIG. 5 of the present embodiment. For the sake of brevity of the description, details are not described herein again.
  • a specific embodiment of the present application provides a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by an electronic device including a plurality of applications, cause The illustrated electronic device performs the method flow illustrated in FIG.
  • Also disclosed in the specific embodiment of the present application is a computer program product that can be used to operate an access network device.
  • the computer program product runs on the access network device, the access network device is caused to perform the method as shown in FIG.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of cells is only a logical function division.
  • multiple units or 40 components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • Functionality if implemented as a software functional unit and sold or used as a stand-alone product, can be stored on a computer readable storage medium.
  • the technical solution of the present application which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including
  • the instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the various embodiments of the present application.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Provided are a rating method and apparatus. The method comprises: determining a time point, at which rating parameters are not changed any more, within a billing cycle; when it is determined that current time exceeds this time point, acquiring rating parameters at the time point within the billing cycle; rating, according to the rating parameters, a cumulative service usage amount of a terminal device before the time point within the billing cycle; and after it is determined that the cumulative service usage amount of the terminal device before the time point within the billing cycle has been rated, rating, according to the rating parameters, an original bill of the terminal device after the time point within the billing cycle. In the present application, a time node at which rating parameters cannot be changed is set. Before the time node at which the rating parameters cannot be changed, a terminal device only receives an original bill, but does not rate the received original bill, thus avoiding rating the same original bill repeatedly and reducing the resource consumption of a rating apparatus.

Description

一种批价方法和装置Rating method and device
本申请要求于2018年3月26日提交中国国家知识产权局、申请号为201810252946.5,发明名称为“一种批价方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 201810252946.5, filed on March 26, 2018, with the application number of 201810252946.5, the title of which is "a method and apparatus for the pricing", the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本申请涉及网络批价技术领域,尤其涉及一种批价方法和装置。The present application relates to the field of network rating technology, and in particular, to a rating method and apparatus.
背景技术Background technique
随着物联网(IOT,Internet of Things)技术的发展,车联网技术也在汽车领域开始逐渐推广和应用。车联网是指利用先进传感器技术、网络技术、计算技术、控制技术、智能技术,对道路和交通进行全面感知,实现多个系统间大范围、大容量数据交互;通过对每一辆汽车进行交通全程控制,对每一条道路进行交通全时空控制,以提供交通效率和交通安全为主的网络与应用;为驾驶员的安全驾驶和辅助驾驶提供技术支持。With the development of the Internet of Things (IOT) technology, the Internet of Vehicles technology has gradually been promoted and applied in the automotive field. Vehicle networking refers to the use of advanced sensor technology, network technology, computing technology, control technology, and intelligent technology to comprehensively sense roads and traffic, and realize large-scale and large-capacity data interaction among multiple systems; Full-time control, full-time control of traffic on each road to provide traffic efficiency and traffic safety-based networks and applications; provide technical support for drivers' safe driving and assisted driving.
运营商为了吸引更多的车联网服务提供商,允许车联网服务提供商根据设备的实际使用量在月底账期结束前几天修改为合适自己的套餐。从而导致运营商需要随时根据变更后的新套餐重新对整个账期的话单进行批价。In order to attract more car network service providers, operators allow car network service providers to modify their own packages a few days before the end of the month-end account period based on the actual usage of the equipment. As a result, the operator needs to re-price the bills of the entire account period at any time according to the changed new package.
另外,由于原套餐批价后已经对批价结果进行累帐,新套餐重新批价后不仅仅需要生成新的批价话单,还需要根据原套餐生成一个回滚话单。从而进一步加大了性能消耗。In addition, since the original package has been priced after the initial price, the new package will not only need to generate a new batch CDR, but also need to generate a rollback CDR according to the original package. Thereby further increasing the performance consumption.
发明内容Summary of the invention
为解决上述技术问题,本申请具体实施例提供一种批价方法和装置。在不可变更批价参数的时间节点t之前,只接收原始话单而不对接收的原始话单进行批价。从而避免了对同一个原始话单反复的批价。To solve the above technical problem, a specific embodiment of the present application provides a method and apparatus for rating. Before the time node t of the batch parameter cannot be changed, only the original bill is received and the original bill received is not priced. This avoids the repeated price of the same original bill.
本申请实施例是这样实现的:The embodiment of the present application is implemented as follows:
第一方面,本申请具体实施例提供一种批价方法,所述方法包括:确定计费周期内批价参数不再变更的时间点t;确定当前时间超过该时间点t时,获取该计费周期内所述时间点t的批价参数;根据该批价参数对所述计费周期内该时间点t之前终端设备的累计业务使用量进行批价,该累计业务使用量是计费周期内所述时间点t之前该终端设备累计使用的业务量;确定该终端设备在该计费周期内该时间点t之前终端设备的累计业务使用量已进行批价后,根据批价参数对该计费周期内该时间点t之后该终端设备的原始话单进行批价。In a first aspect, a specific embodiment of the present application provides a method for rating, the method comprising: determining a time point t at which a rating parameter is no longer changed in a charging period; and determining to obtain the current time when the current time exceeds the time point t a batch price parameter at the time point t in the fee period; the cumulative service usage amount of the terminal device before the time point t in the charging period is priced according to the rating parameter, and the accumulated service usage amount is a charging period The amount of traffic accumulated by the terminal device before the time point t; determining that the terminal device has been approved for the cumulative service usage of the terminal device before the time point t within the charging period, according to the rating parameter The original bill of the terminal device is priced after the time point t in the billing cycle.
本申请通过设定不可变更批价参数的时间节点t。终端设备在不可变更批价参数的时间节点t之前,只接收原始话单而不对接收的原始话单进行批价。在批价参数不可变更时,获取不可变更批价参数时的批价参数,对累计的业务用量进行批价。从而避免了对同一个原始话单反复的批价,降低了批价装置的资源消耗。This application sets the time node t of the non-changeable pricing parameter. The terminal device only receives the original CDR and does not approve the original CDR received before the time node t of the batch parameter cannot be changed. When the rating parameter cannot be changed, the batch price parameter when the batch price parameter cannot be changed is obtained, and the accumulated business usage is evaluated. Thereby, the repeated price of the same original bill is avoided, and the resource consumption of the rating device is reduced.
在一个可能的设计中,该根据该批价参数,对该计费周期内该时间点t之前终端设备的累计业务使用量进行批价包括:获取该终端设备计费周期内该时间点t之前的所有原始话单;对获取的该原始话单中包括的业务用量进行累加得到该终端设备计费周期内该时间点t之前 的累计业务使用量;根据该批价参数,对该累计业务使用量进行批价。In a possible design, the rating of the cumulative service usage of the terminal device before the time point t in the charging period according to the rating parameter includes: obtaining the time point t within the charging period of the terminal device. All the original bills; accumulating the acquired service usage included in the original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device; according to the rating parameter, using the accumulated service The quantity is subject to approval.
批价装置通过对一个周期中,批价参数不可变更的时间节点前接受的业务用量进行累计,从而避免了对终端设备产生的每个话单进行批价,而只对最终累计的业务用量进行批价。从而提高了批价装置的批价效率,降低了批价装置的资源消耗。The rating device accumulates the business usage received before the time node in which the batch price parameter cannot be changed in one cycle, thereby avoiding the rating of each bill generated by the terminal device, and only performing the final accumulated business usage. Rating. Thereby, the rating efficiency of the rating device is improved, and the resource consumption of the rating device is reduced.
在一个可能的设计中,该时间点t之前的所有原始话单中包括的业务用量包括:该原始话单中业务开始时间和/或业务结束时间在该时间点t之前的原始话单中包括的业务量;或接收该原始话单的时间在该时间点t之前的原始话单中包括的业务量。In a possible design, the service usage included in all the original CDRs before the time point t includes: the service start time and/or the service end time in the original CDR are included in the original CDR before the time point t. The amount of traffic; or the amount of traffic included in the original bill before the time point t when the original bill was received.
在一个可能的设计中,该计费周期内该时间点t之后该终端设备的原始话单包括:该原始话单中业务开始时间和/或业务结束时间在该时间点t之后的原始话单;或该原始话单的接收时间在该时间点t之后的原始话单。In a possible design, the original bill of the terminal device after the time point t in the billing period includes: the original bill in the original bill after the service start time and/or the service end time after the time point t Or the original bill of the original bill receipt time after the time point t.
在一个可能的设计中,该根据该批价参数,对该计费周期内该时间点t之前的累计业务使用量进行批价后,该方法还包括:对该终端设备的累计业务使用量设置批价标识,以在该时间点t之后收到该终端设备的原始话单时确定该时间点t之前的累计业务使用量已完成批价。In a possible design, after the pricing of the accumulated service usage before the time point t in the charging period is performed according to the rating parameter, the method further includes: setting the cumulative service usage of the terminal device. The rating identifier is such that when the original bill of the terminal device is received after the time point t, it is determined that the accumulated service usage amount before the time point t has been completed.
通过对每个终端设备累计的业务一片拿过来批价后设置批价完成标识,从而区分已完成批价的终端设备的累计业务用量和没有完成批价的终端设备的累计业务用量。避免对一个终端设备的累计业务用量重复批价。After the batch of services accumulated by each terminal device is taken up, the batch price completion identifier is set, thereby distinguishing the cumulative service usage of the terminal equipment that has completed the rating and the accumulated service usage of the terminal equipment that has not completed the rating. Avoid repeating the approval of the cumulative business usage of an end device.
在一个可能的设计中,该确定该计费周期内该时间点t包括:根据标识信息确定该计费周期内与该标识信息相对应的批价参数不再变更的时间点t,该标识信息可以是用于区别不同终端设备或用户的信息。In a possible design, the determining the time point t in the charging period includes: determining, according to the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed in the charging period, the identification information It can be information for distinguishing different terminal devices or users.
通过对不同终端设备确定不能的批价参数不可变更的时间点,从而使批价装置能够更好的对累计业务用量进行批价。By determining the time points at which the impossible batch parameters cannot be changed for different terminal devices, the rating device can better approve the accumulated business usage.
在一个可能的设计中,该根据标识信息确定该计费周期内批价参数不再变更的时间点t包括:获取标识信息,批价装置包括标识信息与批价参数不再变更的时间点t的对应关系,该标识信息对应的批价参数不再变更的时间为配置信息;根据该标识信息确定与该标识信息对应的批价参数不再变更的时间点t。In a possible design, the determining of the time point t that the pricing parameter is no longer changed in the charging period according to the identification information includes: acquiring the identification information, and the rating device includes the time point t when the identification information and the rating parameter are no longer changed. The corresponding relationship, the time when the rating parameter corresponding to the identification information is no longer changed is the configuration information; and the time point t at which the rating parameter corresponding to the identification information is no longer changed is determined according to the identification information.
第二方面,本申请具体实施例提供一种批价装置,包括确定单元、获取单元、第一处理单元和第二处理单元。确定单元,用于确定计费周期内批价参数不再变更的时间点t;确定当前时间超过该时间点t时,获取单元,用于获取该计费周期内在该时间点t的批价参数;第一处理单元,用于根据该批价参数对该计费周期内该时间点t之前终端设备的累计业务使用量进行批价,该累计业务使用量是时间点t之前该终端设备累计使用的业务量;确定该终端设备在该计费周期内该时间点t之前终端设备的累计业务使用量已进行批价后,第二处理单元,用于根据该批价参数对该计费周期内该时间点t之后该终端设备的原始话单进行批价。In a second aspect, a specific embodiment of the present application provides a rating device, including a determining unit, an obtaining unit, a first processing unit, and a second processing unit. a determining unit, configured to determine a time point t when the rating parameter is no longer changed in the charging period; and when the current time exceeds the time point t, the obtaining unit is configured to obtain the rating parameter at the time point t in the charging period a first processing unit, configured to perform, according to the rating parameter, a cumulative service usage amount of the terminal device before the time point t in the charging period, where the accumulated service usage amount is cumulative use of the terminal device before the time point t After the terminal device determines that the cumulative service usage of the terminal device has been priced before the time point t in the charging period, the second processing unit is configured to use the rating parameter for the charging period. After the time point t, the original bill of the terminal device is priced.
在一个可能的设计中,该第一处理单元根据该批价参数对该计费周期内该时间点t之前终端设备的累计业务使用量进行批价包括:获取该终端设备计费周期内该时间点t之前的所有原始话单;对获取的该原始话单中包括的业务用量进行累加得到该终端设备计费周期内该时间点t之前的累计业务使用量;根据该批价参数,对该累计业务使用量进行批价。In a possible design, the first processing unit, according to the rating parameter, the rating of the accumulated service usage of the terminal device before the time point t in the charging period includes: obtaining the time in the charging period of the terminal device All the original bills before the point t; accumulating the acquired service usage included in the original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device; according to the rating parameter, Accumulated business usage is subject to approval.
在一个可能的设计中,该时间点t之前的所有原始话单中包括的业务用量包括:该原始话单中业务开始时间和/或业务结束时间在该时间点t之前的原始话单中包括的业务量;或接收该原始话单的时间在该时间点t之前的原始话单中包括的业务量。In a possible design, the service usage included in all the original CDRs before the time point t includes: the service start time and/or the service end time in the original CDR are included in the original CDR before the time point t. The amount of traffic; or the amount of traffic included in the original bill before the time point t when the original bill was received.
在一个可能的设计中,该计费周期内该时间点t之后该终端设备的原始话单包括:该原始话单中业务开始时间和/或业务结束时间在该时间点t之后的原始话单;或该原始话单的接收时间在该时间点t之后的原始话单。In a possible design, the original bill of the terminal device after the time point t in the billing period includes: the original bill in the original bill after the service start time and/or the service end time after the time point t Or the original bill of the original bill receipt time after the time point t.
在一个可能的设计中,该第一处理单元根据该批价参数,对该计费周期内该时间点t之前的累计业务使用量进行批价后,还包括:第一处理单元,用于对该终端设备的累计业务使用量设置批价标识,以在该时间点t之后收到该终端设备的原始话单时确定该时间点t之前的累计业务使用量已完成批价。In a possible design, the first processing unit, after rating the accumulated service usage before the time point t in the charging period, according to the rating parameter, further includes: a first processing unit, configured to The cumulative service usage of the terminal device sets the rating identifier to determine that the accumulated service usage before the time point t has been completed after receiving the original CDR of the terminal device after the time point t.
在一个可能的设计中,该确定单元确定该计费周期内该时间点t包括:确定单元根据标识信息确定该计费周期内与该标识信息相对应的批价参数不再变更的时间点t,该标识信息可以是用于区别不同终端设备或用户的信息。In a possible design, the determining unit determines the time point t in the charging period, and the determining unit determines, according to the identification information, a time point t in which the rating parameter corresponding to the identification information is no longer changed in the charging period. The identification information may be information for distinguishing different terminal devices or users.
在一个可能的设计中,该确定单元根据标识信息确定该计费周期内批价参数不再变更的时间点t包括:获取标识信息,批价装置包括标识信息与批价参数不再变更的时间点t的对应关系,该标识信息对应的批价参数不再变更的时间为配置信息;根据该标识信息确定与该标识信息对应的批价参数不再变更的时间点t。In a possible design, the determining unit determines, according to the identification information, a time point t in which the rating parameter is no longer changed in the charging period, including: acquiring identification information, and the rating device includes the time when the identification information and the rating parameter are no longer changed. The time point t is the configuration information, and the time when the rating parameter corresponding to the identification information is no longer changed is the configuration information; and the time point t at which the rating parameter corresponding to the identification information is no longer changed is determined according to the identification information.
第三方面,本申请具体实施例提供一种批价装置,包括处理器和存储器,其中,存储器内存储有处理器能够执行的操作指令,处理器读取存储器内的操作指令用于实现第一方面任意一项该的方法。In a third aspect, a specific embodiment of the present application provides a rating apparatus, including a processor and a memory, wherein the memory stores an operation instruction executable by the processor, and the processor reads an operation instruction in the memory for implementing the first Any of the methods of this aspect.
第四方面,本申请提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述各方面该的方法。In a fourth aspect, the present application provides a computer readable storage medium having stored therein instructions that, when executed on a computer, cause the computer to perform the methods of the above aspects.
第五方面,本申请提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述各方面的方法。In a fifth aspect, the present application provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the methods of the various aspects described above.
附图说明DRAWINGS
图1为本申请列举的一种车联网服务场景;FIG. 1 is a scenario of a car networking service listed in the present application;
图2为本申请具体实施例提供的一种网络计费系统结构示意图;2 is a schematic structural diagram of a network charging system according to an embodiment of the present application;
图3为本申请具体实施例提供的一种基于车联网的前向批价方法;FIG. 3 is a forward pricing method based on vehicle networking provided by a specific embodiment of the present application; FIG.
图4为本申请具体实施例提供的一种批价装置结构图;4 is a structural diagram of a rating device according to an embodiment of the present application;
图5为本申请实施例提供的一种批价装置结构示意图。FIG. 5 is a schematic structural diagram of a rating device according to an embodiment of the present application.
具体实施方式detailed description
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
批价参数是网络运营商计算客户在一个计费周期内的计费标准。网络运营商将根据客户在该账期中各种业务的使用量和不同业务、不同使用量的批价参数,计算客户在该账期中扣取的费用。在一个具体例子中,批价参数也可以叫做套餐,批价参数(套餐)可以包括50元1G、超出部分1元/M。也就是说,客户在一个账期内固定扣除50元,客户可以在账期内使用1G流量不扣费,流量超出1G的部分按照1元/M计费。The rating parameter is the charging standard for the network operator to calculate the customer's billing period. The network operator will calculate the cost deducted by the customer during the account period based on the usage of various services in the account period and the pricing parameters of different businesses and different usages. In a specific example, the rating parameter may also be called a package, and the rating parameter (package) may include 50 yuan 1G and excess 1 yuan/M. That is to say, the customer can deduct 50 yuan in a fixed period, the customer can use 1G traffic without deduction in the account period, and the part with the flow exceeding 1G is charged at 1 yuan/M.
网络运营商为了提供更好的服务,可以允许客户在一个账期快要结束前,修改该账期的批价参数。网络运营商可以设置一个不再变更批价参数的时间点t,例如账期结束前2天。客户在该账期结束前2天可以更换批价参数,账期结束2天内不能更换批价参数。在本申请 的具体实施例中,上述客户可以是单个终端设备的用户,也可以是多个终端设备构成的用户的集合。多个终端设备构成的用户的集合可以是车联网服务提供商,当然,车联网服务提供商可以根据业务情况,将不同的终端设备分为多个集合。In order to provide better service, network operators can allow customers to modify the pricing parameters of the account period before the end of an account period. The network operator can set a time point t that does not change the pricing parameter, such as 2 days before the end of the account period. The customer can replace the rating parameter 2 days before the end of the account period, and the batch price parameter cannot be replaced within 2 days after the end of the account period. In a specific embodiment of the present application, the client may be a user of a single terminal device or a collection of users composed of multiple terminal devices. The set of users composed of multiple terminal devices may be a car network service provider. Of course, the car network service provider may divide different terminal devices into multiple sets according to the business situation.
下面,通过车联网作为具体应用实例进行说明。Below, the vehicle networking is described as a specific application example.
在车联网的应用场景中,网络运营商允许车联网服务提供商根据实际使用量在月底账期结束前几天修改为合适的批价参数。在不可变化批价参数的时间点t前,车联网服务提供商可以根据实际使用量更改批价参数。In the application scenario of the Internet of Vehicles, the network operator allows the car network service provider to modify the appropriate rating parameters a few days before the end of the month end period according to the actual usage. Before the time point t of the unchangeable rating parameter, the car network service provider can change the rating parameter according to the actual usage.
车联网是指装载在车辆上的车载设备。该车载设备通过无线射频等识别技术,实现在信息网络平台上对所有车辆的属性信息和静、动态信息进行提取和有效利用。同时,该车载设备还可以根据不同的功能需求对所有车辆的运行状态进行有效的监管和提供综合服务。The car network refers to the in-vehicle device loaded on the vehicle. The in-vehicle device realizes the extraction and effective utilization of attribute information and static and dynamic information of all vehicles on the information network platform through the identification technology such as radio frequency. At the same time, the in-vehicle device can effectively supervise and provide comprehensive services for the operating status of all vehicles according to different functional requirements.
车联网服务是车联网服务提供商提供的车联网服务。车联网服务提供商通过从运营商侧购买一批SIM(subscriber identity module,用户身份模块)卡给车载设备,使终端设备可以改SIM卡享受相应的服务。终端设备可以根据需要选择订购不同的服务套餐。The car networking service is a car networking service provided by the car networking service provider. The car network service provider purchases a batch of SIM (subscriber identity module) card from the operator side to the in-vehicle device, so that the terminal device can change the SIM card to enjoy the corresponding service. The terminal device can choose to order different service packages as needed.
需要说明的是,为每个终端设备分配相应的SIM卡,通过SIM卡获取相应的网络服务仅为本申请具体实施例中的一种具体实现方式。在一个例子中,也可通过vSIM(Vehicles Safety Information Model)技术、SoftSIM(Soft Safety Information Model)技术、M2M SIM(Machine-to-Machine Safety Information Model)技术、eSIM(Embedded-SIM,嵌入式SIM卡)技术和eUICC(Embedded Universal Integrated Circuit Card Universal Integrated Circuit Card,嵌入式通用集成电路卡)技术中的任意一种代替SIM卡。It should be noted that the corresponding SIM card is allocated to each terminal device, and obtaining the corresponding network service through the SIM card is only one specific implementation manner in the specific embodiment of the present application. In one example, vSIM (Vehicles Safety Information Model) technology, SoftSIM (Soft Safety Information Model) technology, M2M SIM (Machine-to-Machine Safety Information Model) technology, eSIM (Embedded-SIM, embedded SIM card) The technology and any of the eUICC (Embedded Universal Integrated Circuit Card Universal Integrated Circuit Card) technologies replace the SIM card.
图1为本申请列举的一种车联网服务场景。如图1所示,包括网络运营商、内容提供商、车联网服务提供商和终端设备。其中,网络运营商用于提供基本的网络服务。网络运营商通过销售SIM卡和流量给车联网服务提供商。内容提供商用于生产相应的内容,以供用户通过车联网访问相应的内容。车联网服务提供商用于将SIM卡和批价参数提供给需要相应服务的终端设备。终端设备根据所选择的批价参数使用相应的网络服务。FIG. 1 is a scenario of a car networking service listed in the present application. As shown in Figure 1, it includes network operators, content providers, car network service providers, and terminal devices. Among them, network operators are used to provide basic network services. Network operators sell SIM cards and traffic to car network service providers. The content provider is used to produce the corresponding content for the user to access the corresponding content through the car network. The car network service provider is used to provide the SIM card and the pricing parameters to the terminal device that needs the corresponding service. The terminal device uses the corresponding network service according to the selected batch price parameter.
车联网服务提供商需要根据终端设备所选择的批价参数为终端设备从网络运营商预先订购相应的批价参数。The vehicle networking service provider needs to pre-order the corresponding pricing parameters from the network operator for the terminal device according to the pricing parameter selected by the terminal device.
在一个例子中,假设车联网服务提供商可选择的批价参数有50元1G、70元1.2G等多个批价参数,超出部分都是1元/M。车联网服务提供商月初时暂时选择一个50元的批价参数,假设有1000个设备。到了12月28日,该车联网服务提供商下的所有设备共使用流量1100G。使用月初确定的批价参数批价时,车联网服务提供商该批价费用为50元*1000+1024*100=152400元。若车联网服务提供商可以根据实际使用量更改批价参数,例如可以更改为70元1.2G的批价参数,则1000*1.2G=1200G>1100G,批价费用只需70元*1000=70000元。从而能够大大的节约开支。In an example, it is assumed that the pricing parameters that the vehicle networking service provider can select are 50 yuan 1G, 70 yuan 1.2G and other rating parameters, and the excess is 1 yuan / M. The car network service provider temporarily selects a 50-yuan rating parameter at the beginning of the month, assuming there are 1000 devices. On December 28th, all devices under the car network service provider used a total of 1100G. When using the approval price of the batch price determined at the beginning of the month, the price of the car network service provider is 50 yuan * 1000 + 1024 * 100 = 152,400 yuan. If the car network service provider can change the price parameter according to the actual usage, for example, it can be changed to the price parameter of RMB 70 and 1.2G, then 1000*1.2G=1200G>1100G, and the price of the price is only 70 yuan*1000=70000. yuan. This can greatly save money.
当然,上述为所有终端设备更改相同的批价参数仅为本申请具体实施例中的一种举例。在本申请的具体实施例中,车联网服务提供商还可以为不同终端设备选择不同的批价参数。Of course, the above modification of the same rating parameter for all terminal devices is only one example of a specific embodiment of the present application. In a specific embodiment of the present application, the vehicle networking service provider may also select different rating parameters for different terminal devices.
图2为本申请具体实施例提供的一种网络计费系统结构示意图。如图2所示,包括网元201、批价装置202和财务处理装置203。其中,网元201是运营商侧处理数据业务接入的网关。例如,该网元为网关GPRS支持节点(GGSN,Gateway GPRS Support Node)。当终端设备使用网络时,网元根据终端设备的使用情况生成原始话单。批价装置202用于将网元产生的原始话单进行批价,生成批价后的话单。财务处理装置203用于对系统的账单进行出账, 出账的结果即输出本账期内车联网服务提供商需要给网络运营商结算的费用。FIG. 2 is a schematic structural diagram of a network charging system according to an embodiment of the present application. As shown in FIG. 2, a network element 201, a rating device 202, and a financial processing device 203 are included. The network element 201 is a gateway for processing data service access on the operator side. For example, the network element is a Gateway GPRS Support Node (GGSN). When the terminal device uses the network, the network element generates the original CDR according to the usage of the terminal device. The rating device 202 is configured to perform the rating of the original bill generated by the network element to generate a bill after the rating. The financial processing device 203 is configured to bill the bill of the system, and the result of the billing is to output the fee that the car network service provider needs to settle for the network operator during the account period.
在本申请的实施例中,批价装置202可以是融合计费点(convergent billing point,CBP),是一个负责接收计费请求并完成在线和离线统一计费,话音业务和数据业务统一计费,预付费用户和后付费用户统一计费的网元。In the embodiment of the present application, the rating device 202 may be a convergent billing point (CBP), which is responsible for receiving charging requests and completing unified charging for online and offline, and unified charging for voice services and data services. The network element for unified charging of prepaid users and postpaid users.
在本申请的具体实施例中,批价装置202包括设定的不可变更批价参数的时间点t。本申请实施例的批价装置在该时间点t前,不对接收的网元201发送的原始话单进行批价。在该时间点t前,批价装置还可以根据流量池对应的所有终端设备在该账期中累计总流量确定是否更换批价参数。该批价装置202还包括批量批价的定时任务,到达该时间点t时,批价装置202再根据运营商最后确定的批价参数进行批价。In a particular embodiment of the present application, the rating device 202 includes a time point t at which the set unchangeable rating parameter is set. The rating device of the embodiment of the present application does not approve the original bill sent by the received network element 201 before the time point t. Before the time point t, the rating device may further determine whether to replace the batch price parameter according to the total flow rate of all the terminal devices corresponding to the flow pool in the accounting period. The rating device 202 further includes a batch task of the batch price. When the time point t is reached, the rating device 202 performs the pricing according to the final price parameter determined by the operator.
本申请通过设定在不可变更批价参数的时间点t前不对接收的话单进行批价,而在到达该时间点t时统一对累计接收的话单进行批价。避免了现有技术中既要根据原始批价参数进行批价,又要根据修改后的批价参数进行批价、还需要对原始批价参数批价的结果产生回滚话单,从而造成资源消耗过大的问题。而本申请提供的方案中,批价装置202仅需对每个终端设备的累计业务用量按照该时间点t确定的批价参数进行一次批价。因此,本申请相对于现有技术能够明显的节约批价装置资源的消耗。The present application does not approve the received bills until the time point t at which the batch price parameter cannot be changed, and uniformly approves the accumulated bills when the time point t is reached. In the prior art, it is avoided that the price is set according to the original batch price parameter, and the batch price is determined according to the modified price parameter, and the result of the original batch price parameter is also required to generate a rollback bill, thereby causing resources. Excessively expensive problems. In the solution provided by the present application, the rating device 202 only needs to perform a batch price on the cumulative service usage of each terminal device according to the rating parameter determined at the time point t. Therefore, the present application can significantly save the consumption of the rating device resources relative to the prior art.
进一步的,本申请具体实施例中的批价装置202在不可变更批价参数的时间节点t前,还可以对同一终端设备的话单中包括的业务用量进行累计。到达该时间点t时,批价装置202仅需根据同一终端设备的一个累计量进行批价。从而在批价时,仅对每个终端设备进行一次批价。由此进一步的降低了批价装置202需要批价的话单的数量,降低了批价装置202资源的消耗。Further, the rating device 202 in the specific embodiment of the present application may further accumulate the service usage included in the bill of the same terminal device before the time node t of the batch parameter cannot be changed. When the time point t is reached, the rating device 202 only needs to perform the rating based on a cumulative amount of the same terminal device. Therefore, at the time of the rating, only one rating is performed for each terminal device. This further reduces the number of bills that the rating device 202 needs to be priced, and reduces the consumption of the rating device 202 resources.
图3为本申请具体实施例提供的一种基于车联网的前向批价方法。如图3所示,该包括方法:FIG. 3 is a forward pricing method based on vehicle networking provided by a specific embodiment of the present application. As shown in Figure 3, the method includes:
S301、确定计费周期内批价参数不再变更的时间点t。S301. Determine a time point t at which the pricing parameter is no longer changed in the charging period.
在本申请的具体实施例中,包括预先配置完成的批价参数不再变更的时间点t。预先配置完成的该时间点t可以针对所有的终端设备设置。当然,也可以根据每个终端设备配置不同的时间点t。更或者,还可以对一部分的终端设备配置相同的时间点t。时间点t可以根据需要任意的设置。不可变更批价参数的时间点t是,运营商对车联网服务提供商设置的一个规则,属于系统级数据,在后台存放于数据库表或者配置文件中。In a specific embodiment of the present application, a time point t at which the pre-configured batch parameter is no longer changed is included. This point in time t of pre-configuration completion can be set for all terminal devices. Of course, different time points t can also be configured according to each terminal device. Or, it is also possible to configure a part of the terminal devices at the same time point t. The time point t can be arbitrarily set as needed. The time point t at which the batch price parameter cannot be changed is a rule set by the operator to the car network service provider, belonging to system level data, and stored in a database table or a configuration file in the background.
当然,运营商可以根据实际情况的需要修改该配置文件。例如,运营商在上一个计费周期中设置的批价参数不再变更的时间点t较晚,从而导致终端设备的累计业务用量的批价完成较晚。运营商可以在下一个计费周期更改该时间点t。Of course, the operator can modify the configuration file according to the actual situation. For example, the time point t at which the operator does not change the rating parameter set in the last billing cycle is later, so that the batch price of the accumulated service usage of the terminal device is completed later. The operator can change this time point t in the next billing cycle.
一般时间点t可以是配置一个距离账期结束时间的天数,例如2天,就是账期结束前2天内不允许终端设备更改批价参数。在账期结束2天前,终端设备可以随意根据实际使用量更改批价参数。通过设置可变批价参数和不再变更批价参数的时间点t,从而能够吸引更多的客户使用。The general time point t can be configured to set a number of days from the end of the account period, for example, 2 days, that is, the terminal device is not allowed to change the rating parameter within 2 days before the end of the account period. 2 days before the end of the account period, the terminal device can freely change the rating parameters according to the actual usage. By setting variable rating parameters and the point in time t where the pricing parameters are no longer changed, more customers can be attracted.
在一个例子中,本申请中设定一个终端设备的批价参数不再变更的时间点t可以是账期结束时间前48小时。当一个账期包括30天时,该账期的第29天的0时0分0秒为该时间点t。在该时间点t之前,该终端设备可以更改批价参数;到达该时间点t或该时间点t之后,该终端设备不能改变批价参数。In one example, the time point t in which the rating parameter of a terminal device is no longer changed in the present application may be 48 hours before the end time of the account period. When an account period includes 30 days, 0:00:00 on the 29th day of the account period is the time point t. Before the time point t, the terminal device can change the rating parameter; after reaching the time point t or the time point t, the terminal device cannot change the rating parameter.
终端设备在该账期的任意时间使用运营商提供的业务时,运营商的网元将根据终端设备 使用的业务用量生成相应的原始话单。原始话单包可以包括话单标识、计费对象标识、业务开始时间、业务结束时间、业务用量、业务类型等。When the terminal device uses the service provided by the operator at any time during the accounting period, the network element of the operator generates the corresponding original CDR according to the service usage used by the terminal device. The original bill package may include a bill identifier, a billing object identifier, a service start time, a service end time, a service usage, a service type, and the like.
话单标识用于唯一区别该话单与其他话单,每个话单都具有不同的标识。计费对象标识用于唯一区别产生该话单的终端设备与其它终端设备,该终端设备产生话单中终端设备标识相同。业务开始时间用于表示该终端设备接入网络的时间,业务开始时间根据终端设备实际接入网络的时间。业务结束时间用于表示该终端设备与网络断开的时间,业务结束时间为终端设备实际断开网络的时间。业务用量表示该终端设备从该业务开始时间到该业务结束时间所产生的业务数量。业务类型表示该终端设备从该业务开始时间到该业务结束时间所使用的业务。The bill identifier is used to uniquely distinguish the bill from other bills, and each bill has a different identifier. The charging object identifier is used to uniquely distinguish the terminal device that generates the CDR from the other terminal device, and the terminal device generates the same terminal device identifier in the CDR. The service start time is used to indicate the time when the terminal device accesses the network, and the service start time is based on the time when the terminal device actually accesses the network. The service end time is used to indicate the time when the terminal device is disconnected from the network. The service end time is the time when the terminal device actually disconnects from the network. The service usage indicates the number of services generated by the terminal device from the start time of the service to the end time of the service. The service type indicates the service used by the terminal device from the start time of the service to the end time of the service.
当然,上述列举的原始话单中包括的字段仅为本申请在具体实施例中的举例。上述原始话单并不能对本申请中的原始话单构成限定。在本申请的具体实施例中,原始话单中包括的字段可以根据业务的需求任意的增加或减少。Of course, the fields included in the original bills listed above are only examples of the specific embodiments of the present application. The above original bill cannot constitute a limitation on the original bill in the present application. In a specific embodiment of the present application, the fields included in the original bill can be arbitrarily increased or decreased according to the needs of the business.
在一个例子中,表1为本申请具体实施例提供的一个原始话单。如表1所示话单标识用于区别于别的话单。其中,话单标识为“000000000000”、计费对象标识为“AAAA”、业务开始时间为“20180201153306”、业务结束时间为“20180201153521”、业务用量为“10”、业务大类为“流量”。In one example, Table 1 is an original bill provided by a specific embodiment of the present application. The bill identifiers shown in Table 1 are used to distinguish them from other bills. The bill identifier is “000000000000”, the billing object identifier is “AAAA”, the service start time is “20180201153306”, the service end time is “20180201153521”, the service usage is “10”, and the service category is “traffic”.
表1Table 1
话单标识Bill identification 000000000000000000000000
终端设备标识Terminal device identification AAAAAAAA
业务开始时间Business start time 2018020115330620180201153306
业务结束时间Business end time 2018020115352120180201153521
业务用量Business usage 10MB10MB
业务大类Business class 流量flow
业务子类Business subclass 流量flow
在本申请的具体实施例中,当前周期不再变更批价参数的时间点t前,批价装置对接收的原始话单进行累计。具体的,累计是针对一个终端设备在一个账期的时间点t前业务用量的累计。一个终端设备在一个账期的时间点t前业务用量的累计是批价装置在一个账期的时间点t前接收的终端设备的原始话单中包括的业务用量的累计。在一个例子中,批价装置接收一个原始话单后,根据计费对象和业务开始/结束时间,确定话单所属的累计话单。In a specific embodiment of the present application, the rating device accumulates the received original bills before the time point t at which the current period is no longer changing the rating parameters. Specifically, the accumulation is a cumulative amount of business usage for a terminal device before a time point t of an accounting period. The accumulation of the service usage of a terminal device before the time point t of an account period is the accumulation of the service usage included in the original CDR of the terminal device received by the rating device before the time point t of an account period. In an example, after receiving the original bill, the rating device determines the accumulated bill to which the bill belongs according to the billing object and the service start/end time.
批价装置在一个账期的时间点t前接收的终端设备的原始话单可以是该时间点t之前终端设备的原始话单中业务开始时间和/或业务结束时间在时间点t之前的原始话单中包括的业务量;或接收终端设备的原始话单的时间在时间点t之前的原始话单中包括的业务量。The original bill of the terminal device received by the rating device before the time point t of an account period may be the original of the service start time and/or the service end time of the original bill of the terminal device before the time point t before the time point t The amount of traffic included in the bill; or the amount of traffic included in the original bill before the time point t when the original bill of the terminal device is received.
同时,批价装置还根据该终端设备确定当前业务周期中是否包括该终端设备的累计话单。若当前计费周期不包括该终端设备的累计话单时,批价装置将创建该终端设备在当前计 费周期的累计话单。累计话单可以包括计费对象、累积量类型、账期开始时间、账期结束时间和业务累积量。At the same time, the rating device further determines, according to the terminal device, whether the accumulated bill of the terminal device is included in the current service period. If the current billing period does not include the accumulated bill of the terminal device, the rating device will create an accumulated bill of the terminal device in the current billing period. The accumulated bills may include a billing object, a cumulant type, an account start time, an end period, and a business accumulative amount.
其中,终端设备的标识用于唯一区别该终端设备与其它终端设备。在本申请的具体实施例中,终端设备的标识可以是终端设备的硬件标识,设备所对应的用户的标识,或者所使用的SIM卡的标识。The identifier of the terminal device is used to uniquely distinguish the terminal device from other terminal devices. In a specific embodiment of the present application, the identifier of the terminal device may be a hardware identifier of the terminal device, an identifier of the user corresponding to the device, or an identifier of the used SIM card.
累计量类型可以预先设置多个,批价装置根据原始话单中包括的信息确定该原始话单属于哪个累积量类型。例如,终端设备所订购的批价参数中,不同时间段的业务用量包括不同的基数和不同批价参数时,累积量类型中包括忙时的累积量和闲时的累积量。账期开始时间和账期结束时间用于表示计费周期。批价装置在确定该账期内是否包括该终端设备的累计话单时,可以根据账期开始时间和账期结束时间来确定。业务累积量用于表示该账期内该终端设备累计使用业务的和。当然,若累积量类型包括多个时,每个累积量类型均包括相应的业务累积量The cumulative amount type may be set in advance, and the rating device determines which cumulant type the original bill belongs to based on the information included in the original bill. For example, in the batch price parameter ordered by the terminal device, when the service usage of different time segments includes different cardinalities and different batch price parameters, the cumulative amount type includes the accumulated amount of busy hours and the accumulated amount of idle time. The billing period start time and the billing period end time are used to indicate the billing period. When determining whether the accumulative bill of the terminal device is included in the account period, the rating device may determine according to the start time of the account period and the end time of the account period. The service accumulation amount is used to indicate the sum of the cumulative use of services by the terminal device during the account period. Of course, if the cumulant type includes more than one, each cumulant type includes the corresponding business cumulant
在一个例子中,表2为本申请提供的一个终端设备在一个计费周期的累计话单。如表2所示,终端设备的标识为“AAAA”,累积量类型为“流量”,账期开始时间为“20180201”,账期结束时间为“20180228”,业务累积量为“300”。In an example, Table 2 is a cumulative bill of a terminal device provided by the present application in a billing cycle. As shown in Table 2, the identifier of the terminal device is “AAAA”, the cumulant type is “traffic”, the start time of the account period is “20180201”, the end time of the account period is “20180228”, and the cumulative amount of services is “300”.
表2Table 2
终端设备标识Terminal device identification AAAAAAAA
累积量类型Cumulative type 流量flow
账期开始时间Account start time 2018020120180201
账期结束时间End of account period 2018022820180228
业务累积量Business accumulation 300MB300MB
当然,上述批价装置在接收到一个原始话单并确定该终端设备的批价参数当前可以变更时,将对该终端设备的业务用量进行累计的方法仅为本申请具体实施例中的一种实现方式,不能用于对本申请进行限定。在本申请的实施例中,可以在对累计的业务量进行批价前的任意时刻对终端设备在一个计费终端设备中的业务量进行累计。Certainly, when the above-mentioned rating device receives an original bill and determines that the rating parameter of the terminal device can be changed currently, the method for accumulating the service usage of the terminal device is only one of the specific embodiments of the present application. The implementation manner cannot be used to limit the application. In the embodiment of the present application, the traffic volume of the terminal device in one charging terminal device may be accumulated at any time before the accumulated traffic volume is rated.
批价装置在创建该终端设备的累计话单时,将获取的该终端设备的原始话单中包括的业务用量添加到累积量中。同时,批价装置还对该原始话单进行批价,此时批价后的批价话单中批价结果为零、不扣减流量池的累积量。The rating device adds the service usage included in the original bill of the terminal device to the accumulated amount when the cumulative bill of the terminal device is created. At the same time, the rating device also approves the original bill. At this time, the rating result in the batch bill after the rating is zero, and the cumulative amount of the traffic pool is not deducted.
本申请通过对不可变更批价参数时间节点前接收的原始话单生成批价为零的话单,从而方便后续的清单查询处理使用。The present invention generates a bill with a zero rating by using the original bill received before the time node of the non-changeable pricing parameter, thereby facilitating subsequent list query processing.
若当前计费周期包括该计费对象的累计话单,批价装置将该原始话单中包括的业务用量添加到相应的业务累积量中。同时,批价装置还对该原始话单进行批价,此时批价后的批价话单中批价结果为零、不扣减流量池的累积量。If the current billing period includes the accumulated bill of the billing object, the rating device adds the service usage included in the original bill to the corresponding service accumulative amount. At the same time, the rating device also approves the original bill. At this time, the rating result in the batch bill after the rating is zero, and the cumulative amount of the traffic pool is not deducted.
S302、确定当前时间超过该时间点t时,获取计费周期内时间点t的批价参数。S302. When it is determined that the current time exceeds the time point t, obtain the batch price parameter of the time point t within the charging period.
当前时间超过该时间点t时,批价装置将获取计费周期内时间点t的批价参数。当所有 终端设备采用相同的时间点t时,批价装置将直接获取该时间点t的批价参数。When the current time exceeds the time point t, the rating device will obtain the rating parameter at the time point t within the billing period. When all terminal devices adopt the same time point t, the rating device will directly obtain the rating parameter of the time point t.
当批价装置为不同终端设备配置不同的时间点t或批价装置为一部分的终端设备配置同样的时间点时,批价装置中包括标识信息与时间点t的对应关系。批价装置将根据该终端设备的标识信息确定相对应的时间点t,标识信息可以是用于区别不同终端设备或用户的信息。When the rating device configures different time points t for different terminal devices or the terminal device configures the same time point for a part of the terminal devices, the rating device includes the correspondence between the identification information and the time point t. The rating device determines a corresponding time point t according to the identification information of the terminal device, and the identification information may be information for distinguishing different terminal devices or users.
S303、根据批价参数对计费周期内时间点t之前终端设备的累计业务使用量进行批价,累计业务使用量是时间点t之前终端设备累计使用的业务量。S303. Approve the accumulated service usage of the terminal device before the time point t in the charging period according to the rating parameter, and the accumulated service usage amount is the accumulated traffic used by the terminal device before the time point t.
本申请的具体实施例中,包括定时批价任务。定时批价任务是在当前周期达到不可变更批价参数的时间点t时,批价装置对累计话单进行批价。定时批价任务对每个终端设备的业务累积量做循环批价处理。批价装置先判断该设备在当前账期的累积量是否已经批价,如果已经批价则继续处理下一个终端设备,如果没有批价则对该终端设备当前账期的累积量做批价处理。In a specific embodiment of the present application, a timed rating task is included. The timed rating task is to approve the accumulated bills at the time point t when the current period reaches the unchangeable rating parameter. The periodic rating task performs cyclical batch processing on the cumulative amount of traffic of each terminal device. The rating device first determines whether the cumulative amount of the equipment in the current accounting period has been approved, and if the price has been approved, the next terminal device is processed. If there is no rating, the cumulative amount of the current accounting period of the terminal device is subjected to the pricing. .
对终端设备累计的业务量进行批价既可以是直接对多个原始话单进行累计,然后进行批价;也可以直接对累计话单进行批价。对累计话单批价时,累计的多个原始话单不再变更批价参数的时间点前批价装置接收的话单的累计。批价后的话单包括累计业务用量、扣减的业务用量和扣减费用。The pricing of the accumulated traffic of the terminal device may be directly accumulated for multiple original bills, and then the price is priced; or the cumulative bills may be directly priced. When accumulating the bills, the accumulated original bills no longer change the accumulative order received by the rating device before the point of the batch price. The CDRs after the approval include the accumulated business usage, deducted business usage and deduction expenses.
在本申请的具体实施例中,对终端设备在当前账期内的累计话单批价后,还给该终端设备的累计业务量增加批价标志,以标识该终端设备完成了批价。在一个例子中,批价标识可以是批价时间。In a specific embodiment of the present application, after the terminal device is approved for the current bill, the batch device further adds a rating mark to the accumulated traffic of the terminal device to identify that the terminal device has completed the rating. In one example, the rating identifier can be a rating time.
S304、确定终端设备在计费周期内时间点t之前终端设备的累计业务使用量已进行批价后,根据批价参数对计费周期内时间点t之后终端设备的原始话单进行批价。S304. After determining that the cumulative service usage of the terminal device has been priced before the time point t in the charging period, the terminal device performs the rating on the original CDR of the terminal device after the time point t in the charging period according to the pricing parameter.
当前周期内达到不可变更批价参数的时间点t后,批价装置在新接收到的原始话单时,批价装置确定该原始话单中对应的终端设备的累计业务量是否已批价。当该终端设备的累计业务量没有批价时,批价装置将该终端设备的累计业务使用量进行批价,然后再对该原始话单进行批价。与定时批价任务相同的,对该累计业务使用量批价完成后,还给该累计业务使用量增加批价标志。当该计费对象的累计话单已经批价时(也就是该累计业务量包括批价标志),直接对该原始话单进行批价。After the time point t of the unchangeable rating parameter is reached in the current period, when the rating device is newly received the original bill, the rating device determines whether the accumulated traffic of the corresponding terminal device in the original bill has been approved. When the accumulated traffic of the terminal device is not priced, the rating device appends the accumulated service usage of the terminal device, and then the original CDR is priced. The same as the scheduled rating task, after the completion of the cumulative business usage price, the rating mark is also added to the accumulated business usage. When the accumulated bill of the billing object has been priced (that is, the accumulated traffic includes the rating mark), the original bill is directly priced.
在本申请的实施例中,累计业务量可以用于指示累计话单中的累计业务量。对累计业务量设置批价标识可以是对该累计话单设置批价标识。In an embodiment of the present application, the accumulated traffic may be used to indicate the accumulated traffic in the accumulated bill. Setting the rating identifier for the accumulated traffic may be to set the rating identifier for the accumulated bill.
批价装置将批价后的话单向财务处理装置发送,通过财务处理装置对批价后的话单进行出账。具体的,批价装置是将批价后的每个终端设备不再变更批价参数的时间节点前的累计批价话单和不再变更批价参数的时间节点后的原始话单向财务处理装置发送。财务处理装置根据一个每个终端设备的累计批价话单中的扣费金额进行累加,确定需要交纳的费用。The rating device sends the unidirectional financial processing device after the rating, and the transcript after the rating is performed by the financial processing device. Specifically, the rating device is a cumulative batch CDR before the time node in which each terminal device after the priced is no longer changed the batch price parameter, and the original unidirectional financial processing after the time node where the grading parameter is no longer changed. The device sends. The financial processing device accumulates the deduction amount in the cumulative lottery bill of each terminal device to determine the fee to be paid.
在本申请的具体实施例中,计费周期内时间点t之后终端设备的原始话单包括原始话单中包括的业务开始时间和/或业务结束时间在时间点t之后的原始话单;或原始话单的接收时间在时间点t之后的原始话单。In a specific embodiment of the present application, the original bill of the terminal device after the time point t in the billing period includes the original bill of the service start time and/or the service end time included in the original bill after the time point t; or The original bill of the original bill is received after the time point t.
在一个例子中,财务处理装置还可以将累计批价话单和该原始话单的扣费资源进行累加,以对批价装置计费的结果进行验证。当一个资源池中每个累计批价话单的扣费资源的和与资源池的大小相同时,确定批价装置资源扣费正确。In one example, the financial processing device may further accumulate the accumulated batch bill and the debit resource of the original bill to verify the result of the billing device billing. When the sum of the deduction resources of each accumulated batch bill in a resource pool is the same as the size of the resource pool, it is determined that the deduction device resource deduction is correct.
当然,在本申请的具体实施例中,批价装置中还包括多个流量池,每个流量池由多个终端设备构成。在一个例子中,同一个流量池中终端设备所订购的批价参数相同。批价装置在 对一个流量池批价的过程中,根据该流量池整体的批价参数对整个流量池中包括的终端设备的原始话单和累计话单进行批价。批价装置不依据流量池中单个终端设备的批价参数单独对该终端设备进行批价。Of course, in the specific embodiment of the present application, the rating device further includes a plurality of traffic pools, each of which is composed of a plurality of terminal devices. In one example, the batch parameters ordered by the terminal devices in the same traffic pool are the same. The rating device performs the pricing of the original bill and the accumulated bill of the terminal equipment included in the entire traffic pool according to the overall pricing parameter of the traffic pool in the process of rating the price of the traffic pool. The rating device does not separately priced the terminal device according to the batch price parameter of a single terminal device in the flow pool.
在另一个例子中,在根据终端设备所订购的批价参数划分流量池的同时,还可以根据终端设备使用业务的时间进行划分。例如,一个终端设备在忙时使用的业务用量和闲时使用的业务用量分别属于不同的流量池In another example, the traffic pool is divided according to the pricing parameter ordered by the terminal device, and may also be divided according to the time when the terminal device uses the service. For example, the service usage used by a terminal device during busy hours and the service usage used by idle time belong to different traffic pools.
批价装置可以根据计费对象和/或业务开始时间和业务结束时间确定该话单所属的流量池。例如,批价装置根据计费对象的标识确定每个流量池中是否包括与该计费对象相同的计费对象标识。当流量池包括该计费对象标识时,确定该原始话单属于该流量池。批价装置也可以对流量池中的每个终端设备也可以分别确定相应的累计业务用量。The rating device may determine the traffic pool to which the bill belongs according to the charging object and/or the service start time and the service end time. For example, the rating device determines, according to the identifier of the charging object, whether each of the traffic pools includes the same charging object identifier as the charging object. When the traffic pool includes the charging object identifier, it is determined that the original bill belongs to the traffic pool. The rating device can also determine the corresponding cumulative service usage for each terminal device in the traffic pool.
在对该流量池中的每个终端设备进行批价是,是获取该流量池的批价参数分别对每个终端设备的累计业务用量进行批价。具体的,针对流量池中每个终端设备在批价参数不再变更的时间节点时,对一个终端设备的累计业务用量和原始话单进行批价与上述单独一个终端设备的批价方式相同。本申请对此不进行赘述。The rating of each terminal device in the traffic pool is that the batch price parameter of the traffic pool is obtained, and the cumulative service usage of each terminal device is separately priced. Specifically, for each terminal device in the traffic pool, when the rating parameter is no longer changed, the cumulative service usage and the original CDR of one terminal device are the same as the rating mode of the single terminal device. This application does not describe this.
当然,在流量池的批价方法中,在批价参数不再变更的时间点前,对批价参数的变更时对流量池中每个终端设备的批价参数的变更。变更前后,流量池中每个终端设备的批价参数相同。Of course, in the rating method of the flow pool, before the time point when the rating parameter is no longer changed, the rating parameter of each terminal device in the flow pool is changed when the rating parameter is changed. Before and after the change, the batch price parameters of each terminal device in the traffic pool are the same.
图4为本申请具体实施例提供的一种批价装置结构图。如图4所示,包括确定单元401、获取单元402、第一处理单元403和第二处理单元404。FIG. 4 is a structural diagram of a rating device according to an embodiment of the present application. As shown in FIG. 4, a determining unit 401, an obtaining unit 402, a first processing unit 403, and a second processing unit 404 are included.
确定单元401,用于确定计费周期内批价参数不再变更的时间点t。确定当前时间超过时间点t时,获取单元402,用于获取批价参数计费周期内时间点t的批价参数。第一处理单元403,用于根据计费周期内时间点t之前终端设备的累计业务使用量进行批价,累计业务使用量是计费周期内时间点t之前终端设备累计使用的业务量。确定终端设备在计费周期内时间点t之前终端设备的累计业务使用量已进行批价后,第二处理单元404用于根据批价参数对计费周期内时间点t之后终端设备的原始话单进行批价。The determining unit 401 is configured to determine a time point t at which the rating parameter is no longer changed in the charging period. When the current time exceeds the time point t, the obtaining unit 402 is configured to obtain the batch price parameter of the time point t within the charging parameter billing period. The first processing unit 403 is configured to perform the pricing according to the accumulated service usage of the terminal device before the time point t in the charging period, and the accumulated service usage amount is the accumulated traffic used by the terminal device before the time point t in the charging period. After determining that the cumulative service usage of the terminal device has been priced before the time point t in the billing period, the second processing unit 404 is configured to use the original parameter of the terminal device after the time point t in the charging period according to the rating parameter. Single price.
可选的,第一处理单元403根据批价参数对计费周期内时间点t之前终端设备的累计业务使用量进行批价包括:获取终端设备计费周期内时间点t之前的所有原始话单。对获取的原始话单中包括的业务用量进行累加得到终端设备计费周期内时间点t之前的累计业务使用量。根据批价参数,对累计业务使用量进行批价。Optionally, the first processing unit 403, according to the pricing parameter, the pricing of the accumulated service usage of the terminal device before the time point t in the charging period includes: obtaining all the original CDRs before the time point t in the charging period of the terminal device. . Accumulating the amount of service included in the obtained original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device. The cumulative business usage is priced based on the rating parameters.
可选的,时间点t之前的所有原始话单中包括的业务用量包括:原始话单中业务开始时间和/或业务结束时间在该时间点t之前的原始话单中包括的业务量;或接收原始话单的时间在时间点t之前的原始话单中包括的业务量。Optionally, the service usage included in all the original bills before the time point t includes: the service start time in the original bill and/or the service volume included in the original bill before the time point t; or The amount of traffic included in the original bill before the time point t when the original bill was received.
可选的,计费周期内时间点t之后终端设备的原始话单包括:原始话单中业务开始时间和/或业务结束时间在时间点t之后的原始话单;或原始话单的接收时间在时间点t之后的原始话单。Optionally, the original CDR of the terminal device after the time point t in the charging period includes: the original CDR of the original CDR in the original CDR and/or the service ending time after the time t; or the receiving time of the original CDR The original bill after time point t.
可选的,第一处理单元403根据批价参数,对计费周期内时间点t之前的累计业务使用量进行批价后,还包括:第一处理单元403,用于对终端设备的累计业务使用量设置批价标识,以在时间点t之后收到终端设备的原始话单时确定时间点t之前的累计业务使用量已完成批价。Optionally, the first processing unit 403, after the pricing of the accumulated service usage before the time point t in the charging period, is further included by the first processing unit 403, further comprising: a first processing unit 403, configured to accumulate services for the terminal device. The usage amount is used to set the rating identifier to determine that the accumulated service usage amount before the time point t has been completed when the original bill of the terminal device is received after the time point t.
可选的,确定单元401确定批价参数计费周期内时间点t包括:确定单元401根据标识 信息确定计费周期内与标识信息相对应的批价参数不再变更的时间点t,标识信息可以是用于区别不同终端设备或用户的信息。Optionally, the determining unit 401 determines that the time point t in the charging parameter charging period includes: determining unit 401 determines, according to the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed in the charging period, and the identification information It can be information for distinguishing different terminal devices or users.
可选的,确定单元401根据标识信息确定计费周期内批价参数不再变更的时间点t包括:获取单元402获取标识信息,批价装置包括标识信息与批价参数不再变更的时间点t的对应关系,标识信息对应的批价参数不再变更的时间为配置信息。确定单元401根据标识信息确定与该标识信息对应的批价参数不再变更的时间点t。Optionally, the determining unit 401 determines, according to the identifier information, a time point t that the batch price parameter is no longer changed in the charging period, the method includes: the obtaining unit 402 acquires the identifier information, and the rating device includes the time point that the identifier information and the rating parameter are no longer changed. The correspondence between t and the time when the rating parameter corresponding to the identification information is no longer changed is the configuration information. The determining unit 401 determines, based on the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed.
图5为本申请实施例提供的一种批价装置结构示意图。如图5所示,该批价装置包括:处理器501、存储器502、通信接口503。FIG. 5 is a schematic structural diagram of a rating device according to an embodiment of the present application. As shown in FIG. 5, the rating device includes a processor 501, a memory 502, and a communication interface 503.
处理器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 integrated circuits for executing related programs. The technical solution provided by the foregoing method embodiments of the present invention is implemented.
存储器502可以是只读存储器(Read Only Memory,ROM),静态存储设备,动态存储设备或者随机存取存储器(Random Access Memory,RAM)。存储器502可以存储应用程序。在通过软件或者固件来实现本发明实施例提供的技术方案时,用于实现本发明前述图3实施的步骤和方法实施例提供的任一可选技术方案的程序代码保存在存储器502中,并由处理器501来执行。The memory 502 can be a read only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 502 can store an application. When the technical solution provided by the embodiment of the present invention is implemented by software or firmware, the program code for implementing any of the optional technical solutions provided by the foregoing steps and method embodiments of the implementation of FIG. 3 of the present invention is stored in the memory 502, and It is executed by the processor 501.
通信接口503用以与其他网元和财务处理设备连接。The communication interface 503 is used to connect with other network elements and financial processing devices.
处理器501确定计费周期内批价参数不再变更的时间点t。确定当前时间超过时间点t时,获取计费周期内时间点t的批价参数。根据批价参数对计费周期内时间点t之前终端设备的累计业务使用量进行批价,累计业务使用量是时间点t之前终端设备累计使用的业务量。确定终端设备在计费周期内时间点t之前终端设备的累计业务使用量已进行批价后,根据批价参数对计费周期内时间点t之后终端设备的原始话单进行批价。The processor 501 determines a time point t at which the rating parameter is no longer changed during the billing period. When it is determined that the current time exceeds the time point t, the batch price parameter at the time point t in the billing period is obtained. According to the rating parameter, the cumulative service usage of the terminal device before the time point t in the charging period is priced, and the accumulated service usage is the accumulated traffic used by the terminal device before the time point t. After determining that the cumulative service usage of the terminal device has been priced before the time point t in the charging period, the terminal device performs the pricing of the original CDR of the terminal device after the time point t in the charging period according to the pricing parameter.
处理器501根据批价参数对计费周期内时间点t之前终端设备的累计业务使用量进行批价包括:获取终端设备计费周期内时间点t之前的所有原始话单。对获取的原始话单中包括的业务用量进行累加得到终端设备计费周期内时间点t之前的累计业务使用量。根据批价参数,对累计业务使用量进行批价。The processor 501 performs the pricing of the accumulated service usage of the terminal device before the time point t in the charging period according to the rating parameter, including: acquiring all the original CDRs before the time point t in the charging period of the terminal device. Accumulating the amount of service included in the obtained original bill to obtain the accumulated service usage before the time point t in the billing period of the terminal device. The cumulative business usage is priced based on the rating parameters.
时间点t之前的所有原始话单中包括的业务用量包括:原始话单中业务开始时间和/或业务结束时间在该时间点t之前的原始话单中包括的业务量。或接收原始话单的时间在时间点t之前的原始话单中包括的业务量。The service usage included in all the original CDRs before the time point t includes: the service start time in the original CDR and/or the traffic volume included in the original CDR of the service end time before the time point t. Or the amount of traffic included in the original bill before the time point t when the original bill is received.
计费周期内时间点t之后终端设备的原始话单包括:原始话单中业务开始时间和/或业务结束时间在时间点t之后的原始话单。或原始话单的接收时间在时间点t之后的原始话单。The original bill of the terminal device after the time point t in the billing cycle includes: the original bill of the service start time and/or the service end time in the original bill after the time point t. Or the original bill of the original bill receipt time after the time point t.
处理器501根据批价参数对计费周期内时间点t之前的累计业务使用量进行批价后还包括,对终端设备的累计业务使用量设置批价标识,以在时间点t之后收到终端设备的原始话单时确定时间点t之前的累计业务使用量已完成批价。The processor 501 further includes, after the pricing of the accumulated service usage before the time point t in the charging period, the batch price identifier is set to the cumulative service usage of the terminal device, to receive the terminal after the time point t. When the original bill of the device is determined, it is determined that the accumulated business usage before the time point t has been completed.
处理器501确定批价参数计费周期内时间点t包括:根据标识信息确定计费周期内与标识信息相对应的批价参数不再变更的时间点t,标识信息可以是用于区别不同终端设备或用户的信息。The processor 501 determines that the time point t in the charging parameter charging period includes: determining, according to the identification information, a time point t in which the rating parameter corresponding to the identification information is no longer changed in the charging period, and the identification information may be used to distinguish different terminals. Device or user information.
处理器501根据标识信息确定计费周期内批价参数不再变更的时间点t包括:获取标识信息,批价装置包括标识信息与批价参数不再变更的时间点t的对应关系,标识信息对应的批价参数不再变更的时间为配置信息。根据批价参数标识信息确定与该标识信息对应的批价 参数不再变更的时间点t。The determining, by the processor 501, the time point t that the pricing parameter is no longer changed in the charging period according to the identification information includes: acquiring the identification information, where the rating device includes the correspondence between the identification information and the time point t at which the rating parameter is no longer changed, and the identification information The time when the corresponding batch parameter is no longer changed is the configuration information. The time point t at which the rating parameter corresponding to the identification information is no longer changed is determined according to the rating parameter identification information.
图5所示的网络批价装置可以是图2中的批价装置。前述图1-4实施例中的批价装置所执行的步骤和具体实施例同样适用于本实施例图5所示的网络服务管理器,为了说明书的简洁,在此不再赘述。The network rating device shown in Figure 5 can be the rating device of Figure 2. The steps and specific embodiments of the foregoing apparatus in the embodiment of the present invention are also applicable to the network service manager shown in FIG. 5 of the present embodiment. For the sake of brevity of the description, details are not described herein again.
本申请具体实施例提供一种计算机可读存储介质,该计算机可读存储介质存储一个或多个程序,一个或多个程序包括指令,指令当被包括多个应用程序的电子设备执行时,使得所示电子设备执行图3所示的方法流程。A specific embodiment of the present application provides a computer readable storage medium storing one or more programs, the one or more programs including instructions that, when executed by an electronic device including a plurality of applications, cause The illustrated electronic device performs the method flow illustrated in FIG.
本申请的具体实施例中还提出了一种计算机程序产品,该计算机程序产品可用于接入网设备运行。当该计算机程序产品在接入网设备上运行时,使得接入网设备执行如图3所示的方法。Also disclosed in the specific embodiment of the present application is a computer program product that can be used to operate an access network device. When the computer program product runs on the access network device, the access network device is caused to perform the method as shown in FIG.
需要说明的是,本申请提供实施例只是本申请所介绍的可选实施例,本领域技术人员在此基础上,完全可以设计出更多的实施例,因此不在此处赘述。It should be noted that the embodiments provided in the present application are only optional embodiments introduced in the present application, and those skilled in the art can design more embodiments based on this, and therefore are not described herein.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the various examples described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或40组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of cells is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or 40 components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form. The units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. Functionality, if implemented as a software functional unit and sold or used as a stand-alone product, can be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application, which is essential or contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product, which is stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the various embodiments of the present application. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, and should cover Within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of protection of the claims.

Claims (17)

  1. 一种批价方法,其特征在于,所述方法包括:A method of rating, characterized in that the method comprises:
    确定计费周期内批价参数不再变更的时间点t;Determining a time point t at which the rating parameter is no longer changed during the billing period;
    确定当前时间超过所述时间点t时,获取所述计费周期内所述时间点t的批价参数;When it is determined that the current time exceeds the time point t, obtaining the rating parameter of the time point t in the charging period;
    根据所述批价参数对所述计费周期内所述时间点t之前终端设备的累计业务使用量进行批价,所述累计业务使用量是计费周期内所述时间点t之前所述终端设备累计使用的业务量;And rating the accumulated service usage of the terminal device before the time point t in the charging period according to the rating parameter, where the accumulated service usage quantity is the terminal before the time point t in the charging period The amount of business used by the equipment;
    确定所述终端设备在所述计费周期内所述时间点t之前终端设备的累计业务使用量已进行批价后,根据所述批价参数对所述计费周期内所述时间点t之后所述终端设备的原始话单进行批价。Determining, after the time point t of the terminal device, the cumulative service usage of the terminal device has been priced, according to the rating parameter, after the time point t in the charging period The original bill of the terminal device is priced.
  2. 根据权利要求1所述的方法,其特征在于,所述根据所述批价参数,对所述计费周期内所述时间点t之前终端设备的累计业务使用量进行批价包括:The method according to claim 1, wherein the rating of the cumulative service usage of the terminal device before the time point t in the charging period according to the rating parameter comprises:
    获取所述终端设备计费周期内所述时间点t之前的所有原始话单;Acquiring all the original CDRs before the time point t in the charging period of the terminal device;
    对获取的所述原始话单中包括的业务用量进行累加得到所述终端设备计费周期内所述时间点t之前的累计业务使用量;And accumulating the obtained service usage amount included in the original bill to obtain the accumulated service usage amount before the time point t in the charging period of the terminal device;
    根据所述批价参数,对所述累计业务使用量进行批价。The cumulative business usage is priced according to the rating parameter.
  3. 根据权利要求1或2所述的方法,其特征在于,所述时间点t之前的所有原始话单中包括的业务用量包括:The method according to claim 1 or 2, wherein the service usage included in all the original bills before the time point t includes:
    所述原始话单中业务开始时间和/或业务结束时间在所述时间点t之前的原始话单中包括的业务量;或The amount of traffic included in the original bill of the original bill and the service end time before the time point t; or
    接收所述原始话单的时间在所述时间点t之前的原始话单中包括的业务量。The amount of traffic included in the original bill before the time point t when the original bill is received.
  4. 根据权利要求1所述的方法,其特征在于,所述计费周期内所述时间点t之后所述终端设备的原始话单包括:The method according to claim 1, wherein the original bill of the terminal device after the time point t in the charging period comprises:
    所述原始话单中业务开始时间和/或业务结束时间在所述时间点t之后的原始话单;或The original bill in the original bill after the service start time and/or the service end time is after the time point t; or
    所述原始话单的接收时间在所述时间点t之后的原始话单。The original bill is received at the original bill after the time point t.
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述批价参数,对所述计费周期内所述时间点t之前的累计业务使用量进行批价后,所述方法还包括:The method according to claim 1, wherein the method further comprises: after the rating, the cumulative service usage amount before the time point t in the charging period is priced according to the rating parameter, the method further comprises :
    对所述终端设备的累计业务使用量设置批价标识,以在所述时间点t之后收到所述终端设备的原始话单时确定所述时间点t之前的累计业务使用量已完成批价。Setting a rating identifier for the accumulated service usage of the terminal device, to determine that the accumulated service usage amount before the time point t has been completed after receiving the original bill of the terminal device after the time point t .
  6. 根据权利要求1所述的方法,其特征在于,所述确定所述计费周期内所述时间点t包括:The method according to claim 1, wherein said determining said time point t during said billing period comprises:
    根据标识信息确定所述计费周期内与所述标识信息相对应的批价参数不再变更的时间点t,所述标识信息可以是用于区别不同终端设备或用户的信息。And determining, according to the identifier information, a time point t at which the rating parameter corresponding to the identifier information is no longer changed in the charging period, where the identifier information may be information used to distinguish different terminal devices or users.
  7. 根据权利要求6所述的方法,其特征在于,所述根据标识信息确定所述计费周期内批价参数不再变更的时间点t包括:The method according to claim 6, wherein the determining, at the time point t, that the rating parameter is no longer changed in the charging period according to the identification information comprises:
    获取标识信息,批价装置包括标识信息与批价参数不再变更的时间点t的对应关系,所述标识信息对应的批价参数不再变更的时间为配置信息;Obtaining the identification information, the rating device includes a correspondence between the identification information and the time point t at which the rating parameter is no longer changed, and the time when the rating parameter corresponding to the identification information is no longer changed is configuration information;
    根据所述标识信息确定与该标识信息对应的批价参数不再变更的时间点t。Determining, according to the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed.
  8. 一种批价装置,其特征在于,包括:A rating device, comprising:
    确定单元,用于确定计费周期内批价参数不再变更的时间点t;a determining unit, configured to determine a time point t at which the rating parameter is no longer changed during the billing period;
    确定当前时间超过所述时间点t时,获取单元,用于获取所述计费周期内在所述时间点 t的批价参数;When the current time exceeds the time point t, the obtaining unit is configured to obtain the rating parameter at the time point t in the charging period;
    第一处理单元,用于根据所述批价参数对所述计费周期内所述时间点t之前终端设备的累计业务使用量进行批价,所述累计业务使用量是时间点t之前所述终端设备累计使用的业务量;a first processing unit, configured to perform, according to the rating parameter, a cumulative service usage amount of the terminal device before the time point t in the charging period, where the accumulated service usage amount is before the time point t The cumulative amount of traffic used by the terminal equipment;
    确定所述终端设备在所述计费周期内所述时间点t之前终端设备的累计业务使用量已进行批价后,第二处理单元,用于根据所述批价参数对所述计费周期内所述时间点t之后所述终端设备的原始话单进行批价。Determining, by the terminal device, that the cumulative service usage of the terminal device has been priced before the time point t in the charging period, the second processing unit is configured to perform the charging period according to the rating parameter The original bill of the terminal device is subjected to the rating after the time point t.
  9. 根据权利要求8所述的装置,其特征在于,所述第一处理单元根据所述批价参数对所述计费周期内所述时间点t之前终端设备的累计业务使用量进行批价包括:The apparatus according to claim 8, wherein the first processing unit performs, according to the rating parameter, the rating of the accumulated service usage of the terminal device before the time point t in the charging period, including:
    获取所述终端设备计费周期内所述时间点t之前的所有原始话单;Acquiring all the original CDRs before the time point t in the charging period of the terminal device;
    对获取的所述原始话单中包括的业务用量进行累加得到所述终端设备计费周期内所述时间点t之前的累计业务使用量;And accumulating the obtained service usage amount included in the original bill to obtain the accumulated service usage amount before the time point t in the charging period of the terminal device;
    根据所述批价参数,对所述累计业务使用量进行批价。The cumulative business usage is priced according to the rating parameter.
  10. 根据权利要求8或9所述的装置,其特征在于,所述时间点t之前的所有原始话单中包括的业务用量包括:The device according to claim 8 or 9, wherein the service usage included in all the original bills before the time point t includes:
    所述原始话单中业务开始时间和/或业务结束时间在所述时间点t之前的原始话单中包括的业务量;或The amount of traffic included in the original bill of the original bill and the service end time before the time point t; or
    接收所述原始话单的时间在所述时间点t之前的原始话单中包括的业务量。The amount of traffic included in the original bill before the time point t when the original bill is received.
  11. 根据权利要求8所述的装置,其特征在于,所述计费周期内所述时间点t之后所述终端设备的原始话单包括:The device according to claim 8, wherein the original bill of the terminal device after the time point t in the charging period comprises:
    所述原始话单中业务开始时间和/或业务结束时间在所述时间点t之后的原始话单;或The original bill in the original bill after the service start time and/or the service end time is after the time point t; or
    所述原始话单的接收时间在所述时间点t之后的原始话单。The original bill is received at the original bill after the time point t.
  12. 根据权利要求8所述的装置,其特征在于,所述第一处理单元根据所述批价参数,对所述计费周期内所述时间点t之前的累计业务使用量进行批价后,还包括:The apparatus according to claim 8, wherein the first processing unit performs, after the rating of the cumulative service usage amount before the time point t in the charging period, according to the rating parameter, include:
    第一处理单元,用于对所述终端设备的累计业务使用量设置批价标识,以在所述时间点t之后收到所述终端设备的原始话单时确定所述时间点t之前的累计业务使用量已完成批价。a first processing unit, configured to set a rating identifier for the accumulated service usage of the terminal device, to determine an accumulation before the time point t when the original CDR of the terminal device is received after the time point t Business usage has been completed.
  13. 根据权利要求8所述的装置,其特征在于,所述确定单元确定所述计费周期内所述时间点t包括:The apparatus according to claim 8, wherein the determining unit determines that the time point t in the charging period comprises:
    确定单元根据标识信息确定所述计费周期内与所述标识信息相对应的批价参数不再变更的时间点t,所述标识信息可以是用于区别不同终端设备或用户的信息。The determining unit determines, according to the identifier information, a time point t at which the rating parameter corresponding to the identifier information is no longer changed in the charging period, and the identifier information may be information used to distinguish different terminal devices or users.
  14. 根据权利要求13所述的装置,其特征在于,所述确定单元根据标识信息确定所述计费周期内批价参数不再变更的时间点t包括:The device according to claim 13, wherein the determining unit determines, according to the identification information, a time point t at which the rating parameter is no longer changed in the charging period, including:
    获取标识信息,批价装置包括标识信息与批价参数不再变更的时间点t的对应关系,所述标识信息对应的批价参数不再变更的时间为配置信息;Obtaining the identification information, the rating device includes a correspondence between the identification information and the time point t at which the rating parameter is no longer changed, and the time when the rating parameter corresponding to the identification information is no longer changed is configuration information;
    根据所述标识信息确定与该标识信息对应的批价参数不再变更的时间点t。Determining, according to the identification information, a time point t at which the rating parameter corresponding to the identification information is no longer changed.
  15. 一种批价装置,其特征在于,包括:处理器和存储器,其中,存储器内存储有处理器能够执行的操作指令,处理器读取存储器内的操作指令用于实现权利要求1至7任意一项所述的方法。A rating device, comprising: a processor and a memory, wherein the memory stores an operation instruction executable by the processor, and the processor reads an operation instruction in the memory for implementing any one of claims 1 to 7. The method described in the item.
  16. 一种计算机可读存储介质,包括指令,当其在计算机上运行时,使得计算机执行如 权利要求1-7任一项所述的方法。A computer readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1-7.
  17. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1-7中任一项所述的方法。A computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-7.
PCT/CN2019/075770 2018-03-26 2019-02-22 Rating method and apparatus WO2019184632A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810252946.5 2018-03-26
CN201810252946.5A CN110366122B (en) 2018-03-26 2018-03-26 Pricing method and device

Publications (1)

Publication Number Publication Date
WO2019184632A1 true WO2019184632A1 (en) 2019-10-03

Family

ID=68060855

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/075770 WO2019184632A1 (en) 2018-03-26 2019-02-22 Rating method and apparatus

Country Status (2)

Country Link
CN (1) CN110366122B (en)
WO (1) WO2019184632A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113806379B (en) * 2020-06-15 2024-04-09 中国移动通信集团浙江有限公司 Rating method, device, equipment and computer medium based on threshold optimistic lock
CN116015990A (en) * 2022-12-27 2023-04-25 中国联合网络通信集团有限公司 Service processing method, device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674521A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing batched communication business valuation
CN1859136A (en) * 2006-02-27 2006-11-08 华为技术有限公司 Charging system and charging method
CN101938362A (en) * 2009-06-29 2011-01-05 华为技术有限公司 Charging regrant method, device and system
CN102026134A (en) * 2009-09-17 2011-04-20 中国移动通信集团四川有限公司 Method and system for data processing
CN103188634A (en) * 2011-12-28 2013-07-03 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted communication system
CN107294735A (en) * 2016-03-30 2017-10-24 华为技术有限公司 One kind mends folk prescription method and Online Charging System

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137205A (en) * 2010-07-30 2011-07-27 华为软件技术有限公司 Account recharging method and device and charging method, device and system
CN102232302B (en) * 2011-05-26 2013-12-04 华为技术有限公司 Cost rebilling method and corresponding device
CN102984768B (en) * 2012-11-09 2016-03-02 华为技术有限公司 Method and the device of online user's bandwidth under charging regulation are shared in a kind of real-time adjustment
CN103686662B (en) * 2013-12-12 2017-06-20 中国联合网络通信集团有限公司 Forecasting Methodology and server that set meal is transferred the files
CN106851605A (en) * 2015-12-07 2017-06-13 中国联合网络通信集团有限公司 A kind of method and device for determining set meal
CN107666407B (en) * 2016-07-29 2020-05-12 中国移动通信集团公司 Service package selection method, device and system
CN106210787B (en) * 2016-07-29 2019-04-02 合一网络技术(北京)有限公司 A kind of method, system and the terminal of the change of paying service system data dynamic

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674521A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing batched communication business valuation
CN1859136A (en) * 2006-02-27 2006-11-08 华为技术有限公司 Charging system and charging method
CN101938362A (en) * 2009-06-29 2011-01-05 华为技术有限公司 Charging regrant method, device and system
CN102026134A (en) * 2009-09-17 2011-04-20 中国移动通信集团四川有限公司 Method and system for data processing
CN103188634A (en) * 2011-12-28 2013-07-03 上海博泰悦臻电子设备制造有限公司 Vehicle-mounted communication system
CN107294735A (en) * 2016-03-30 2017-10-24 华为技术有限公司 One kind mends folk prescription method and Online Charging System

Also Published As

Publication number Publication date
CN110366122B (en) 2020-12-15
CN110366122A (en) 2019-10-22

Similar Documents

Publication Publication Date Title
WO2019205791A1 (en) Method and device for adjusting data plan for a plurlaity of user identifications
CN107977457B (en) Data clearing method, system and computer readable storage medium
CN111130810B (en) Charging method and device for cloud service usage package and related equipment
CN110417561B (en) Block chain-based distributed charging method, device and system
CN110233741B (en) Service charging method, device, equipment and storage medium
US20150079926A1 (en) Modifying a quality of a connection between a terminal and an application server
WO2019184632A1 (en) Rating method and apparatus
US10944874B2 (en) Telecommunication system for monitoring and controlling of a network providing resource to a user
WO2012078822A1 (en) Vehicle charging system integrating multiple charging service providers
CN112202871A (en) Metering and charging method, device and system for cloud computing resources and electronic equipment
CN113037510A (en) Charging method, charging device and computer readable storage medium
CN106982126B (en) Resource sharing charging method and charging device, and memory bank
CN111162921A (en) Multi-account cloud service usage package sharing method and device and related equipment
CN111988749B (en) Dynamic tariff generation method and device
US9838862B2 (en) Mobile digital cellular telecommunication system with advanced functionality for rating correction
CN110084897B (en) Charging method, system, device and computer readable storage medium
WO2010135881A1 (en) Realization method and system for real-time cumulative present prepaid intelligent network service
CN105573821A (en) Ceilometer-based dynamic charging method for cloud virtual machine
CN110324153B (en) Charging method and system
CN110662188B (en) Charging method and system
CN115150764B (en) Tariff configuration method, tariff configuration device, tariff configuration equipment and tariff configuration medium
EP3331196B1 (en) Telecommunication system for monitoring and controlling of a network providing resource to a user
WO2012159318A1 (en) Centralized online charging method and equipment
CN111542005B (en) Charging method, device, equipment and storage medium
CN110300000B (en) Charging mode changing method and device, electronic equipment and readable storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1