CN115086092B - Method, device, equipment and storage medium for rating communication ticket - Google Patents

Method, device, equipment and storage medium for rating communication ticket Download PDF

Info

Publication number
CN115086092B
CN115086092B CN202110274092.2A CN202110274092A CN115086092B CN 115086092 B CN115086092 B CN 115086092B CN 202110274092 A CN202110274092 A CN 202110274092A CN 115086092 B CN115086092 B CN 115086092B
Authority
CN
China
Prior art keywords
flow
provincial
gift
intra
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110274092.2A
Other languages
Chinese (zh)
Other versions
CN115086092A (en
Inventor
姜文平
高文
陈昕靓
郭畅
李彩萍
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Group Hubei Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Hubei Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Group Hubei Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202110274092.2A priority Critical patent/CN115086092B/en
Publication of CN115086092A publication Critical patent/CN115086092A/en
Application granted granted Critical
Publication of CN115086092B publication Critical patent/CN115086092B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • H04L12/1432Metric aspects
    • H04L12/1435Metric aspects volume-based
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/14Charging, metering or billing arrangements for data wireline or wireless communications
    • H04L12/1403Architecture for metering, charging or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/80Rating or billing plans; Tariff determination aspects

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for rating a communication ticket, wherein the method for rating the communication ticket comprises the following steps: acquiring a ticket of a user service, and cross-province gift flow information and intra-province gift flow information; generating intra-provincial mapping gift flow information according to the trans-provincial gift flow information, wherein the intra-provincial mapping gift flow information is identical to the trans-provincial gift flow information; determining flow use information according to the ticket, the intra-provincial mapping presentation flow information and the intra-provincial presentation flow information; the method comprises the steps of sending flow use information to a server, wherein the flow use information is used for the server to conduct pricing according to a flow use information dialogue list; the embodiment of the application can solve the problem that the service sharing mechanism of the cross-province group cannot meet the service requirement.

Description

Method, device, equipment and storage medium for rating communication ticket
Technical Field
The present application belongs to the field of communication service support, and in particular, to a method, an apparatus, a device, and a storage medium for rating a communication ticket.
Background
In the communication service, in order to realize service sharing across provincial groups, a sharing mechanism based on cooperative cooperation of a secondary provincial server and a primary group server needs to be constructed, for example: the charging account center of the primary group server manages the group information (group ID, group member information and group shared resource information) of the cross-province group, and when the intra-province dialogue is singly priced, free resources of the cross-province group are required to be used for initiating cross-province shared resource deduction to the primary charging account center. Besides the first-level charging and accounting center needs to be developed, the mechanism also needs to be matched and modified by each second-level provincial server so as to support the use of shared resources which cross provincial gift flow when each provincial is subjected to rating processing.
However, after the cross-province shared service is greatly developed, the mechanism can lead to the fact that the secondary rating performance of the provincial server can not meet the service requirement when the mechanism is matched and modified in the provincial.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for rating a communication ticket, which can solve the problem that a service sharing mechanism of a cross-province group cannot meet service requirements.
In a first aspect, an embodiment of the present application provides a method for rating a communication ticket, including:
acquiring ticket of user service, trans-province gift flow information and intra-province gift flow information;
generating intra-provincial mapping gift flow information according to the trans-provincial gift flow information, wherein the intra-provincial mapping gift flow information is identical to the trans-provincial gift flow information;
determining flow use information according to the ticket, the intra-provincial mapping presentation flow information and the intra-provincial presentation flow information;
and sending the flow use information to the server for the server to conduct rating according to the flow use information dialogue ticket.
Further, in one embodiment, determining traffic usage information from the ticket, the intra-provincial mapping gift traffic information, and the intra-provincial gift traffic information includes:
the flow using total amount, the intra-provincial mapping presentation flow information and the intra-provincial presentation flow information which are represented by the comparison dialogue list are compared to obtain a flow comparison result;
determining a target flow type according to a flow comparison result and a preset deduction priority;
sequentially deducting the flow corresponding to the target flow type according to the preset deduction priority, and determining a flow deduction result as flow use information;
the preset deduction priority is sequentially from high to low: high priority intra-provincial gift traffic, intra-provincial mapping gift traffic, and low priority intra-provincial gift traffic.
Further, in one embodiment, the method further comprises:
and updating the intra-provincial gift flow information according to the flow use information.
Further, in one embodiment, the method further comprises:
and sending the updated intra-provincial mapping gift flow information to the server, wherein the updated intra-provincial mapping gift flow information is used for updating the inter-provincial gift flow information according to the updated intra-provincial mapping gift flow information by the server.
Further, in one embodiment, the method further comprises:
receiving cross-province gift flow update information from a server;
updating the trans-provincial gift flow information according to the trans-provincial gift flow update information;
and updating the provincial mapping gift flow information according to the updated provincial gift flow information.
Further, in one embodiment, sending traffic usage information to a server includes:
determining the total flow use amount according to the flow use information;
and when the total traffic usage amount exceeds a preset threshold, sending traffic usage information to the server.
In a second aspect, an embodiment of the present application provides a device for rating a communication ticket, including:
the acquiring module is used for acquiring the ticket of the user service, the trans-provincial gift flow information and the intra-provincial gift flow information;
the generating module is used for generating intra-provincial mapping gift flow information according to the trans-provincial gift flow information, wherein the intra-provincial mapping gift flow information is identical to the trans-provincial gift flow information;
the determining module is used for determining flow use information according to the ticket, the intra-provincial mapping presentation flow information and the intra-provincial presentation flow information;
and the sending module is used for sending the flow use information to the server and carrying out rating by the server according to the flow use information dialogue list.
Further, in one embodiment, the determining module is specifically configured to:
the flow using total amount, the intra-provincial mapping presentation flow information and the intra-provincial presentation flow information which are represented by the comparison dialogue list are compared to obtain a flow comparison result;
determining a target flow type according to a flow comparison result and a preset deduction priority;
sequentially deducting the flow corresponding to the target flow type according to the preset deduction priority, and determining a flow deduction result as flow use information;
the preset deduction priority is sequentially from high to low: high priority intra-provincial gift traffic, intra-provincial mapping gift traffic, and low priority intra-provincial gift traffic.
Further, in one embodiment, the apparatus further comprises:
and the updating module is used for updating the intra-provincial gift flow information and the intra-provincial mapping gift flow information according to the flow use information.
Further, in an embodiment, the sending module is further configured to send updated intra-provincial mapping gift flow information to the server, and update the inter-provincial mapping gift flow information according to the updated intra-provincial mapping gift flow information.
In a third aspect, an embodiment of the present application provides a rating apparatus for a communication ticket, including: memory, a processor, and a computer program stored on the memory and executable on the processor, the computer program when executed by the processor implement a method of pricing a communication ticket.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which an implementation program for information transfer is stored, which when executed by a processor implements a method for pricing a communication ticket.
According to the method, the device, the equipment and the storage medium for charging the communication ticket, provided by the embodiment of the application, aiming at the situation that the two-stage server is matched to complete the sharing of the trans-provincial charging resources, the ticket charging can be rapidly completed by using the intra-provincial mapping gift flow information by generating the intra-provincial mapping gift flow information, the charging performance of the provincial server is ensured not to be influenced by the access delay of the trans-provincial resource network, the charging accounting processing performance is ensured, and a large number of trans-provincial sharing business requirements can be met.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present application, the drawings that are needed to be used in the embodiments of the present application will be briefly described, and it is possible for a person skilled in the art to obtain other drawings according to these drawings without inventive effort.
FIG. 1 is a schematic flow chart of a method for rating a communication ticket according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a device for rating a communication ticket according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a pricing device for a communication ticket according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings and the detailed embodiments. It should be understood that the specific embodiments described herein are merely configured to illustrate the application and are not configured to limit the application. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the application by showing examples of the application.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
To facilitate understanding, terms that may appear in embodiments of the application are first described:
1) Charging period: the time unit of charge package charging and billing out is that the charging period of the hour package, bao Tian package, month package and year package is usually hours, days, months and years respectively, and it is required to pay attention that the charging period is not a charge effective period, and if some charges are year packages but the charging period is months, for example, the broadband month package charge is 100-element month package, the corresponding year package is year package 1080-element, 90-element is billed every month, and the charging period of the year package is still month in practice, but is preferential compared with the normal month package.
2) Give amount: the method refers to the amount of telecommunication resources used for a user for free in each charging period after a package ordering, for example, a large-flow 198-element package can use 40G flow, 1000-minute voice and 100 short messages for free in each month, wherein the 40G flow, the 1000-minute voice and the 100 short messages in each month correspond to three gifts respectively, and the gifts of general package resources are fixed in the charging period.
3) Cumulative amount: also referred to as cumulative amount, usage amount or statistics, refers to the total amount of a certain set of resources that the user has used during a billing period, e.g., for the above 198 set, the user corresponds to three cumulative amounts when he has used 20G traffic, 800 minutes voice, 30 messages.
4) The balance: the result of the reduced aggregate amount of the gift amount for each resource contained in the package is the package margin for that resource within the package.
5) Ticket(s): also known as a detail list, a manifest, a service usage record, etc., the initial ticket refers to a record of recording voice call information data, and is later extended to a record of all users using telecommunication services.
6) And (5) phone bill fishing: and (3) carrying out secondary rating reverse processing on the ticket meeting the specified conditions (generally according to the ticket primary key information), deleting the specified ticket from the ticket table, subtracting the corresponding use amount of the ticket from the accumulated amount, and if the cost is related, subtracting the corresponding billing cost and re-triggering the accounting preferential.
7) And (5) reclassifying: and re-performing secondary pricing and subsequent flow treatment on the fishing bill.
The service support server of the existing telecom carrier generally adopts a two-stage architecture, and is composed of a group company primary server and a province company/professional company secondary server, wherein the primary server mainly provides data exchange, centralized service support capability (such as portal sites, unified payment, flow ticket collection and distribution and the like) and partial whole-network service support (such as cross-province fee collection, whole-network affinity network and the like), and the province company/professional company secondary server is responsible for managing customer service handling, charging, accounting processing, service opening and the like of an province/professional platform. Based on the architecture, the charging and accounting processing of the user is mainly completed by a second-level server, and the first-level server does not provide charging and accounting processing support.
The group service is based on a plurality of users to construct a group, and realizes specific preferential among the members in the group, such as free voice call among the members in the group, sharing of a certain time length or flow rate by the members in the group, and the like. A group is created by a particular user, who creates the user's primary number for the group, and other users join as members, called secondary numbers for the group, which include the primary and secondary numbers.
Because the group sharing service realized based on the provincial server only provides the function of the user in the provincial as a member, the member sharing across provincials can not be realized. In order to realize the service sharing of the cross-province group, a sharing mechanism based on the cooperation of the province-level secondary server and the group primary server is constructed. However, after the cross-province shared service is greatly developed, the mechanism can lead to the fact that the secondary rating performance of the provincial server can not meet the service requirement when the mechanism is matched and modified in the provincial. For example, according to the Hubei mobile present network ticket secondary rating processing speed, the single process single ticket processing speed is about 10-30 ms, and under the present network condition, the network transmission of Hubei provincial level nodes to the group primary server nodes has a ping packet return time of about 30-80 ms. Therefore, when the mechanism is matched and reformed in a province, if each ticket requiring to use the cross-province gift flow shared resource secondary pricing is adopted to apply free resources to a group company in real time, the performance of the cross-province shared service is greatly reduced due to the network transmission overhead of the province server and the primary server and the server processing overhead of the server, and the service requirement cannot be met due to the secondary pricing performance of the province server after the cross-province shared service is greatly developed.
In order to solve the problems in the prior art, the embodiment of the application provides a method, a device, equipment and a storage medium for rating a communication ticket. The embodiment of the application realizes the secondary price in the province by establishing the mapping of the cross-province gift flow in the province, dynamically adjusting the province mapping gift flow and the flow deduction priority mechanism. When the cross-province gift flow is on line, the corresponding provincial internal map gift flow in each provincial is on line at the same time, and each provincial sets the gift amount of the cross-provincial gift flow according to the gift amount of the cross-provincial gift flow at the beginning of each charging period. When the user ticket starts to use the cross-province gift flow rate to charge, the ticket key information caching is carried out at the same time when the accumulated quantity of the mapping package in the province is generated, and when the accumulated quantity of the ticket used for caching exceeds a threshold value or the arrival time of the first ticket exceeds the threshold value, the province server initiates deduction of the accumulated quantity of the ticket used for caching to the first-level charging accounting center. And deleting the cache data if the primary charging and accounting center deducts successfully, and updating the gift quantity of the intra-provincial mapping package according to the trans-provincial gift flow allowance returned by the primary charging and accounting center, otherwise, carrying out fishing and reclassifying on the price ticket and updating the gift quantity. The method for rating the communication ticket provided by the embodiment of the application is first described below.
Fig. 1 is a flow chart illustrating a method for rating a communication ticket according to an embodiment of the present application. As shown in fig. 1, the method may include the steps of:
s110, obtaining ticket of user service, information of trans-province gift flow and information of intra-province gift flow.
Acquiring a use record, namely a ticket, of a user using a subscription service; and trans-provincial gift flow information and intra-provincial gift flow information for the subscription service. The trans-province presentation flow information is flow package information of trans-province usable flow contained in the user subscription service. The intra-provincial presentation traffic information is traffic package information of intra-provincial available traffic contained in the user subscription service.
S120, generating provincial mapping gift flow information according to the provincial gift flow information.
The intra-provincial mapping presentation flow information is the same as the inter-provincial presentation flow information. The secondary price in the province is related to the package, the priority of each package confirms which package is used first when the ticket is priced, and the allowance of the package confirms whether the current ticket can be priced by the package. While the cross-province sharing package province can be used, the sharing resources are managed in the first-level charging and accounting center. In order to not greatly adjust the intra-provincial pricing logic, a local package is established in the provincial corresponding to the inter-provincial package when the inter-provincial package is released, namely intra-provincial mapping gift flow information is generated according to the inter-provincial gift flow information, and therefore the intra-provincial mapping gift flow information can be directly utilized for pricing when in pricing.
S130, determining flow use information according to the ticket, the intra-provincial mapping gift flow information and the intra-provincial gift flow information.
In one embodiment, S130 may include:
and comparing the total flow usage amount represented by the dialogue list, the intra-provincial mapping donation flow information and the intra-provincial donation flow information to obtain a flow comparison result.
And determining the target flow type according to the flow comparison result and the preset deduction priority.
And sequentially deducting the flow corresponding to the target flow type according to the preset deduction priority, and determining the flow deduction result as flow use information.
The preset deduction priority is sequentially from high to low: high priority intra-provincial gift traffic, intra-provincial mapping gift traffic, and low priority intra-provincial gift traffic.
For example, if the total amount of traffic is 100G and the high-priority intra-provincial donation traffic is 50G, the traffic type that needs to be deducted from the next lower priority in addition to the high-priority intra-provincial donation traffic can be determined, and finally the target traffic type can be determined. And then carrying out flow deduction in sequence according to the preset deduction priority.
And S140, sending the flow use information to the server.
The server can use the information dialogue list to carry out rating according to the flow, the used intra-provincial mapping gift flow and the flow of the intra-provincial gift flow do not charge extra telephone fees, and the excess part of the flow charges the telephone fees.
In one embodiment, S140 may include: determining the total flow use amount according to the flow use information; and when the total traffic usage amount exceeds a preset threshold, sending traffic usage information to the server.
Because the report dialogue single price meaning is not great in a small amount of traffic use cases, a preset threshold is set, and when the total traffic use amount exceeds the preset threshold, traffic use information is sent to the server. For example, the flow rate usage information may be periodically acquired, and the flow rate usage information acquired for each period may be summarized to obtain the total flow rate usage.
In one embodiment, the method may further comprise:
s150, updating the intra-provincial gift flow information according to the flow use information and the intra-provincial mapping gift flow information.
For example, the flow usage information represents 1GB of the intra-provincial presentation flow of the user service application, and the intra-provincial mapping presentation flow is 2GB, then 1GB is subtracted from the intra-provincial presentation flow allowance represented by the intra-provincial presentation flow information, and 2GB is added to the intra-provincial mapping presentation flow allowance represented by the intra-provincial mapping presentation flow information.
In one embodiment, the method may further comprise:
and S160, the updated intra-provincial mapping gift flow information is sent to the server, and the server is used for updating the inter-provincial gift flow information according to the updated intra-provincial mapping gift flow information.
The updated provincial mapping presentation flow information characterizes the use condition of the provincial mapping presentation flow, the inter-provincial presentation flow information can be correspondingly updated according to the updated provincial mapping presentation flow information, for example, the updated provincial mapping presentation flow information characterizes that the intra-provincial mapping presentation flow uses 5GB, and correspondingly, the updated inter-provincial presentation flow subtracts 5GB on the original basis so as to ensure the accuracy of the inter-provincial presentation flow information recorded by the server.
In one embodiment, the method further comprises S170, comprising:
receiving trans-provincial gift flow update information from a server, updating the trans-provincial gift flow information according to the trans-provincial gift flow update information, and updating intra-provincial mapping gift flow information according to the updated trans-provincial gift flow information.
In an actual application scene, the situation that a user additionally places single trans-provincial gift flow exists, at this time, trans-provincial gift flow information changes, if price is reduced according to the original trans-provincial gift flow information, price approval is inaccurate, so that the trans-provincial gift flow information is updated according to the trans-provincial gift flow update information, and the intra-provincial mapping gift flow information is updated according to the updated trans-provincial gift flow information.
Aiming at the use characteristics of the cross-province gift flow, the embodiment of the application adopts the intra-province mapping gift flow to participate in pre-rating and cache, when the total use amount of the flow represented by the pre-rating result exceeds a preset threshold value, the flow use information is integrally sent to the first-level server so as to be used for rating according to the flow use information, and the package resource amount of the inter-province mapping gift flow is automatically revised according to the flow use information and the update condition of the cross-province gift flow, so that the intra-province rating can effectively utilize the billing and accounting center of the first-level server to manage package resources, and meanwhile, the available resources of the cross-province package can be limited according to the residual resources of the cross-province flow package managed by the first-level billing and accounting center, the sum of the use amount of the inter-province mapping gift flows used by a plurality of sharing members can not greatly exceed the available resources of the cross-province package, and the total use amount of the cross province package can be quickly corrected after exceeding.
Fig. 1 illustrates a method for rating a communication ticket, and an apparatus provided by an embodiment of the present application is described below with reference to fig. 2 and 3.
Fig. 2 is a schematic structural diagram of a device for rating a communication ticket according to an embodiment of the present application, where each module in the device shown in fig. 2 has a function of implementing each step in fig. 1, and achieves the corresponding technical effects. As shown in fig. 2, the apparatus may include:
the obtaining module 210 is configured to obtain ticket of user service, trans-provincial gift flow information and intra-provincial gift flow information.
The acquisition module 210 acquires a usage record, i.e., ticket, of the user's usage subscription service.
The generating module 220 is configured to generate provincial mapping gift flow information according to the provincial gift flow information.
The intra-provincial mapping presentation flow information is the same as the inter-provincial presentation flow information.
The determining module 230 is configured to determine the traffic usage information according to the ticket, the intra-provincial mapping gifting traffic information, and the intra-provincial gifting traffic information.
According to the device for rating the communication ticket, disclosed by the embodiment of the application, aiming at the situation that the two-stage server is matched to complete the sharing of the trans-provincial charging resources, the ticket rating can be rapidly completed by using the intra-provincial mapping gift flow information by generating the intra-provincial mapping gift flow information, the rating performance of the provincial server is ensured not to be influenced by the trans-provincial resource network access delay, the charging accounting processing performance is ensured, and a large number of trans-provincial sharing service demands can be met.
In one embodiment, the determining module 230 may be specifically configured to:
and comparing the total flow usage amount represented by the dialogue list, the intra-provincial mapping donation flow information and the intra-provincial donation flow information to obtain a flow comparison result.
And determining the target flow type according to the flow comparison result and the preset deduction priority.
And sequentially deducting the flow corresponding to the target flow type according to the preset deduction priority, and determining the flow deduction result as flow use information.
The preset deduction priority is sequentially from high to low: high priority intra-provincial gift traffic, intra-provincial mapping gift traffic, and low priority intra-provincial gift traffic.
And a sending module 240, configured to send the traffic usage information to the server.
In one embodiment, the sending module 240 may be specifically configured to: determining the total flow use amount according to the flow use information; and when the total traffic usage amount exceeds a preset threshold, sending traffic usage information to the server.
In one embodiment, the apparatus may further include:
the updating module 250 is configured to update the intra-provincial gift flow information and the intra-provincial map gift flow information according to the flow usage information.
In one embodiment, the sending module 240 may also be configured to send the updated intra-provincial mapping gifting traffic information to a server.
And the server updates the cross-provincial gift flow information according to the updated intra-provincial mapping gift flow information.
In one embodiment, the apparatus may further include:
the receiving module 260 is configured to receive the cross-provincial traffic update information from the server.
The updating module 250 may be further configured to update the trans-provincial gift flow information according to the trans-provincial gift flow update information, and update the intra-provincial map gift flow information according to the updated trans-provincial gift flow information.
Aiming at the use characteristics of the cross-province gift flow, the embodiment of the application adopts the intra-province mapping gift flow to participate in pre-rating and cache, when the total use amount of the flow represented by the pre-rating result exceeds a preset threshold value, the flow use information is integrally sent to the first-level server so as to be used for rating according to the flow use information, and the package resource amount of the inter-province mapping gift flow is automatically revised according to the flow use information and the update condition of the cross-province gift flow, so that the intra-province rating can effectively utilize the billing and accounting center of the first-level server to manage package resources, and meanwhile, the available resources of the cross-province package can be limited according to the residual resources of the cross-province flow package managed by the first-level billing and accounting center, the sum of the use amount of the inter-province mapping gift flows used by a plurality of sharing members can not greatly exceed the available resources of the cross-province package, and the total use amount of the cross province package can be quickly corrected after exceeding.
Fig. 3 is a schematic structural diagram of a rating device for a communication ticket according to an embodiment of the present application. As shown in fig. 3, the device may include a processor 301 and a memory 302 storing computer program instructions.
In particular, the processor 301 may include a central processing unit (Central Processing Unit, CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits implementing embodiments of the present application.
Memory 302 may include mass storage for data or instructions. By way of example, and not limitation, memory 302 may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. In one example, memory 302 may include removable or non-removable (or fixed) media, or memory 302 may be a non-volatile solid state memory. Memory 302 may be internal or external to the integrated gateway disaster recovery device.
In one example, memory 302 may be Read Only Memory (ROM). In one example, the ROM may be mask-programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these.
The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement the method in the embodiment shown in fig. 1, and achieves the corresponding technical effects achieved by executing the method in the embodiment shown in fig. 1, which will not be described herein for brevity.
In one example, the rating device for the communication ticket may also include a communication interface 303 and a bus 310. As shown in fig. 3, the processor 301, the memory 302, and the communication interface 303 are connected to each other by a bus 310 and perform communication with each other.
The communication interface 303 is mainly used to implement communication between each module, device, unit and/or apparatus in the embodiment of the present application.
Bus 310 includes hardware, software, or both that couple the components of the online data flow information billing device to each other. By way of example, and not limitation, the buses may include an accelerated graphics port (Accelerated Graphics Port, AGP) or other graphics Bus, an enhanced industry standard architecture (Extended Industry Standard Architecture, EISA) Bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an industry standard architecture (Industry Standard Architecture, ISA) Bus, an infiniband interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a micro channel architecture (MCa) Bus, a Peripheral Component Interconnect (PCI) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a video electronics standards association local (VLB) Bus, or other suitable Bus, or a combination of two or more of the above. Bus 310 may include one or more buses, where appropriate. Although embodiments of the application have been described and illustrated with respect to a particular bus, the application contemplates any suitable bus or interconnect.
The pricing device for the communication ticket can execute the pricing method for the communication ticket in the embodiment of the application, thereby realizing the corresponding technical effects of the pricing method for the communication ticket described in fig. 1.
In addition, in combination with the method for rating a communication ticket in the above embodiment, the embodiment of the present application may be implemented by providing a computer storage medium. The computer storage medium has stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement the method of rating a communication ticket of any of the above embodiments.
It should be understood that the application is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between steps, after appreciating the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
It should also be noted that the exemplary embodiments mentioned in this disclosure describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, or may be performed in a different order from the order in the embodiments, or several steps may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to being, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware which performs the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In the foregoing, only the specific embodiments of the present application are described, and it will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the systems, modules and units described above may refer to the corresponding processes in the foregoing method embodiments, which are not repeated herein. It should be understood that the scope of the present application is not limited thereto, and any equivalent modifications or substitutions can be easily made by those skilled in the art within the technical scope of the present application, and they should be included in the scope of the present application.

Claims (11)

1. A method for rating a communication ticket, comprising:
acquiring a ticket of a user service, cross-province gift flow information and intra-province gift flow information;
generating intra-provincial mapping gift flow information according to the trans-provincial gift flow information, wherein the intra-provincial mapping gift flow information is identical to the trans-provincial gift flow information;
determining flow usage information according to the ticket, the intra-provincial mapping gift flow information, and the intra-provincial gift flow information;
the flow use information is sent to a server, and the server is used for rating according to the flow use information dialogue list;
the determining traffic usage information according to the ticket, the intra-provincial mapping gift traffic information, and the intra-provincial gift traffic information includes:
comparing the total flow usage amount represented by the ticket, the intra-provincial mapping donation flow information and the intra-provincial donation flow information to obtain a flow comparison result;
determining a target flow type according to the flow comparison result and a preset deduction priority; sequentially deducting the flow corresponding to the target flow type according to the preset deduction priority, and determining a flow deduction result as the flow use information;
the preset deduction priority is sequentially from high to low: high priority intra-provincial gift traffic, intra-provincial mapping gift traffic, and low priority intra-provincial gift traffic.
2. The method of rating a communication ticket of claim 1, wherein the method further comprises:
and updating the intra-provincial gift flow information according to the flow use information.
3. The method of rating a communication ticket of claim 2, wherein the method further comprises:
and sending the updated intra-provincial mapping gift flow information to a server, wherein the updated intra-provincial mapping gift flow information is used for updating the inter-provincial gift flow information according to the updated intra-provincial mapping gift flow information by the server.
4. The method of rating a communication ticket of claim 1, wherein the method further comprises:
receiving provincial gift flow update information from the server;
updating the trans-provincial gift flow information according to the trans-provincial gift flow update information;
and updating the provincial mapping gift flow information according to the updated provincial gift flow information.
5. The method for rating a communication ticket as set forth in claim 1, wherein the transmitting the traffic usage information to the server comprises:
determining the total flow use amount according to the flow use information;
and when the total traffic usage amount exceeds a preset threshold value, sending the traffic usage information to a server.
6. A device for rating a communication ticket, comprising:
the acquiring module is used for acquiring the ticket of the user service, the trans-provincial gift flow information and the intra-provincial gift flow information;
the generating module is used for generating intra-provincial mapping gift flow information according to the trans-provincial gift flow information, wherein the intra-provincial mapping gift flow information is the same as the trans-provincial gift flow information;
the determining module is used for determining flow use information according to the ticket, the intra-provincial mapping gift flow information and the intra-provincial gift flow information;
the sending module is used for sending the flow use information to a server and is used for the server to conduct pricing according to the flow use information dialogue list;
the determining module is specifically configured to:
comparing the total flow usage amount represented by the ticket, the intra-provincial mapping donation flow information and the intra-provincial donation flow information to obtain a flow comparison result;
determining a target flow type according to the flow comparison result and a preset deduction priority; sequentially deducting the flow corresponding to the target flow type according to the preset deduction priority, and determining a flow deduction result as the flow use information;
the preset deduction priority is sequentially from high to low: high priority intra-provincial gift traffic, intra-provincial mapping gift traffic, and low priority intra-provincial gift traffic.
7. The apparatus for rating a communication ticket according to claim 6, wherein the determining module is specifically configured to:
comparing the total flow usage amount represented by the ticket, the intra-provincial mapping donation flow information and the intra-provincial donation flow information to obtain a flow comparison result;
determining a target flow type according to the flow comparison result and a preset deduction priority;
sequentially deducting the flow corresponding to the target flow type according to the preset deduction priority, and determining a flow deduction result as the flow use information;
the preset deduction priority is sequentially from high to low: high priority intra-provincial gift traffic, intra-provincial mapping gift traffic, and low priority intra-provincial gift traffic.
8. The apparatus for rating a communication ticket as defined in claim 7, wherein the apparatus further comprises:
and the updating module is used for updating the intra-provincial gift flow information and intra-provincial mapping gift flow information according to the flow use information.
9. The ticket rating device according to claim 8, wherein the sending module is further configured to send updated intra-provincial map gift flow information to a server, and to update the inter-provincial map gift flow information according to the updated intra-provincial map gift flow information.
10. A device for rating a communication ticket, comprising: memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor implements a method of rating a communication ticket as claimed in any one of claims 1 to 5.
11. A computer-readable storage medium, wherein a program for realizing information transfer is stored on the computer-readable storage medium, and when executed by a processor, the program realizes the method for rating a communication ticket according to any one of claims 1 to 5.
CN202110274092.2A 2021-03-15 2021-03-15 Method, device, equipment and storage medium for rating communication ticket Active CN115086092B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110274092.2A CN115086092B (en) 2021-03-15 2021-03-15 Method, device, equipment and storage medium for rating communication ticket

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110274092.2A CN115086092B (en) 2021-03-15 2021-03-15 Method, device, equipment and storage medium for rating communication ticket

Publications (2)

Publication Number Publication Date
CN115086092A CN115086092A (en) 2022-09-20
CN115086092B true CN115086092B (en) 2023-08-15

Family

ID=83240834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110274092.2A Active CN115086092B (en) 2021-03-15 2021-03-15 Method, device, equipment and storage medium for rating communication ticket

Country Status (1)

Country Link
CN (1) CN115086092B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754158A (en) * 2008-12-02 2010-06-23 中国移动通信集团宁夏有限公司 Method for transmitting user data by trans-regional virtual net and system thereof
CN105743947A (en) * 2014-12-10 2016-07-06 中国移动通信集团公司 Resource sharing method and apparatus
WO2018000992A1 (en) * 2016-06-30 2018-01-04 华为技术有限公司 Traffic monitoring processing method, and related apparatus and system
CN108234141A (en) * 2016-12-22 2018-06-29 中移(杭州)信息技术有限公司 A kind of orientation flow processing method and server
CN111669720A (en) * 2020-06-02 2020-09-15 中国联合网络通信集团有限公司 Method and device for processing charging message
CN112135265A (en) * 2019-06-25 2020-12-25 中国移动通信集团江西有限公司 Call bill processing method and device and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101754158A (en) * 2008-12-02 2010-06-23 中国移动通信集团宁夏有限公司 Method for transmitting user data by trans-regional virtual net and system thereof
CN105743947A (en) * 2014-12-10 2016-07-06 中国移动通信集团公司 Resource sharing method and apparatus
WO2018000992A1 (en) * 2016-06-30 2018-01-04 华为技术有限公司 Traffic monitoring processing method, and related apparatus and system
CN108234141A (en) * 2016-12-22 2018-06-29 中移(杭州)信息技术有限公司 A kind of orientation flow processing method and server
CN112135265A (en) * 2019-06-25 2020-12-25 中国移动通信集团江西有限公司 Call bill processing method and device and computer equipment
CN111669720A (en) * 2020-06-02 2020-09-15 中国联合网络通信集团有限公司 Method and device for processing charging message

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郭洋.《中国优秀硕士学位论文全文数据库——信息科技》.2019,全文. *

Also Published As

Publication number Publication date
CN115086092A (en) 2022-09-20

Similar Documents

Publication Publication Date Title
CN101212532B (en) Combined billing system and method
US20150050912A1 (en) Methods for Providing Overdraft Protection for Post-Paid Communication Service Plans
US8189752B2 (en) Per-session dynamic charging caps in communication networks
US20150223042A1 (en) Independent roaming charging for a roaming user equipment in a visited network
KR20040007430A (en) Charging in a communication system
US20100145838A1 (en) Method, system, and apparatus for opening accounting data capabilities
US7801815B2 (en) Reverse rating system for determining duration of a usage transaction
US20120123919A1 (en) Method And System For Billing In A Communication Network
CN110324801A (en) The method and apparatus of charging
CN101860838B (en) Method and system for charging prepayment
WO2016115758A1 (en) Utility payment method and device
CN115086092B (en) Method, device, equipment and storage medium for rating communication ticket
CN111988749B (en) Dynamic tariff generation method and device
CN106385673B (en) Charging method and system for communication through maritime satellite
CN110972091B (en) Communication charging method, device, equipment, medium and terminal
CN111542005B (en) Charging method, device, equipment and storage medium
CN1777221B (en) Data processing system and method for realizing commercial information service via point card charging
CN107294735B (en) Order supplementing method and online charging system
CN108270580B (en) Reminding method, device and system for online charging
CN108809666B (en) Method, device and equipment for online charging of flow
KR100501171B1 (en) System and Method for Guarantee Billing Service in Mobile Communication System
WO2020233771A1 (en) Method and apparatus for charging communication service usage
CN109859005A (en) A kind of shared charger baby system
KR101061717B1 (en) Calculation method of attracting subscribers by communication service unit by session
US20220279325A1 (en) System and method for online charging telecommunication services in real time

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant