CN113766442B - Telephone traffic resource sharing method and device, computing equipment and storage medium - Google Patents

Telephone traffic resource sharing method and device, computing equipment and storage medium Download PDF

Info

Publication number
CN113766442B
CN113766442B CN202010504285.8A CN202010504285A CN113766442B CN 113766442 B CN113766442 B CN 113766442B CN 202010504285 A CN202010504285 A CN 202010504285A CN 113766442 B CN113766442 B CN 113766442B
Authority
CN
China
Prior art keywords
resource
shared
group
sequence
sub
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
CN202010504285.8A
Other languages
Chinese (zh)
Other versions
CN113766442A (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 CN202010504285.8A priority Critical patent/CN113766442B/en
Publication of CN113766442A publication Critical patent/CN113766442A/en
Application granted granted Critical
Publication of CN113766442B publication Critical patent/CN113766442B/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
    • 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/66Policy and charging system
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/765Linked or grouped accounts, e.g. of users or devices
    • H04M15/7652Linked or grouped accounts, e.g. of users or devices shared by users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/78Redistributing amount between accounts
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/70Administration or customization aspects; Counter-checking correct charges
    • H04M15/78Redistributing amount between accounts
    • H04M15/781Redistributing amount between accounts dynamically

Landscapes

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

Abstract

The invention discloses a telephone traffic resource sharing method, a telephone traffic resource sharing device, a computing device and a storage medium, wherein the telephone traffic resource sharing method comprises the following steps: collecting sharing group relation, member states of corresponding sub-members, shared resource purchase information of the sub-members and used sharing information of the sub-members; searching whether a matched shared group relation exists or not from the shared group relation according to the resource use request; if the matched shared group relation is found, calculating the used shared resource quantity and the group resource capacity of the group; and comparing the amount of the shared resources used by the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result. The invention records the sub-members with the shared group relationship through the shared group relationship in the service operation support system, and realizes flexible telephone traffic resource sharing by comparing the used shared resource amount with the group resource capacity and combining the comparison result.

Description

Telephone traffic resource sharing method and device, computing equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, a computing device, and a storage medium for sharing traffic resources.
Background
As mobile terminal users increase, there are many personalized demands from users on various communication resources provided by operators. In order to maximize the utilization of resources, users have recently made more demanding on the realization of sharable resources, especially data traffic, voice, etc., contained in the subscription packages.
The existing operator telephone traffic resource sharing is realized by binding other number cards as auxiliary cards through the number card at the main control end, wherein the auxiliary cards share the main card resource in a unidirectional sharing mode, or each member sharing value is preset when a group orders the shared resource, and the members pay service package monthly fees in proportion. However, if the primary card and the secondary card share the primary card resources in a unidirectional sharing manner, because the primary card cannot share the secondary card member subscription resources, the primary card is saturated in use for the own traffic resources, but when the secondary card member traffic resources remain, the group cannot maximize the benefit of enjoying the resources; if the sharing value of each member is preset when the group subscribes to the shared resource, the group member pays the package monthly fee according to the preset resource sharing threshold and the actual shared resource proportion, the resource waste caused by unreasonable setting of the sharing threshold due to the mutation of the member telephone traffic state is easy to occur, and the problem that the benefit of the user sharing the telephone traffic resource in the group cannot be maximized and used is caused.
Disclosure of Invention
The present invention has been made in view of the above problems, and it is an object of the present invention to provide a traffic resource sharing method, apparatus, computing device and storage medium that overcomes or at least partially solves the above problems.
According to one aspect of the present invention, there is provided a traffic resource sharing method, including:
collecting a shared group relation, member states of all sub-members corresponding to the shared group relation, shared resource purchase information of all the sub-members and used shared information of all the sub-members from a service operation support system;
receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request;
if the matched shared group relation is found, calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation; and comparing the amount of the shared resources used by the group with the group resource capacity, and determining a ticket pricing scheme according to a comparison result.
According to another aspect of the present invention, there is provided a traffic resource sharing apparatus, including:
the information acquisition module is suitable for acquiring the sharing group relation, the member states of all the sub-members corresponding to the sharing group relation, the shared resource purchase information of all the sub-members and the used sharing information of all the sub-members from the service operation support system;
the searching module is suitable for receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request;
the calculation module is suitable for calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation if the matched shared group relation is found;
and the processing module is suitable for comparing the used shared resource quantity of the group with the group resource capacity and determining a ticket pricing scheme according to a comparison result.
According to yet another aspect of the present invention, there is provided a computing 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 used for storing at least one executable instruction, and the executable instruction enables the processor to execute the operation corresponding to the telephone traffic resource sharing method.
According to still another aspect of the present invention, there is provided a computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the traffic resource sharing method described above.
According to the telephone traffic resource sharing method, the telephone traffic resource sharing device, the computing equipment and the storage medium, the sharing group relation, the member states of all the sub-members corresponding to the sharing group relation, the shared resource purchase information of all the sub-members and the used sharing information of all the sub-members are acquired from a service operation support system; receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request; if the matched shared group relation is found, calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation; and comparing the amount of the shared resources used by the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result. The invention records the sub-members with the shared group relation through the shared group relation in the service operation support system, further compares the used shared resource quantity with the group resource capacity, can accurately calculate the used shared resource quantity and the group resource capacity of the shared group, realizes the accurate determination of the dialogue single-price scheme based on the calculation result, and performs price-rating processing by adopting a telephone traffic resource sharing mode under the condition of determining that the shared resource quantity in the shared group is not saturated and has resource sharing conditions, thereby realizing flexible telephone traffic resource sharing.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred 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 chart of a traffic resource sharing method provided by an embodiment of the present invention;
fig. 2 shows a schematic structural diagram of a traffic resource sharing device according to an embodiment of the present invention;
FIG. 3 illustrates a schematic diagram of a computing device provided by 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. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
Fig. 1 shows a flow chart of an embodiment of a traffic resource sharing method according to the present invention, as shown in fig. 1, the method comprises the following steps:
step S110: the method comprises the steps of collecting a shared group relation, member states of all sub-members corresponding to the shared group relation, shared resource purchase information of all the sub-members and used shared information of all the sub-members from a service operation support system.
In this step, the service operation support system collects the sharing group relationship in real time, for example, the sharing group relationship, the member status of each sub-member corresponding to the sharing group relationship, the shared resource purchase information of each sub-member, and the used shared information of each sub-member are collected through Customer Relationship Management (CRM) of an operator or service operation support system (BOSS), where the shared resource may include GPRS data traffic, voice passing, sms, and the like, in this embodiment, each sub-member in the group may purchase the shared resource, and each sub-member may use the shared resource purchased by each other. In an alternative way, the collected shared group relationship and the used shared information can be recorded into a shared relationship register; recording the member states of all the child members into a state register; and recording the shared resource purchase information into the group resource container unit, and correcting the shared resource purchase information in the group resource container unit according to the change of the member state when the member state of any sub-member is changed. Taking GPRS data traffic as an example, table 1 is an information table stored in a shared relation register:
shared group identification (group_id) Number (msisdn) Child member roles Shared information has been used
114000001 msisdn_A 10001 PA1(100);PA2(100);PB1(100);PB2(100)
114000001 msisdn_B 10002 PA1(100);PB1(50);
114000001 msisdn_C 10002 PB1(100);PB2(10);
114000002 msisdn_D 10001 PD1(150);PE1(150)
114000002 msisdn_E 10002 PD1(150);PE1(50);
114000002 msisdn_F 10002 PD1(100);PE2(80);
…… …… …… ……
Table 1 information table stored in shared relation register
As shown in table 1, each sharing group has a unique sharing group identifier (group_id), and the roles of the sub-members include 10001 and 10002, where 10001 represents the first initiation and construction of the sub-members of the sharing group, and it should be specifically noted that in this embodiment, there is no physical or logical primary-secondary card relationship between the plurality of sub-members; the used shared information comprises shared resource purchase information and specific usage sequence of each sub-member in the used shared group. Such as: "PA1 (100)" in Table 1; PA2 (100); PB1 (100); PB2 (100) "indicates that the used sharing information of the child member msisdn_A includes: PA1 (100), PA2 (100), PB1 (100), and PB2 (100); where PA1 (100) represents a first shared traffic package 100M subscribed to using child msisdn_a, PA2 (100) represents a second shared traffic package 100M subscribed to using child msisdn_a, pb1 (100) represents a first shared traffic package 100M subscribed to using child msisdn_b, and pb2 (100) represents a second shared traffic package 100M subscribed to using child msisdn_b.
In an alternative manner, when the member status of any child member changes, correcting the shared resource purchase information in the group resource container unit according to the change of the member status further includes: updating the correction identification, the correction resource sequence and the correction resource capacity sequence in the group resource container unit according to the change of the member state of the child member.
In an alternative manner, updating the revision identification, the revision resource sequence, and the revision resource capacity sequence in the group resource container unit based on the change in the member state of the child member further includes: if the member state of the sub member is changed from the normal state to the abnormal state, updating the correction identifier to a first identifier, deleting the shared resource purchased by the sub member from the resource sequence in the group resource container unit, synchronizing the shared resource to the correction resource sequence, replacing the resource capacity corresponding to the shared resource purchased by the sub member in the resource capacity sequence by using the used quantity of the shared resource purchased by the sub member, and synchronizing the shared resource to the correction resource capacity sequence; if the member state of the child member is changed from the abnormal state to the normal state, adding the shared resource purchased by the child member to the corrected resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the corrected resource sequence; if the corrected resource sequence is consistent with the corrected resource capacity sequence, the corrected resource sequence and the corrected resource capacity sequence are emptied, and the corrected identifier is updated to be a second identifier; if the shared resources are inconsistent, the used amount of the shared resources purchased by the child member in the modified resource capacity sequence is replaced by the resource capacity corresponding to the shared resources purchased by the child member. The used amount of the shared resource purchased by the child member is calculated according to the used shared information of the shared resource purchased by each child member for the child member.
Table 2 is a data table recorded in a group resource container unit, and as shown in table 2, the shared group relationship is acquired in real time from the service operation support system, wherein the shared group relationship comprises a shared group identifier, a resource sequence and a resource capacity sequence; taking the shared group shown in table 2 as an example, the shared group identifier is 114000001, where the resource sequence includes PA1; PA2; PB1; PB2, where PA1 represents a first shared traffic package subscribed to by the child msisdn_A, PA2 represents a second shared traffic package subscribed to by the child msisdn_A, PB1 represents a first shared traffic package subscribed to by the child msisdn_B, PB2 represents a second shared traffic package subscribed to by the child msisdn_B; the resource capacity sequence comprises (200); (100); (250); (150) representing the resource sequence PA1; PA2; PB1; the sequence of resource capacities corresponding to PB2, for example, (200) indicates that the resource capacity of the first shared traffic package subscribed to by child member msisdn_a is 200M. For another example, taking a sharing group with a sharing group identifier 114000002 as an example, the shared resources purchased by the child members, namely the shared resources PD1 subscribed by the child member msisdn_d and the shared resources PE1 and PE2 subscribed by the child member msisdn_e in sequence, are the resource sequences in the table; a resource capacity sequence (400); (200); (300) The resource capacity of the shared traffic packages subscribed to by the child member msisdn_d is 400M and the resource capacity of the shared traffic packages subscribed to by the child member msisdn_e is 200M and 300M, respectively.
Shared group identification Resource sequence Resource capacity sequence Correction mark Correcting resource sequences Correcting resource capacity sequences
114000001 PA1;PA2;PB1;PB2 (200);(100);(250);(150) Second sign (N) Empty space Empty space
114000002 PD1;PE1;PE2; (400);(200);(300) First oneIdentification (Y) PD1 (400);(100)
Table 2 data table recorded in group resource container unit
Further, the member states of all the sub-members in the shared group are collected in real time, and when the member state of any sub-member changes, the correction identification, the correction resource sequence and the correction resource capacity sequence in the group resource container unit are updated according to the change of the member state of the sub-member. If the member state of a certain sub member changes from the normal state to the abnormal state, determining the number (msisdn) of the sub member and the corresponding shared group identifier (group_id), extracting the resource sequence and the resource capacity sequence recorded in the group resource container unit in table 2, modifying the correction identifier of the group resource container unit, if the member state of the sub member changes from the normal state to the abnormal state, updating the correction identifier to the first identifier (identified by Y), for example, deleting the number of the sub member corresponding to the abnormal state and the purchased shared resource of the sub member in the group resource container unit, synchronizing to the correction resource sequence of table 2, and simultaneously subscribing the number corresponding to the sub member and the used shared resource of the shared group, replacing the resource capacity corresponding to the purchased shared resource of the sub member in the resource capacity sequence and synchronizing to the correction resource capacity sequence, as shown in the second line in table 2, wherein the number msisdn_e of the sub member changes from the normal state to the abnormal state, and the number msisdn_e of the sub member corresponding to the abnormal state is deleted, and the msisdn_e of the sub member is purchased to the shared resource sequence of table 2, "; (100) "in (100) represents the amount of shared resources in the shared group that have been used that are subscribed to by the child member msisdn_e. If the member state of the child member is changed from the abnormal state to the normal state, adding the shared resource purchased by the child member to the corrected resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the corrected resource sequence; if the corrected resource sequence and the corrected resource capacity sequence are consistent, the corrected resource sequence and the corrected resource capacity sequence are empty, and the corrected identifier is updated to be a second identifier (identified by N); if the shared resources are inconsistent, the used amount of the shared resources purchased by the child member in the modified resource capacity sequence is replaced by the resource capacity corresponding to the shared resources purchased by the child member.
Step S120: and receiving a resource use request initiated by the terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request.
In this step, the terminal initiates a resource usage request, taking the resource as the GPRS data traffic as an example, the number msisdn_x corresponding to the terminal pre-uses the GPRS data traffic service to initiate the GPRS data traffic resource usage request, according to the resource usage request and the number msisdn_x corresponding to the terminal, the sub-member role corresponding to the number msisdn_x is obtained, and according to the number msisdn_x and the sub-member role corresponding to the number msisdn_x, whether the shared group relationship matched with the number msisdn_x exists is searched from the shared relationship register.
Step S130: if the matched shared group relation is found, the amount of the used shared resources and the group resource capacity of the group are calculated according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation.
In an alternative manner, the method may further comprise: if the matched shared group relation is not found, a universal strategy is started to generate a universal resource ticket, and ticket pricing processing is carried out according to the universal resource ticket.
Specifically, if the shared group relationship matched with the number msisdn_x is not found in step S120, the universal policy is started to generate a universal resource ticket, that is, the universal resource ticket is generated in a non-sharing manner, and ticket pricing is performed according to the universal resource ticket; if step S120 finds the shared group relationship with the number msisdn_x, the Used shared resource amount Sum (Used) and the group resource capacity Sum (Prod) of the group are calculated according to the Used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relationship.
Specifically, assuming that three child members are included in the shared group, namely, child member msisdn_a, child member msisdn_b, and child member msisdn_c, the calculation formula of the shared resource amount Sum (Used) is as formula (1):
Sum(Used)=ΣPA(Used)+ΣPB(Used)+ΣPC(Used) (1)
wherein Σpa (Used) represents the sum of the amounts of shared resources purchased using the child member msisdn_a in the shared group, Σpb (Used) represents the sum of the amounts of shared resources purchased using the child member msisdn_b in the shared group, and Σpc (Used) represents the sum of the amounts of shared resources purchased using the child member msisdn_c in the shared group.
The calculation formula of the group resource capacity Sum (Prod) is as formula (2):
Sum(Prod)=ΣPA(Prod)+ΣPB(Prod)+ΣPC(Prod) (2)
where Σpa (Prod) represents the total amount of shared traffic packages subscribed to by the child member msisdn_a, i.e. the total amount of capacity of the shared resource purchased by the child member msisdn_a, and so on.
Step S140: and comparing the amount of the shared resources used by the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result.
In an alternative manner, step S140 further includes: judging whether the amount of the shared resource used by the group is smaller than the group resource capacity; if yes, starting a sharing strategy to generate a sharing resource ticket, and performing ticket pricing treatment according to the sharing resource ticket; if not, the universal strategy is started to generate the universal resource ticket, and ticket pricing processing is carried out according to the universal resource ticket.
Specifically, step S130 calculates the amount Sum (Used) of the group Used shared resources and the amount Sum (Prod) of the group resources, compares the amount Sum (Used) of the group Used shared resources with the amount Sum (Prod) of the group resources, and if Sum (Used) < Sum (Prod) indicates that the amount Sum (Prod) of the group shared resources is not Used, enables the sharing policy to generate a shared resource ticket, and performs ticket pricing processing according to the shared resource ticket; if Sum (Used) =sum (Prod), it indicates that the corresponding group shared resource capacity has been Used, the initiator of the current resource use request cannot use the group shared resource, and the universal policy is enabled to generate a universal resource ticket, and ticket pricing is performed according to the universal resource ticket.
In this step, the correction identifier is first determined, and if the correction identifier is a first identifier (identified by Y), a Sum (Used) corresponding to the shared group to which the source of the resource use request matches is compared with a Sum (Prod) of capacities in the corrected resource capacity sequence, and if the correction identifier is a second identifier (identified by N), a Sum (Used) corresponding to the shared group to which the source of the resource use request matches is compared with a Sum (Prod) of capacities in the resource capacity sequence, that is, it is determined whether the resource capacity corresponding to the shared resource of the current shared group has been Used.
Specifically, the member states (states) of all the sub-members in the shared group are collected in real time, wherein the member states are binarized, the normal state is 1, the abnormal state (abnormal states such as single stop, double stop and pre-sale) is 0, further, the shared resource quantity and the group resource capacity of the group are compared with each other through a state information difference value (delta state) and a correction mark division scene, for example, if the current correction mark is N mark, delta state= -1 (the member states of the members in the shared group are changed from 0 to 1), namely, the member states of all the sub-members in the shared group at the previous moment are normal states, the correction resource sequence is a sequence after the original resource sequence eliminates the resources ordered by the sub-members with the member states in the abnormal state, and similarly, the correction resource capacity sequence is a sequence after the original resource capacity sequence eliminates the resource capacity ordered by the sub-members with the member states in the abnormal state, and the correction mark is Y; if the current correction mark is Y, delta state= -1, namely the shared group is corrected by the correction mark immediately before, the current correction resource sequence is reassigned to the correction resource sequence after eliminating the resources of the sub-members with the member states in the abnormal state, and similarly, the current correction resource capacity sequence is reassigned to the correction resource capacity sequence after eliminating the resource capacity ordered by the sub-members with the member states in the abnormal state; if the current correction identifier is Y and delta state=1, that is, the correction identifier has been corrected immediately before the shared group, the current correction resource sequence is reassigned to the correction resource sequence after the corrected sub-member resource is added, whether the correction resource sequence is consistent with the resource sequence or not is verified, if so, the correction resource sequence and the correction resource capacity sequence are empty, and the correction identifier is set as N; if the current corrected resource capacity sequence is inconsistent, the resource capacity ordered by the corrected child member is added to the corrected resource capacity sequence, and then the corrected resource capacity sequence is reassigned.
By adopting the method provided by the embodiment, the shared group relation, the member states of all the sub-members corresponding to the shared group relation, the shared resource purchase information of all the sub-members and the used shared information of all the sub-members are acquired from the service operation support system; receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request; if the matched shared group relation is found, calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation; the method comprises the steps of comparing the amount of used shared resources of a group with the capacity of the group resources, starting a sharing strategy to generate a shared resource ticket according to a comparison result, thereby realizing the bidirectional sharing of ordered shared resources among sub-members with shared group relations, solving the current situation that only a sub-card can unidirectionally share traffic resources of a main card in the prior art, ensuring that the shared resources are bidirectionally used among the sub-members of the shared group to maximize benefits of users, modifying the modified identification of the sub-members with the shared group relations and the purchased shared resources of the sub-members with the abnormal states after abnormal states are caused by arrears, reporting and stopping and the like by introducing a modified identification, synchronizing to a modified resource sequence, avoiding the situation that the sub-members enter the abnormal states and cannot use resources due to arrears and the like, but the sub-members with the abnormal states can still provide the shared resources for other members to use to cause the damaged benefits of operators, improving the charging strategy and optimizing the charging strategy.
Fig. 2 is a schematic structural diagram of an embodiment of a traffic resource sharing device according to the present invention. As shown in fig. 2, the apparatus includes: an information acquisition module 210, an information recording module 220, a search module 230, a calculation module 240 and a processing module 250.
The information collection module 210 is adapted to collect the shared group relationship, the member status of each sub-member corresponding to the shared group relationship, the shared resource purchase information of each sub-member, and the used shared information of each sub-member from the service operation support system.
In an alternative manner, the apparatus may further comprise an information recording module 220 adapted to record the shared group relationship and the used shared information into a shared relationship register; recording the member states of all the child members into a state register; and recording the shared resource purchase information into the group resource container unit, and correcting the shared resource purchase information in the group resource container unit according to the change of the member state when the member state of any sub-member is changed.
In an alternative way, the information recording module 220 is further adapted to: updating the correction identification, the correction resource sequence and the correction resource capacity sequence in the group resource container unit according to the change of the member state of the child member.
In an alternative way, the information recording module 220 is further adapted to: if the member state of the sub member is changed from the normal state to the abnormal state, updating the correction identifier to a first identifier, deleting the shared resource purchased by the sub member from the resource sequence in the group resource container unit, synchronizing the shared resource to the correction resource sequence, replacing the resource capacity corresponding to the shared resource purchased by the sub member in the resource capacity sequence by using the used quantity of the shared resource purchased by the sub member, and synchronizing the shared resource to the correction resource capacity sequence; if the member state of the child member is changed from the abnormal state to the normal state, adding the shared resource purchased by the child member to the corrected resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the corrected resource sequence; if the corrected resource sequence is consistent with the corrected resource capacity sequence, the corrected resource sequence and the corrected resource capacity sequence are emptied, and the corrected identifier is updated to be a second identifier; if the shared resources are inconsistent, the used amount of the shared resources purchased by the child member in the modified resource capacity sequence is replaced by the resource capacity corresponding to the shared resources purchased by the child member.
In an alternative approach, the used amount of the shared resource purchased by the child member is calculated from the used sharing information of the shared resource purchased by each child member for the child member.
The searching module 230 is adapted to receive a resource usage request initiated by the terminal, and search whether there is a matched shared group relationship from the shared group relationships according to the resource usage request.
The calculating module 240 is adapted to calculate the amount of the used shared resources and the group resource capacity according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relationship if the matched shared group relationship is found.
The processing module 250 is adapted to compare the amount of the shared resources used by the group with the capacity of the group resources, and determine a ticket pricing scheme according to the comparison result.
In an alternative manner, the processing module 250 is further adapted to determine whether the amount of shared resources used by the group is less than the group resource capacity; if yes, starting a sharing strategy to generate a sharing resource ticket, and performing ticket pricing treatment according to the sharing resource ticket; if not, the universal strategy is started to generate the universal resource ticket, and ticket pricing processing is carried out according to the universal resource ticket.
In an alternative, the processing module 250 is further adapted to: if the matched shared group relation is not found, a universal strategy is started to generate a universal resource ticket, and ticket pricing processing is carried out according to the universal resource ticket.
By adopting the device provided by the embodiment, the shared group relation, the member states of all the sub-members corresponding to the shared group relation, the shared resource purchase information of all the sub-members and the used shared information of all the sub-members are acquired from the service operation support system; receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request; if the matched shared group relation is found, calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation; the method comprises the steps of comparing the amount of used shared resources of a group with the capacity of the group resources, enabling a sharing strategy to generate a shared resource ticket according to a comparison result, thereby realizing the bidirectional sharing of ordered shared resources among sub-members with shared group relations, solving the current situation that only a sub-card can unidirectionally share traffic resources of a main card in the prior art, ensuring that the shared resources are used bidirectionally among the sub-members of the shared group to maximize benefits of users, modifying the modified identification of the sub-members with the shared group relations after the states of the sub-members with the shared group relations are abnormal due to reasons such as arrears, reporting and stopping, synchronizing the purchased shared resources of the sub-members to a modified resource sequence, avoiding the situation that the sub-members enter the abnormal state and cannot use resources due to arrears and the like, but improving the fairness of charging strategy and optimizing the charging strategy due to the fact that the sub-members with the abnormal state can still provide the service benefits of other members to the operators.
The embodiment of the invention provides a non-volatile computer storage medium, which stores at least one executable instruction, and the computer executable instruction can execute the telephone traffic resource sharing method in any of the method embodiments.
The executable instructions may be particularly useful for causing a processor to:
collecting a shared group relation, member states of all sub-members corresponding to the shared group relation, shared resource purchase information of all the sub-members and used shared information of all the sub-members from a service operation support system;
receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request;
if the matched shared group relation is found, calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation;
and comparing the amount of the shared resources used by the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result.
FIG. 3 illustrates a schematic diagram of an embodiment of a computing device of the present invention, and the embodiments of the present invention are not limited to a particular implementation of the computing device.
As shown in fig. 3, the computing device may include:
a processor (processor), a communication interface (Communications Interface), a memory (memory), and a communication bus.
Wherein: the processor, communication interface, and memory communicate with each other via a communication bus. A communication interface for communicating with network elements of other devices, such as clients or other servers, etc. And the processor is used for executing programs, and can specifically execute relevant steps in the traffic resource sharing method embodiment.
In particular, the program may include program code including computer-operating instructions.
The processor may be a central processing unit, CPU, or 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 by the server 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.
And the memory is used for storing programs. The memory may comprise high-speed RAM memory or may further comprise non-volatile memory, such as at least one disk memory.
The program may be specifically operative to cause the processor to:
collecting a shared group relation, member states of all sub-members corresponding to the shared group relation, shared resource purchase information of all the sub-members and used shared information of all the sub-members from a service operation support system;
receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request;
if the matched shared group relation is found, calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation;
and comparing the amount of the shared resources used by the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result.
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. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
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, furthermore, 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.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments can be used in any combination.
Various component embodiments of the invention may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that some or all of the functionality of some or all of the components according to embodiments of the present invention may be implemented in practice using a microprocessor or Digital Signal Processor (DSP). The present invention can also be implemented as an apparatus or device program (e.g., a computer program and a computer program product) for performing a portion or all of the methods described herein. Such a program embodying the present invention may be stored on a computer readable medium, or may have the form of one or more signals. Such signals may be downloaded from an internet website, provided on a carrier signal, or provided in any other form.
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 (8)

1. A traffic resource sharing method, comprising:
collecting a shared group relation, member states of all sub-members corresponding to the shared group relation, shared resource purchase information of all the sub-members and used shared information of all the sub-members from a service operation support system; recording the shared resource purchase information into a group resource container unit, and correcting the shared resource purchase information in the group resource container unit according to the change of the member state when the member state of any sub-member is changed;
receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request;
if the matched shared group relation is found, calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation;
comparing the amount of the shared resources used by the group with the group resource capacity, and determining a ticket pricing scheme according to a comparison result;
wherein said modifying said shared resource purchase information in said group resource container unit according to a change in said member status comprises at least: updating the correction identifier, the correction resource sequence and the correction resource capacity sequence in the group resource container unit according to the change of the member state of the child member; if the member state of the child member is changed from the normal state to the abnormal state, updating the correction identifier to a first identifier, deleting the shared resource purchased by the child member from the resource sequence in the group resource container unit, synchronizing the shared resource to the correction resource sequence, replacing the resource capacity corresponding to the shared resource purchased by the child member in the resource capacity sequence by using the used quantity of the shared resource purchased by the child member, and synchronizing the shared resource to the correction resource capacity sequence; if the member state of the child member is changed from the abnormal state to the normal state, adding the shared resource purchased by the child member into the corrected resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the corrected resource sequence; if the corrected resource sequence is consistent with the corrected resource capacity sequence, the corrected resource sequence and the corrected resource capacity sequence are emptied, and the corrected identifier is updated to be a second identifier; and if the shared resources are inconsistent, replacing the used quantity of the shared resources purchased by the child member in the modified resource capacity sequence with the resource capacity corresponding to the shared resources purchased by the child member.
2. The method of claim 1, wherein after the collecting the shared group relationship, the member status of each child member corresponding to the shared group relationship, the shared resource purchase information of each child member, and the used shared information of each child member from the service operation support system, the method further comprises:
recording the shared group relationship and the used shared information into a shared relationship register;
the member states of the sub-members are recorded into a state register.
3. The method of claim 2, wherein the used amount of the shared resource purchased by the child member is calculated based on the used sharing information of the shared resource purchased by each child member for the child member.
4. The method according to claim 1, wherein the method further comprises: if the matched shared group relation is not found, a universal strategy is started to generate a universal resource ticket, and ticket pricing processing is carried out according to the universal resource ticket.
5. The method of any of claims 1-4, wherein the comparing the amount of shared resources used by the group with the group resource capacity, and determining a ticket pricing proposal based on the comparison further comprises:
judging whether the amount of shared resources used by the group is smaller than the group resource capacity;
if yes, starting a sharing strategy to generate a sharing resource ticket, and performing ticket pricing processing according to the sharing resource ticket;
if not, the universal strategy is started to generate the universal resource ticket, and ticket pricing processing is carried out according to the universal resource ticket.
6. A traffic resource sharing apparatus, comprising:
the information acquisition module is suitable for acquiring the sharing group relation, the member states of all the sub-members corresponding to the sharing group relation, the shared resource purchase information of all the sub-members and the used sharing information of all the sub-members from the service operation support system;
the information recording module is suitable for recording the shared resource purchasing information into a group resource container unit, and correcting the shared resource purchasing information in the group resource container unit according to the change of the member state when the member state of any sub member is changed;
the searching module is suitable for receiving a resource use request initiated by a terminal, and searching whether a matched shared group relationship exists or not from the shared group relationship according to the resource use request;
the calculation module is suitable for calculating the amount of the used shared resources and the group resource capacity of the group according to the used shared information and the shared resource purchase information of each sub-member corresponding to the matched shared group relation if the matched shared group relation is found;
the processing module is suitable for comparing the used shared resource quantity of the group with the group resource capacity and determining a ticket pricing proposal according to a comparison result;
the information recording module is further configured to: updating the correction identifier, the correction resource sequence and the correction resource capacity sequence in the group resource container unit according to the change of the member state of the child member; if the member state of the sub-member is changed from the normal state to the abnormal state, updating the correction identifier to a first identifier, deleting the shared resource purchased by the sub-member from the resource sequence in the group resource container unit, synchronizing the shared resource to the correction resource sequence, replacing the resource capacity corresponding to the shared resource purchased by the sub-member in the resource capacity sequence by using the used quantity of the shared resource purchased by the sub-member, and synchronizing the shared resource to the correction resource capacity sequence; if the member state of the child member is changed from the abnormal state to the normal state, adding the shared resource purchased by the child member into the corrected resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the corrected resource sequence; if the corrected resource sequence is consistent with the corrected resource capacity sequence, the corrected resource sequence and the corrected resource capacity sequence are emptied, and the corrected identifier is updated to be a second identifier; and if the shared resources are inconsistent, replacing the used quantity of the shared resources purchased by the child member in the modified resource capacity sequence with the resource capacity corresponding to the shared resources purchased by the child member.
7. A computing 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, where the executable instruction causes the processor to perform operations corresponding to the traffic resource sharing method according to any one of claims 1-5.
8. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the traffic resource sharing method of any of claims 1-5.
CN202010504285.8A 2020-06-05 2020-06-05 Telephone traffic resource sharing method and device, computing equipment and storage medium Active CN113766442B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010504285.8A CN113766442B (en) 2020-06-05 2020-06-05 Telephone traffic resource sharing method and device, computing equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010504285.8A CN113766442B (en) 2020-06-05 2020-06-05 Telephone traffic resource sharing method and device, computing equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113766442A CN113766442A (en) 2021-12-07
CN113766442B true CN113766442B (en) 2023-10-27

Family

ID=78783950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010504285.8A Active CN113766442B (en) 2020-06-05 2020-06-05 Telephone traffic resource sharing method and device, computing equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113766442B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083050A (en) * 2009-11-27 2011-06-01 中国移动通信集团浙江有限公司 Method, system and charging subsystem for sharing free resource in group users
JP2013239109A (en) * 2012-05-17 2013-11-28 Nec Corp Information processing system, base device, information terminal, information processing method, and information processing program
CN104955015A (en) * 2014-03-27 2015-09-30 中国移动通信集团安徽有限公司 Method and device for sharing communication resources
CN106982126A (en) * 2016-01-18 2017-07-25 中国移动通信集团重庆有限公司 A kind of resource-sharing charging method and message accounting, memory bank
WO2018118633A1 (en) * 2016-12-23 2018-06-28 Alcatel-Lucent Usa Inc. Charging for usage of radio resources that are shared between mtc traffic and non-mtc traffic
CN109151238A (en) * 2017-06-14 2019-01-04 西安优庆商贸有限公司 Communication resource sharing means
CN110324801A (en) * 2018-03-30 2019-10-11 华为技术有限公司 The method and apparatus of charging

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102083050A (en) * 2009-11-27 2011-06-01 中国移动通信集团浙江有限公司 Method, system and charging subsystem for sharing free resource in group users
JP2013239109A (en) * 2012-05-17 2013-11-28 Nec Corp Information processing system, base device, information terminal, information processing method, and information processing program
CN104955015A (en) * 2014-03-27 2015-09-30 中国移动通信集团安徽有限公司 Method and device for sharing communication resources
CN106982126A (en) * 2016-01-18 2017-07-25 中国移动通信集团重庆有限公司 A kind of resource-sharing charging method and message accounting, memory bank
WO2018118633A1 (en) * 2016-12-23 2018-06-28 Alcatel-Lucent Usa Inc. Charging for usage of radio resources that are shared between mtc traffic and non-mtc traffic
CN109151238A (en) * 2017-06-14 2019-01-04 西安优庆商贸有限公司 Communication resource sharing means
CN110324801A (en) * 2018-03-30 2019-10-11 华为技术有限公司 The method and apparatus of charging

Also Published As

Publication number Publication date
CN113766442A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN108711047B (en) Automatic repayment method, system and terminal equipment
CN103959753B (en) Advising for the sales promotion used based on subscriber
CN108112038B (en) Method and device for controlling access flow
WO2020244230A1 (en) Resource transfer method, apparatus and device, and red packet issuing method, apparatus and device
CN111461763A (en) Resource allocation method and device
CN106096926B (en) Event processing method, device, electronic device and storage medium
CN111709777A (en) Payment mode recommendation method, system, terminal device and storage medium
CN111681071A (en) Sub-cost data generation system and method, storage medium, and electronic device
CN113518117A (en) ETC transaction recommendation method, bank server, computer device and medium
CN113766442B (en) Telephone traffic resource sharing method and device, computing equipment and storage medium
CN110084897B (en) Charging method, system, device and computer readable storage medium
CN108876339B (en) E-pet transaction method and device based on certificate
CN110297824B (en) Data recording method, device, equipment and storage medium based on resource transfer
CN112101745A (en) Vehicle release prompting method and device, terminal device and storage medium
CN116415747A (en) Method and device for determining carpooling route and electronic equipment
CN110969493A (en) Bill amount determining method and device, electronic equipment and storage medium
CN111481107A (en) Positioning method and device of charging seat of sweeper, computing equipment and storage medium
CN111339468B (en) Information pushing method, device, electronic equipment and storage medium
CN110662188B (en) Charging method and system
CN108846702B (en) Electronic pet transaction method and device based on user points
CN114205764B (en) Traffic resource sharing method, device, equipment and computer readable storage medium
CN113824847B (en) Method and device for determining charging abnormality, computing equipment and computer storage medium
CN111652745B (en) System, method, electronic device and storage medium for managing insurance waiting period
CN110533497A (en) Order generation method and system, electronic equipment and storage medium
CN110717077B (en) Resource scoring and processing method and device, electronic equipment and medium

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