CN114205764B - Traffic resource sharing method, device, equipment and computer readable storage medium - Google Patents

Traffic resource sharing method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114205764B
CN114205764B CN202010908415.4A CN202010908415A CN114205764B CN 114205764 B CN114205764 B CN 114205764B CN 202010908415 A CN202010908415 A CN 202010908415A CN 114205764 B CN114205764 B CN 114205764B
Authority
CN
China
Prior art keywords
information
traffic resource
telephone traffic
tariff
gift
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
CN202010908415.4A
Other languages
Chinese (zh)
Other versions
CN114205764A (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 Anhui Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Anhui 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 Anhui Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202010908415.4A priority Critical patent/CN114205764B/en
Publication of CN114205764A publication Critical patent/CN114205764A/en
Application granted granted Critical
Publication of CN114205764B publication Critical patent/CN114205764B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Databases & Information Systems (AREA)
  • Meter Arrangements (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention relates to the technical field of computers and discloses a telephone traffic resource sharing method, a telephone traffic resource sharing device, telephone traffic resource sharing equipment and a computer readable storage medium. The method comprises the following steps: acquiring telephone traffic resource gift relationship information, telephone traffic resource tariff integration information and number card state information of a user in real time; monitoring the change of the state information of the telephone traffic resource giver in real time according to the state information of the number card, and updating the telephone traffic resource tariff integration information according to the difference value of the state information change; receiving a telephone traffic resource request sent by a first user; judging whether the first user has a telephone traffic resource gift relationship in the telephone traffic resource gift relationship information; and if the telephone traffic resource fee integration information exists, outputting adjustment fee information according to the telephone traffic resource fee integration information, and taking the adjustment fee information as a telephone traffic resource charging basis. The embodiment of the invention realizes the maximum use of the telephone traffic resource benefits of the initiating sharing party and the obtaining party.

Description

Traffic resource sharing method, device, equipment and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a telephone traffic resource sharing method, a telephone traffic resource sharing device, telephone traffic resource sharing equipment and a computer readable storage medium.
Background
The number of users of China mobile terminals is huge, and the huge user market has various personalized demands on various communication resources provided by operators. In order to maximize the utilization rate of resources, the demand of users for realizing the mutual gift sharing of telephone traffic resources, especially data traffic, voice and the like, contained in the ordered package is also increasing in recent years. For this huge scenario service appeal, there is a need for an accurate and efficient mutual gift sharing policy and charging scheme.
The existing implementation method for mutual giving sharing of operator telephone traffic resources is mainly to bind other number cards as auxiliary cards through the number card of the main control end, the auxiliary cards share the unidirectional sharing mode of the main card resources, or the sharing value of each member is preset when the group orders the shared resources, and the members pay the service package monthly fee in proportion. In the existing scheme, the main card cannot share the member ordering resources of the auxiliary card, the use of telephone traffic resources of the main card is saturated, but when the telephone traffic resources of the members remain, the group cannot benefit to the maximum enjoyment of the resources; the group members pay the package monthly fee according to the preset resource sharing threshold value and the actual sharing resource proportion, and the problems of resource waste caused by unreasonable sharing threshold value setting caused by member telephone traffic mutation, charging delay caused by re-pricing and the like are easy to occur. Thus, prior art solutions do not address the issue of initiating maximum use of the shared and gift-taker traffic resource benefits.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention provide a method, apparatus, device, and computer readable storage medium for traffic resource sharing to solve the problem of maximizing the use of traffic resources of an initiating sharing and donor.
According to an aspect of an embodiment of the present invention, there is provided a traffic resource sharing method, including:
acquiring telephone traffic resource gift relationship information, telephone traffic resource tariff integration information and number card state information of a user in real time;
monitoring the change of the state information of the telephone traffic resource giver in real time according to the state information of the number card, and updating the telephone traffic resource tariff integration information according to the difference value of the state information change;
receiving a telephone traffic resource request sent by a first user;
judging whether the first user has a telephone traffic resource gift relationship in the telephone traffic resource gift relationship information;
and if the telephone traffic resource fee integration information exists, outputting adjustment fee information according to the telephone traffic resource fee integration information, and taking the adjustment fee information as a telephone traffic resource charging basis.
In an optional manner, the collecting, in real time, the information of the telephone traffic resource gifting relationship, the information of telephone traffic resource tariff integration and the information of the number card status of the user includes:
collecting telephone traffic resource gift relationship information, wherein the telephone traffic resource gift relationship information comprises a gift party number, a gift operation time, gift tariff information and a gift party used resource condition;
collecting telephone traffic resource tariff integration information of users with telephone traffic resource mutual gift sharing relation, wherein the telephone traffic resource tariff integration information comprises a user number, an initial order package, capacity, transfer tariff information, gift acquisition tariff information and adjustment tariff information;
and collecting the number card state information of the users with the telephone traffic resource mutual gift sharing relationship, wherein the number card state information comprises the state information of the giver.
In an optional manner, the monitoring the change of the state information of the telephone traffic resource donor in real time according to the state information of the number card includes:
and determining the user with the changed state information of the donor as a state change user, and outputting the number of the state change user, the number of the donor corresponding to the state change user and the state information change difference value.
In an optional manner, the updating the traffic resource tariff integration information according to the state information variation difference value includes:
if the state of the donor is changed from normal to abnormal, freezing the telephone traffic resource given by the donor;
and if the state of the donor is changed from abnormal to normal, recovering the original value of the telephone traffic resource given by the donor.
In an optional manner, the collecting the number card status information of the users with the telephone traffic resource mutual gift sharing relationship, where the number card status information includes the donor status information includes:
binarizing the donor state information, wherein if the donor state is normal, the value is 1, and if the donor state is abnormal, the value is 0;
the updating the telephone traffic resource tariff integration information according to the state information change difference value comprises the following steps:
if the state information change difference value is-1, determining that the previous state of the donor is normal, and the current state is abnormal, matching a transfer party corresponding to the transfer party, updating the information of the telephone traffic resource tariff integration information that the user number is the transfer party's tariff obtaining information, and correcting the tariff capacity value obtained from the donor in the tariff obtaining information to the transfer party's tariff obtaining used amount;
if the state information change difference value is 1, determining that the state of the donor is abnormal immediately before, and the current state is normal, matching a transfer party corresponding to the transfer party, wherein the user number in the telephone traffic resource tariff integration information is the given tariff information of the transfer party, and correcting the tariff capacity value given by the transfer party from the transfer party in the given tariff information to the given tariff capacity original value of the transfer party.
In an alternative, the method further comprises:
and if the first user does not have the telephone traffic resource gift relationship in the telephone traffic resource gift relationship information, charging according to the traditional telephone traffic resource charging mode.
In an optional manner, the traffic resource includes one or more of a data traffic, a voice call, a short message, and a multimedia message.
According to another aspect of the embodiment of the present invention, there is provided a traffic resource sharing apparatus, including:
the acquisition module is used for acquiring the telephone traffic resource giving relation information, telephone traffic resource tariff integration information and number card state information of the user in real time;
the updating module is used for monitoring the change of the state information of the telephone traffic resource giver in real time according to the state information of the number card and updating the telephone traffic resource tariff integration information according to the state information change difference value;
the receiving module is used for receiving a telephone traffic resource request sent by a first user;
the judging module is used for judging whether the first user has a telephone traffic resource gift relationship in the telephone traffic resource gift relationship information;
and the output module is used for outputting the adjustment tariff information according to the telephone traffic resource tariff integration information if the telephone traffic resource tariff information exists, and taking the adjustment tariff information as a telephone traffic resource charging basis.
According to another aspect of the embodiment of the present invention, there is provided a traffic resource sharing apparatus, including: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform operations of the traffic resource sharing method as described above.
According to another aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored therein at least one executable instruction that, when run on a traffic resource sharing device, causes the traffic resource sharing device to perform the operations of the traffic resource sharing method as described above.
The embodiment of the invention acquires the telephone traffic resource gift relation information, telephone traffic resource charge integration information and number card state information of the user in real time, monitors the change of the state information of the telephone traffic resource gift party according to the number card state information in real time, updates the telephone traffic resource charge integration information according to the state information change difference value, and carries out telephone traffic resource charging based on the telephone traffic resource gift relation information and the telephone traffic resource charge integration information when the user has a telephone traffic resource request, so that telephone traffic resources between a main card and a secondary card can be used for mutual gift, and the purposes of initiating sharing and obtaining the maximum use of telephone traffic resource benefits of the gift party are realized.
The foregoing description is only an overview of the technical solutions of the embodiments of the present invention, and may be implemented according to the content of the specification, so that the technical means of the embodiments of the present invention can be more clearly understood, and the following specific embodiments of the present invention are given for clarity and understanding.
Drawings
The drawings are only for purposes of illustrating embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 shows a flow diagram of a traffic resource sharing method according to an embodiment of the present invention;
FIG. 2 shows a schematic diagram of a grid construction process provided by an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a traffic resource sharing device according to an embodiment of the present invention;
fig. 4 shows a schematic structural diagram of a traffic resource sharing device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein.
Fig. 1 shows a flowchart of a method for sharing a traffic resource, which may be performed by a server of an operator, for example, a network management center or a network element dedicated to processing traffic resource sharing. As shown in fig. 1, the method comprises the steps of:
step 110: acquiring telephone traffic resource gift relationship information, telephone traffic resource tariff integration information and number card state information of a user in real time;
this step collects the mutual sharing relationship of the traffic resources at CRM (Customer Relationship Management )/BOSS (Business & Operation Support System, business operation support system) side and the information of the used traffic resources (gift relationship), the order information of the traffic resources (traffic resource tariff integration information), the status information of the number card, etc. in real time. The telephone traffic resource comprises one or more of data flow, voice call, short message and multimedia message. The embodiment of the invention is illustrated by taking data traffic as an example.
The step may further comprise the steps of:
step 111: collecting telephone traffic resource gift relationship information, wherein the telephone traffic resource gift relationship information comprises a gift party number, a gift operation time, gift tariff information and a gift party used resource condition;
the information collected in this step can be recorded in a two-dimensional table format shown in table 1:
TABLE 1 telephone traffic resource gift relationship information Table
The first record indicates that msisdn_b will subscribe to package P at time time_ba B2 The third record indicates that msisdn_a will subscribe to package P at time_ac A1 The 100M traffic in (b) is given to msisdn_c.
Step 112: collecting telephone traffic resource tariff integration information of users with telephone traffic resource mutual gift sharing relation, wherein the telephone traffic resource tariff integration information comprises a user number, an initial order package, capacity, transfer tariff information, gift acquisition tariff information and adjustment tariff information;
the information collected in this step can be recorded in a two-dimensional table format shown in table 2:
TABLE 2 Targeted integration information Table for telephone traffic resources
In Table 2, the first record indicates that the number msisdn_A is the subscription initial package P A1 、P A2 The capacities are 1024M (i.e. 1G) and 500M respectively, and the package P is presented A1 200M of the gift-obtaining package P B1 、P C1 The gifted capacity is 300M and 50M respectively, and the package sequence P can be finally used after adjustment A1 P A2 P B1 、P C1 The adjusted charge capacity is calculated to give and obtain the result capacity (824) (500) (300) (50), and the charging priority is configured according to the charging rating sequence when the package is on line.
Step 113: and collecting the number card state information of the users with the telephone traffic resource mutual gift sharing relationship, wherein the number card state information comprises the state information of the giver.
In step 113, the donor state (state) information may be binarized, and the value of the donor state is 1 if it is normal, and the value of the donor state is 0 if it is abnormal (abnormal state such as single stop, double stop, and pre-sale). The binarization processing is convenient for the subsequent real-time monitoring of the state information of the number card, and when the state of the number card changes, the processing of different charging modes of telephone traffic resources is carried out according to the change, and the details are described later.
Step 120: monitoring the change of the state information of the telephone traffic resource giver in real time according to the state information of the number card, and updating the telephone traffic resource tariff integration information according to the difference value of the state information change;
in this step, the real-time monitoring of the change of the state information of the telephone traffic resource donor according to the state information of the number card may be performed in the following manner:
and determining the user with the changed state information of the donor as a state change user, and outputting the number of the state change user, the number of the donor corresponding to the state change user and a state information change difference value (delta state). And the outputted information is used for updating the telephone traffic resource tariff integration information.
In some embodiments, updating the traffic resource tariff integration information based on the state information variation difference value further includes:
a. if the state of the donor is changed from normal to abnormal, freezing the telephone traffic resource given by the donor;
b. and if the state of the donor is changed from abnormal to normal, recovering the original value of the telephone traffic resource given by the donor.
In some embodiments, if the donor state information is binarized, the donor state is normal and has a value of 1, and if the donor state is abnormal and has a value of 0, updating the traffic resource tariff integration information according to the state information change difference value is divided into the following two scenarios:
(1) If the state information change difference value is-1, determining that the previous state of the donor is normal, and the current state is abnormal, matching a transfer party corresponding to the transfer party, updating the information of the telephone traffic resource tariff integration information that the user number is the transfer party's tariff obtaining information, and correcting the tariff capacity value obtained from the donor in the tariff obtaining information to the transfer party's tariff obtaining used amount;
the scene is as follows: when the number card state becomes abnormal, the number msisdn and the corresponding gift output object number to_msisdn are definitely obtained, a charging process package S (Prod) and a enjoyed package preferential quantity S (Used) are extracted from the current charging system, the msisdn and the to_msisdn are respectively Used as indexes to call traffic resource tariff integration information, the gift and shared resource total details are traversed, the msisdn gift resource Donor (Prod) and the capacity attribute are found out, the to_msisdn is reversely found in the table to correspond to the gift Donor (Prod) and the capacity attribute, and meanwhile, the statistics to the Donor (Used) which is the value of the gift Donor (Prod) contained in the traffic resource quantity Used by the to_msisdn is carried out, and the capacity of the to obtain the package resource Donor (Prod) in the tariff integration container is adjusted to be modified to Donor (Used), so that the traffic resource to be frozen from the msisdn is obtained.
(2) If the state information change difference value is 1, determining that the state of the donor is abnormal immediately before, and the current state is normal, matching a transfer party corresponding to the transfer party, wherein the user number in the telephone traffic resource tariff integration information is the given tariff information of the transfer party, and correcting the tariff capacity value given by the transfer party from the transfer party in the given tariff information to the given tariff capacity original value of the transfer party.
The scene is as follows: the state of the msisdn of the giving user initiated in the previous period is abnormal, the msisdn is restored to be normal, the msisdn is matched with the to_msisdn, and the added cost capacity standard value (namely the original value of the given resource) is obtained from the msisdn corresponding to the to_msisdn in the updated cost integrating container to_msisdn.
Step 130: receiving a telephone traffic resource request sent by a first user;
step 140: judging whether the first user has a telephone traffic resource gift relationship in the telephone traffic resource gift relationship information;
step 150: and if the telephone traffic resource fee integration information exists, outputting adjustment fee information according to the telephone traffic resource fee integration information, and taking the adjustment fee information as a telephone traffic resource charging basis.
It can be understood that if the first user does not have the traffic resource gift relationship in the traffic resource gift relationship information, the charging is performed according to the conventional traffic resource charging manner, that is, the charging is performed according to the manner that the traffic resource gift relationship does not exist, and the deduction charging of the data flow is performed from the traffic resource purchased by the first user.
Step 140 and 150 carry on the business logic judgement, obtain msisdn and source_type to the terminal station which initiates the resource request number, match the gift relation of source_type in the information of the gift relation of telephone traffic resource, if does not match and give the gift relation, produce ticket and charge according to the traditional G network non-gift sharing mode; if the matching has the gift sharing relationship, outputting the package and the capacity charging with definite charging priority sequence according to the telephone traffic resource tariff integration information.
The embodiment of the invention acquires the telephone traffic resource gift relation information, telephone traffic resource charge integration information and number card state information of the user in real time, monitors the change of the state information of the telephone traffic resource gift party according to the number card state information in real time, updates the telephone traffic resource charge integration information according to the state information change difference value, and carries out telephone traffic resource charging based on the telephone traffic resource gift relation information and the telephone traffic resource charge integration information when the user has a telephone traffic resource request, so that telephone traffic resources between a main card and a secondary card can be used for mutual gift, and the purposes of initiating sharing and obtaining the maximum use of telephone traffic resource benefits of the gift party are realized.
Embodiments of the present invention are further described below in terms of modularizing various software functional units:
the embodiment of the invention physically describes each software functional module for realizing the steps of the method. As shown in fig. 2, in the operator server, a data acquisition module and a service processing module are provided. The data acquisition module comprises a giving relation register, a tariff integration container and a number card state monitor. The business processing module comprises a donation relation checking unit (Donor relationship verification unit, DRVU) and a donation resource freezing unit (Donor resource freezing unit, DRFU). The data acquisition module and the service processing module can be arranged in the same server or in different servers. The parallel deployment scheme is preferred, namely, the parallel deployment scheme is arranged in different servers, and the parallel deployment scheme can be deployed together, namely, the parallel deployment scheme is arranged in the same server if cost is saved.
The data acquisition module acquires the number card in real time on the corresponding carrier CRM (Customer Relationship Management )/BOSS (Business operation support system) side resource giving relationship information, corresponding user used Business resource information, tariff integration sequence information, mutual giving attribute package ordering information, number card state information and the like. The service processing module checks whether the resource request user has the mutual gift sharing condition of the resources, namely, has a gift relationship, and if so, the service processing module calculates the preferential use of the package according to the tariff integration container. And triggering a service operation module to freeze the unused part of the number card donated resource by the abnormal state of the number card arrearage, stop reporting and other reasons of the terminal number card donated.
Before the number card terminal is used as a resource requesting party to generate telephone traffic, the number card terminal firstly sends the corresponding telephone traffic resources such as GPRS, call, short message and other requests to a service processing module, generates a data message by a mobile phone number (msisdn) and a resource type identifier (source_type), and submits the data message to the service processing module.
Wherein, corresponding to the above-mentioned method embodiment, the gift relation register performs step 111, the tariff integration container performs step 112, the card status monitor performs steps 113 and 120, and the gift relation verification unit and the gift resource freezing unit perform steps 140 and 150 together. The tariff integrating container and the donation resource freezing unit cooperate to execute dynamic maintenance, and derived correction information such as a calibration tariff series and a calibration tariff capacity series is set to provide a solution for a user to obtain donation resources from a plurality of donators and the states are various, so that the charging priority can be configured for charging the charging order.
In summary, the embodiment of the invention can assign the number to realize the gift sharing only by ordering the telephone traffic resources with the mutual gift sharing attribute under the normal user state, improves the current situation that only the auxiliary card can unidirectionally share the telephone traffic resources of the main card, and particularly provides an effective solution for the scene that the auxiliary card memory resources are largely remained and the main card resources are used up. When users order the mutual gift shared telephone traffic resources, the sharing proportion among the members does not need to be preset for the package resources immediately, the gift resource quantity can be set after necessary or needed, repeated gift is supported, and resource waste caused by unreasonable preset due to rapid increase of short-term telephone traffic demands of the gift obtaining person is avoided. The existing network and network element equipment are not required to be greatly transformed or the basic charging strategy is not required to be modified, the resource investment is low, the practicability is high, and the accuracy is high.
Fig. 3 shows a schematic structural diagram of a traffic resource sharing device according to an embodiment of the present invention. As shown in fig. 3, the apparatus 300 includes:
the acquisition module 310 is configured to acquire, in real time, information of a telephone traffic resource gift relationship, information of telephone traffic resource tariff integration, and information of a number card status of a user;
an updating module 320, configured to monitor, in real time, a change in the status information of the telephone traffic resource giver according to the status information of the number card, and update the telephone traffic resource tariff integration information according to a difference value of the status information change;
a receiving module 330, configured to receive a traffic resource request sent by a first user;
a judging module 340, configured to judge whether a traffic resource gift relationship exists in the traffic resource gift relationship information for the first user;
and the output module 350 is configured to output adjustment tariff information according to the traffic resource tariff integration information, if any, as a traffic resource charging basis.
In an alternative manner, the acquisition module 310 is further configured to:
collecting telephone traffic resource gift relationship information, wherein the telephone traffic resource gift relationship information comprises a gift party number, a gift operation time, gift tariff information and a gift party used resource condition;
collecting telephone traffic resource tariff integration information of users with telephone traffic resource mutual gift sharing relation, wherein the telephone traffic resource tariff integration information comprises a user number, an initial order package, capacity, transfer tariff information, gift acquisition tariff information and adjustment tariff information;
and collecting the number card state information of the users with the telephone traffic resource mutual gift sharing relationship, wherein the number card state information comprises the state information of the giver.
In an alternative approach, the update module 320 is further configured to:
and determining the user with the changed state information of the donor as a state change user, and outputting the number of the state change user, the number of the donor corresponding to the state change user and the state information change difference value.
In an alternative approach, the update module 320 is further configured to:
if the state of the donor is changed from normal to abnormal, freezing the telephone traffic resource given by the donor;
and if the state of the donor is changed from abnormal to normal, recovering the original value of the telephone traffic resource given by the donor.
In an alternative manner, the acquisition module 310 is further configured to:
binarizing the donor state information, wherein if the donor state is normal, the value is 1, and if the donor state is abnormal, the value is 0;
the update module 320 is further configured to:
if the state information change difference value is-1, determining that the previous state of the donor is normal, and the current state is abnormal, matching a transfer party corresponding to the transfer party, updating the information of the telephone traffic resource tariff integration information that the user number is the transfer party's tariff obtaining information, and correcting the tariff capacity value obtained from the donor in the tariff obtaining information to the transfer party's tariff obtaining used amount;
if the state information change difference value is 1, determining that the state of the donor is abnormal immediately before, and the current state is normal, matching a transfer party corresponding to the transfer party, wherein the user number in the telephone traffic resource tariff integration information is the given tariff information of the transfer party, and correcting the tariff capacity value given by the transfer party from the transfer party in the given tariff information to the given tariff capacity original value of the transfer party.
In an alternative manner, the apparatus 300 further comprises a billing module for:
and if the first user does not have the telephone traffic resource gift relationship in the telephone traffic resource gift relationship information, charging according to the traditional telephone traffic resource charging mode.
In an optional manner, the traffic resource includes one or more of a data traffic, a voice call, a short message, and a multimedia message.
The embodiment of the invention acquires the telephone traffic resource gift relation information, telephone traffic resource charge integration information and number card state information of the user in real time, monitors the change of the state information of the telephone traffic resource gift party according to the number card state information in real time, updates the telephone traffic resource charge integration information according to the state information change difference value, and carries out telephone traffic resource charging based on the telephone traffic resource gift relation information and the telephone traffic resource charge integration information when the user has a telephone traffic resource request, so that telephone traffic resources between a main card and a secondary card can be used for mutual gift, and the purposes of initiating sharing and obtaining the maximum use of telephone traffic resource benefits of the gift party are realized.
Fig. 4 shows a schematic structural diagram of an embodiment of a traffic resource sharing device according to an embodiment of the present invention, which is not limited to the specific implementation of the traffic resource sharing device.
As shown in fig. 4, the traffic resource sharing device may include: a processor 402, a communication interface (Communications Interface) 404, a memory 406, and a communication bus 408.
Wherein: processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408. A communication interface 404 for communicating with network elements of other devices, such as clients or other servers. Processor 402 is configured to execute program 410 and may specifically perform the relevant steps described above in the embodiments of the method for traffic resource sharing.
In particular, program 410 may include program code including computer-executable instructions.
The processor 402 may be a central processing unit CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the traffic resource sharing device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 406 for storing programs 410. Memory 406 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The embodiment of the invention acquires the telephone traffic resource gift relation information, telephone traffic resource charge integration information and number card state information of the user in real time, monitors the change of the state information of the telephone traffic resource gift party according to the number card state information in real time, updates the telephone traffic resource charge integration information according to the state information change difference value, and carries out telephone traffic resource charging based on the telephone traffic resource gift relation information and the telephone traffic resource charge integration information when the user has a telephone traffic resource request, so that telephone traffic resources between a main card and a secondary card can be used for mutual gift, and the purposes of initiating sharing and obtaining the maximum use of telephone traffic resource benefits of the gift party are realized.
The embodiment of the invention provides a computer readable storage medium, which stores at least one executable instruction, and when the executable instruction runs on traffic resource sharing equipment/device, the traffic resource sharing equipment/device executes the traffic resource sharing method in any of the method embodiments.
The embodiment of the invention provides a telephone traffic resource sharing device which is used for executing the telephone traffic resource sharing method.
The embodiment of the invention provides a computer program which can be called by a processor to enable a traffic resource sharing device to execute the traffic resource sharing method in any of the above method embodiments.
Embodiments of the present invention provide a computer program product comprising a computer program stored on a computer readable storage medium, the computer program comprising program instructions which, when run on a computer, cause the computer to perform the traffic resource sharing method of any of the method embodiments described above.
The algorithms or displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the above description of exemplary embodiments of the invention, various features of the embodiments of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component, and they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specifically stated.

Claims (9)

1. A method for sharing traffic resources, the method comprising:
acquiring telephone traffic resource gift relationship information, telephone traffic resource tariff integration information and number card state information of a user in real time; the collecting the number card state information of the users with telephone traffic resource mutual gift sharing relation, wherein the number card state information comprises the state information of the giver party and comprises the following steps:
binarizing the donor state information, wherein if the donor state is normal, the value is 1, and if the donor state is abnormal, the value is 0;
monitoring the change of the state information of the telephone traffic resource giver in real time according to the state information of the number card, and updating the telephone traffic resource tariff integration information according to the difference value of the state information change; the updating the telephone traffic resource tariff integration information according to the state information change difference value comprises the following steps:
if the state information change difference value is-1, determining that the previous state of the donor is normal, and the current state is abnormal, matching a transfer party corresponding to the transfer party, updating the information of the telephone traffic resource tariff integration information that the user number is the transfer party's tariff obtaining information, and correcting the tariff capacity value obtained from the donor in the tariff obtaining information to the transfer party's tariff obtaining used amount;
if the state information change difference value is 1, determining that the state of the donor is abnormal immediately before, and the current state is normal, matching a transfer party corresponding to the transfer party, wherein the user number in the telephone traffic resource tariff integration information is the gift-obtaining tariff information of the transfer party, and correcting the tariff capacity value of the gift-obtaining tariff information from the transfer party to the gift-obtaining tariff capacity original value of the transfer party;
receiving a telephone traffic resource request sent by a first user;
judging whether the first user has a telephone traffic resource gift relationship in the telephone traffic resource gift relationship information;
and if the telephone traffic resource fee integration information exists, outputting adjustment fee information according to the telephone traffic resource fee integration information, and taking the adjustment fee information as a telephone traffic resource charging basis.
2. The method of claim 1, wherein the collecting in real time the user's traffic resource gift relationship information, traffic resource tariff integration information, and number card status information comprises:
collecting telephone traffic resource gift relationship information, wherein the telephone traffic resource gift relationship information comprises a gift party number, a gift operation time, gift tariff information and a gift party used resource condition;
collecting telephone traffic resource tariff integration information of users with telephone traffic resource mutual gift sharing relation, wherein the telephone traffic resource tariff integration information comprises a user number, an initial order package, capacity, transfer tariff information, gift acquisition tariff information and adjustment tariff information;
and collecting the number card state information of the users with the telephone traffic resource mutual gift sharing relationship, wherein the number card state information comprises the state information of the giver.
3. The method of claim 1, wherein monitoring the change in the status information of the traffic resource donor in real time based on the status information of the card comprises:
and determining the user with the changed state information of the donor as a state change user, and outputting the number of the state change user, the number of the donor corresponding to the state change user and the state information change difference value.
4. The method of claim 1, wherein said updating said traffic resource tariff integration information based on state information change differences comprises:
if the state of the donor is changed from normal to abnormal, freezing the telephone traffic resource given by the donor;
and if the state of the donor is changed from abnormal to normal, recovering the original value of the telephone traffic resource given by the donor.
5. The method of claim 1, wherein the method further comprises:
and if the first user does not have the telephone traffic resource gift relationship in the telephone traffic resource gift relationship information, charging according to the traditional telephone traffic resource charging mode.
6. The method of any of claims 1-5, wherein the traffic resources comprise one or more of data traffic, voice calls, short messages, and multimedia messages.
7. A traffic resource sharing apparatus, the apparatus comprising:
the acquisition module is used for acquiring the telephone traffic resource giving relation information, telephone traffic resource tariff integration information and number card state information of the user in real time; the collecting the number card state information of the users with telephone traffic resource mutual gift sharing relation, wherein the number card state information comprises the state information of the giver party and comprises the following steps:
binarizing the donor state information, wherein if the donor state is normal, the value is 1, and if the donor state is abnormal, the value is 0;
the updating module is used for monitoring the change of the state information of the telephone traffic resource giver in real time according to the state information of the number card and updating the telephone traffic resource tariff integration information according to the state information change difference value; the updating the telephone traffic resource tariff integration information according to the state information change difference value comprises the following steps:
if the state information change difference value is-1, determining that the previous state of the donor is normal, and the current state is abnormal, matching a transfer party corresponding to the transfer party, updating the information of the telephone traffic resource tariff integration information that the user number is the transfer party's tariff obtaining information, and correcting the tariff capacity value obtained from the donor in the tariff obtaining information to the transfer party's tariff obtaining used amount;
if the state information change difference value is 1, determining that the state of the donor is abnormal immediately before, and the current state is normal, matching a transfer party corresponding to the transfer party, wherein the user number in the telephone traffic resource tariff integration information is the gift-obtaining tariff information of the transfer party, and correcting the tariff capacity value of the gift-obtaining tariff information from the transfer party to the gift-obtaining tariff capacity original value of the transfer party;
the receiving module is used for receiving a telephone traffic resource request sent by a first user;
the judging module is used for judging whether the first user has a telephone traffic resource gift relationship in the telephone traffic resource gift relationship information;
and the output module is used for outputting the adjustment tariff information according to the telephone traffic resource tariff integration information if the telephone traffic resource tariff information exists, and taking the adjustment tariff information as a telephone traffic resource charging basis.
8. A traffic resource sharing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
the memory is configured to store at least one executable instruction that causes the processor to perform the operations of the traffic resource sharing method according to any of claims 1-6.
9. A computer readable storage medium having stored therein at least one executable instruction that, when executed on a traffic resource sharing device, causes the traffic resource sharing device to perform the operations of the traffic resource sharing method of any of claims 1-6.
CN202010908415.4A 2020-09-02 2020-09-02 Traffic resource sharing method, device, equipment and computer readable storage medium Active CN114205764B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010908415.4A CN114205764B (en) 2020-09-02 2020-09-02 Traffic resource sharing method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010908415.4A CN114205764B (en) 2020-09-02 2020-09-02 Traffic resource sharing method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114205764A CN114205764A (en) 2022-03-18
CN114205764B true CN114205764B (en) 2023-11-03

Family

ID=80644272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010908415.4A Active CN114205764B (en) 2020-09-02 2020-09-02 Traffic resource sharing method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114205764B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255813A (en) * 2011-07-18 2011-11-23 中国联合网络通信集团有限公司 Method, server and system for dispatching group shared traffic
CN102843668A (en) * 2012-06-28 2012-12-26 北京得实达康系统集成有限公司 Method and system for implementing flow sharing of multiple mobile terminal cards
CN106982126A (en) * 2016-01-18 2017-07-25 中国移动通信集团重庆有限公司 A kind of resource-sharing charging method and message accounting, memory bank
CN107635219A (en) * 2017-09-30 2018-01-26 中国联合网络通信集团有限公司 Service package sharing method and device
CN108848278A (en) * 2018-06-01 2018-11-20 中国联合网络通信集团有限公司 No.1 multiple terminals service security monitoring method, device and equipment
CN109428735A (en) * 2017-08-31 2019-03-05 中国电信股份有限公司 Charging method and charge system
CN110866742A (en) * 2019-09-23 2020-03-06 深圳市中景元科技有限公司 Bill generation method, device, server and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6731729B2 (en) * 1997-08-29 2004-05-04 Arbinet-Thexchange, Inc. Method and a system for settlement of trading accounts
US8229812B2 (en) * 2009-01-28 2012-07-24 Headwater Partners I, Llc Open transaction central billing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102255813A (en) * 2011-07-18 2011-11-23 中国联合网络通信集团有限公司 Method, server and system for dispatching group shared traffic
CN102843668A (en) * 2012-06-28 2012-12-26 北京得实达康系统集成有限公司 Method and system for implementing flow sharing of multiple mobile terminal cards
CN106982126A (en) * 2016-01-18 2017-07-25 中国移动通信集团重庆有限公司 A kind of resource-sharing charging method and message accounting, memory bank
CN109428735A (en) * 2017-08-31 2019-03-05 中国电信股份有限公司 Charging method and charge system
CN107635219A (en) * 2017-09-30 2018-01-26 中国联合网络通信集团有限公司 Service package sharing method and device
CN108848278A (en) * 2018-06-01 2018-11-20 中国联合网络通信集团有限公司 No.1 multiple terminals service security monitoring method, device and equipment
CN110866742A (en) * 2019-09-23 2020-03-06 深圳市中景元科技有限公司 Bill generation method, device, server and storage medium

Also Published As

Publication number Publication date
CN114205764A (en) 2022-03-18

Similar Documents

Publication Publication Date Title
CN106462461B (en) System, device and method for billing a user for their consumption of mobile broadband services and virtualized cloud resources
CN110417561B (en) Block chain-based distributed charging method, device and system
CN110381455B (en) Flow monitoring processing method and related device and system
CN111130810A (en) Charging method and device for cloud service usage package and related equipment
CN106096926B (en) Event processing method, device, electronic device and storage medium
CN107635251A (en) Fiduciary network traffics concocting method
CN107040387B (en) Online charging engine, real-time accounting engine, and online charging method and system
CN114070791A (en) Data flow rate limiting processing method and device
CN106982126B (en) Resource sharing charging method and charging device, and memory bank
CN107147610B (en) Resource processing method and device
US20240244009A1 (en) Determining resource usage metrics for cloud computing systems
CN109474902A (en) Message message accounting, method, terminal and system
CN114205764B (en) Traffic resource sharing method, device, equipment and computer readable storage medium
CN110297824B (en) Data recording method, device, equipment and storage medium based on resource transfer
CN111862478A (en) Vehicle operation method and device
CN110662188B (en) Charging method and system
WO2019184632A1 (en) Rating method and apparatus
CN112399388A (en) Method, device and system for realizing edge calculation
CN109308219B (en) Task processing method and device and distributed computer system
CN111581483A (en) Charging method, electronic device and storage medium
CN113132928B (en) Charging method and device for video short message service
CN109548000B (en) System, method and computer equipment for sharing and purchasing communication service
CN110544104B (en) Account determination method and device, storage medium and electronic device
CN108271134B (en) Communication service charging method and device
CN112738743A (en) Business service, real-time charging method, device, edge server and charging system

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