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

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

Info

Publication number
CN113766442A
CN113766442A CN202010504285.8A CN202010504285A CN113766442A CN 113766442 A CN113766442 A CN 113766442A CN 202010504285 A CN202010504285 A CN 202010504285A CN 113766442 A CN113766442 A CN 113766442A
Authority
CN
China
Prior art keywords
resource
group
shared
sharing
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.)
Granted
Application number
CN202010504285.8A
Other languages
Chinese (zh)
Other versions
CN113766442B (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

Images

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

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 method comprises the following steps: collecting sharing group relation, member state of each corresponding sub-member, shared resource purchasing information of each sub-member and used sharing information of each sub-member; searching whether a matched sharing group relation exists in the sharing group relation or not according to the resource use request; if the matched shared group relationship is found, calculating the used shared resource amount and the used group resource capacity of the group; and comparing the used shared resource quantity of 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 sharing group relation through the sharing group relation in the service operation support system, compares the used sharing resource quantity with the group resource capacity, and combines the comparison result to realize flexible telephone traffic resource sharing.

Description

Telephone traffic resource sharing method, device, computing equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for sharing traffic resources, a computing device, and a storage medium.
Background
As more and more mobile terminal users are available, there are many individual demands for various communication resources provided by operators. In order to maximize resource utilization, users have been increasingly demanding to share the traffic resources, especially data traffic and voice, contained in the ordered packages in recent years.
The existing operator telephone traffic resource sharing is realized mostly in a one-way sharing mode that other number cards are bound as auxiliary cards through a number card of a main control end, the auxiliary cards share resources of a main card, or a sharing value of each member is preset when a group orders shared resources, and the members share monthly fees of service packages in proportion. However, if the method is a one-way sharing mode in which the main card and the auxiliary card share the main card resource, because the main card cannot share the auxiliary card member subscription resource, the use of the telephone traffic resource of the main card is saturated, but when the telephone traffic resource of the auxiliary card member is left, the group cannot benefit to maximally enjoy the resource; if the sharing value of each member is preset when the shared resource is ordered for the group, the group members pay monthly fee for the package according to the preset resource sharing threshold and the actual shared resource proportion, resource waste caused by unreasonable setting of the sharing threshold due to sudden change of the telephone traffic state of the members is easy to occur, and the problem that the user benefit of the telephone traffic resource in the shared group cannot be used to the maximum extent occurs.
Disclosure of Invention
In view of the above, the present invention has been made to provide a traffic resource sharing method, apparatus, computing device and storage medium that overcome or at least partially address the above-mentioned problems.
According to an aspect of the present invention, there is provided a traffic resource sharing method, including:
collecting a sharing group relationship, a member state of each sub-member corresponding to the sharing group relationship, shared resource purchasing information of each sub-member and used sharing information of each sub-member from a service operation support system;
receiving a resource use request initiated by a terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request;
if the matched sharing group relationship is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relationship; and comparing the used shared resource amount of the group with the group resource capacity, and determining a ticket pricing scheme according to the 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 a sharing group relationship, the member state of each sub-member corresponding to the sharing group relationship, the shared resource purchasing information of each sub-member and the used shared information of each sub-member from a service operation support system;
the searching module is suitable for receiving a resource using request initiated by a terminal and searching whether a matched sharing group relation exists in the sharing group relation or not according to the resource using request;
the computing module is suitable for computing the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched shared group relationship if the matched shared group relationship is found;
and the processing module is suitable for comparing the used shared resource amount of the group with the group resource capacity and determining a ticket pricing scheme according to the comparison result.
According to yet another aspect of the present invention, there is provided a computing device comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication 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 traffic resource sharing method.
According to yet another aspect of the present invention, a computer storage medium is provided, where at least one executable instruction is stored, and the executable instruction causes a processor to perform operations corresponding to the traffic resource sharing method.
According to the traffic resource sharing method, the traffic resource sharing device, the computing equipment and the storage medium, the sharing group relationship, the member state of each sub-member corresponding to the sharing group relationship, the shared resource purchasing information of each sub-member and the used sharing information of each sub-member are collected from the traffic operation support system; receiving a resource use request initiated by a terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request; if the matched sharing group relationship is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relationship; and comparing the used shared resource quantity of 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 sharing group relationship through the sharing group relationship 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 sharing group, realizes the accurate determination of the conversation single pricing scheme based on the calculation result, and adopts the telephone traffic resource sharing mode to carry out pricing processing under the condition of determining that the shared resource quantity in the sharing group is not saturated and has the resource sharing condition, thereby realizing flexible telephone traffic resource sharing.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
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 refer to like parts throughout the drawings. In the drawings:
fig. 1 is a flow chart of a traffic resource sharing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram illustrating a traffic resource sharing apparatus according to an embodiment of the present invention;
fig. 3 is a schematic structural 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 invention are shown in the drawings, it should be understood that the invention can 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 of the present invention, as shown in fig. 1, the method includes the following steps:
step S110: and acquiring the sharing group relationship, the member state of each sub-member corresponding to the sharing group relationship, the shared resource purchasing information of each sub-member and the used sharing information of each sub-member from the service operation support system.
In this step, the sharing group relationship is collected in real time from the service operation support system, 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) or service operation support system (BOSS) of the operator, where the shared resource may include GPRS data traffic, voice traffic, short multimedia messages, and the like. In an optional mode, the collected sharing group relationship and the used sharing information can be recorded in a sharing relationship register; recording the member state of each sub-member into a state register; and recording the shared resource purchasing information into the group resource container unit, and correcting the shared resource purchasing information in the group resource container unit according to the member state change when the member state of any sub-member changes. Taking GPRS data traffic as an example, table 1 is an information table stored in a sharing relationship register:
sharing group identification (group _ id) Number (msisdn) Child role Used shared information
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 table of information stored in shared relational register
As shown in table 1, each sharing group has a unique sharing group identifier (group _ id), and the roles of the child members include 10001, 10002, etc., where 10001 represents a child member that initiates and establishes a sharing group for the first time, and it should be specifically noted that, in this embodiment, there is no physical or logical primary-secondary card relationship between multiple child members; the used shared information includes the purchase information of the shared resource and the specific usage sequence of each sub-member in the used shared group. Such as: "PA 1(100) in table 1; PA2 (100); PB1 (100); PB2(100) "shows that the used shared 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 with sub-member msisdn _ a, PA2(100) represents a second shared traffic package 100M subscribed with sub-member msisdn _ a, PB1(100) represents a first shared traffic package 100M subscribed with sub-member msisdn _ B, and PB2(100) represents a second shared traffic package 100M subscribed with sub-member msisdn _ B.
In an optional manner, when the member status of any of the child members changes, modifying the shared resource purchase information in the group resource container unit according to the change of the member status further includes: and 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.
In an optional manner, the updating the modified identifier, the modified resource sequence, and the modified resource capacity sequence in the group resource container unit according to the change of the member status of the child member further includes: if the member state of the child member changes from the normal state to the abnormal state, updating the correction identifier to be the first identifier, deleting the shared resources purchased by the child member from the resource sequence in the group resource container unit and synchronizing to the correction resource sequence, replacing the resource capacity corresponding to the shared resources purchased by the child member in the resource capacity sequence by using the used amount of the shared resources purchased by the child member and synchronizing to the correction resource capacity sequence; if the member state of the sub-member changes from the abnormal state to the normal state, adding the shared resource purchased by the sub-member into the modified resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the modified resource sequence; if the corrected resource sequence is consistent with the corrected resource capacity sequence, emptying the corrected resource sequence and the corrected resource capacity sequence, and updating the corrected identifier into a second identifier; and if the resource capacity sequence is not consistent with the preset resource capacity sequence, replacing the used amount of the shared resource purchased by the child member in the corrected resource capacity sequence with the resource capacity corresponding to the shared resource purchased by the child member. And calculating the used amount of the shared resource purchased by the child member 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 the group resource container unit, and as shown in table 2, the sharing group relationship is collected in real time from the service operation support system, where the sharing group relationship includes a sharing group identifier, a resource sequence, and a resource capacity sequence; take the sharing group identified as 114000001 shown in table 2 as an example, wherein the resource sequence includes PA 1; PA 2; PB 1; PB2, where PA1 represents the first shared traffic package subscribed by sub-member msisdn _ a, PA2 represents the second shared traffic package subscribed by sub-member msisdn _ a, PB1 represents the first shared traffic package subscribed using sub-member msisdn _ B, and PB2 represents the second shared traffic package subscribed using sub-member msisdn _ B; the sequence of resource capacities comprises (200); (100) (ii) a (250) (ii) a (150) Denotes the above resource sequence PA 1; PA 2; PB 1; the resource capacity sequence corresponding to PB2, for example, (200) indicates that the resource capacity of the first shared traffic package subscribed to by the sub-member msisdn _ a is 200M. As another example, taking the sharing group with the sharing group id of 114000002 as an example, the shared resource purchased by the child member is the shared resource PD1 ordered by the child member msisdn _ D in the resource sequence of the table, and the shared resources PE1 and PE2 ordered by the child member msisdn _ E in sequence; a sequence of resource capacities (400); (200) (ii) a (300) The resource capacity of the shared traffic package subscribed to represent the sub-member msisdn _ D is 400M, and the resource capacity of the shared traffic package subscribed to the sub-member msisdn _ E is 200M and 300M, respectively.
Shared group identification Resource sequence Resource capacity sequence Correction mark Modifying resource sequences Correcting resource capacity sequences
114000001 PA1;PA2;PB1;PB2 (200);(100);(250);(150) Second label (N) Air conditioner Air conditioner
114000002 PD1;PE1;PE2; (400);(200);(300) First mark (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 sharing group are collected in real time, and when the member state of any sub-member changes, the correction identifier, 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 status of a certain sub-member changes from normal status to abnormal status, defining the number (msisdn) and the corresponding sharing group identifier (group _ id) of the sub-member, extracting the resource sequence and the resource capacity sequence recorded in the group resource container unit in table 2, modifying the modification identifier of the group resource container unit, if the member status of the sub-member changes from normal status to abnormal status, updating the modification identifier to the first identifier (Y identifier), for example, deleting the sub-member number corresponding to the abnormal status in the group resource container unit and the purchased sharing resource of the sub-member, synchronizing to the modification resource sequence of table 2, and simultaneously ordering the number corresponding to the sub-member and the used amount of the sharing resource used by the sharing group, replacing the resource capacity corresponding to the sharing resource purchased by the sub-member in the resource capacity sequence and synchronizing to the modification resource capacity sequence, as shown in the second row in table 2, the sub-member number msisdn _ E changes from the normal state to the abnormal state, and after the sub-member number msisdn _ E corresponding to the abnormal state in the group resource container unit and the shared resource purchased by the sub-member msisdn _ E are deleted, the modified resource sequence and the modified resource capacity sequence in table 2 are synchronized (400); (100) "in (100) indicates the amount of shared resources in the shared group that have been used, subscribed to by the child member msisdn _ E. If the member state of the sub-member changes from the abnormal state to the normal state, adding the shared resource purchased by the sub-member into the modified resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the modified resource sequence; if the corrected resource sequence is consistent with the corrected resource capacity sequence, emptying the corrected resource sequence and the corrected resource capacity sequence, and updating the corrected identifier into a second identifier (identified by N); and if the resource capacity sequence is not consistent with the preset resource capacity sequence, replacing the used amount of the shared resource purchased by the child member in the corrected resource capacity sequence with the resource capacity corresponding to the shared resource purchased by the child member.
Step S120: and receiving a resource use request initiated by the terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request.
In this step, a terminal initiates a resource use request, taking the resource as GPRS data traffic as an example, a number msisdn _ X corresponding to the terminal pre-uses GPRS data traffic service to initiate a GPRS data traffic resource use request, obtains a sub-member role corresponding to the number msisdn _ X according to the resource use request and the number msisdn _ X corresponding to the terminal, and searches whether a sharing group relationship matching the number msisdn _ X exists from a sharing relationship register according to the number msisdn _ X and the sub-member role corresponding to the number msisdn _ X.
Step S130: and if the matched sharing group relation is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relation.
In an optional manner, the method may further include: and if the matched sharing group relation is not found, starting a general strategy to generate a general resource ticket, and performing ticket pricing treatment according to the general resource ticket.
Specifically, if the shared group relationship matching the number msisdn _ X is not found in step S120, a general policy is started to generate a general resource ticket, that is, the general resource ticket is generated in a non-shared manner, and ticket pricing is performed according to the general resource ticket; if the step S120 finds the sharing group relationship matching 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 matching sharing group relationship.
Specifically, assuming that the shared group includes three sub-members, namely, a sub-member msisdn _ a, a sub-member msisdn _ B, and a sub-member msisdn _ C, the calculation formula of the used shared resource amount sum (used) is as in formula (1):
Sum(Used)=ΣPA(Used)+ΣPB(Used)+ΣPC(Used) (1)
where Σ pa (used) represents the sum of the amount of shared resources in the shared group that have been purchased using the sub-member msisdn _ a, Σ pb (used) represents the sum of the amount of shared resources in the shared group that have been purchased using the sub-member msisdn _ B, and Σ pc (used) represents the sum of the amount of shared resources in the shared group that have been purchased using the sub-member msisdn _ C.
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 the shared traffic package ordered by the sub-member msisdn _ a, i.e., the total amount of capacity of the shared resource purchased by the sub-member msisdn _ a, and so on.
Step S140: and comparing the used shared resource quantity of the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result.
In an optional manner, step S140 further includes: judging whether the used shared resource amount of the group is smaller than the group resource capacity; if yes, starting a sharing strategy to generate a shared resource ticket, and performing ticket pricing processing according to the shared resource ticket; if not, starting the general strategy to generate a general resource ticket, and performing ticket pricing processing according to the general resource ticket.
Specifically, step S130 calculates the amount of shared resources used by the group sum (used) and the group resource capacity sum (prod), compares the amount of shared resources used by the group sum (used) with the group resource capacity sum (prod), if sum (used) is less than sum (prod), it indicates that the corresponding group shared resource capacity has not been used, then starts a sharing policy to generate a shared resource ticket, and performs ticket pricing 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 can not use the group shared resource, and starts the general strategy to generate the general resource ticket, and according to the general resource ticket, the ticket pricing process is carried out.
In this step, the modified flag is first determined, if the modified flag is the first flag (denoted by Y), sum (used) corresponding to the sharing group matched to the initiator of the resource usage request is compared with sum of capacities sum (prod) in the modified resource capacity sequence, and if the modified flag is the second flag (denoted by N), sum (used) corresponding to the sharing group matched to the initiator of the resource usage request is compared with sum of capacities sum (prod) in the resource capacity sequence, that is, it is determined whether the resource capacity corresponding to the sharing resource of the current sharing group is used up.
Specifically, the member status (state) of each sub-member in the shared group is collected in real time, wherein the member status is binarized to be 1 for normal status and 0 for abnormal status (abnormal status such as single stop, double stop and pre-sale), and further, the used shared resource amount and the group resource capacity of the group are compared by status information difference (Δ state) and the correction identifier in different scenes, for example, if the current correction identifier is N identifier, Δ state is-1 (the member status of the member in the shared group is changed from 0 to 1), i.e. the member status of all sub-members in the shared group at the previous moment is normal status, the correction resource sequence is the sequence after the original resource sequence rejects the resource ordered by the sub-member whose member status is abnormal status, and similarly, the correction resource capacity sequence is the sequence after the original resource capacity sequence rejects the resource ordered by the sub-member whose member status is abnormal status, correcting the mark position Y; if the current correction identifier is Y, and the delta state is-1, namely the sharing group has been corrected by the correction identifier at the previous moment, the current correction resource sequence is assigned to the correction resource sequence after removing the resources of the sub-members with the member states being abnormal states, and similarly, the current correction resource capacity sequence is assigned to the correction resource capacity sequence after removing the resource capacity ordered by the sub-members with the member states being abnormal states; if the current correction identifier is Y, the delta state is 1, namely the correction identifier is corrected at the previous moment of the sharing group, the current correction resource sequence is added with the resources of the corrected sub-members and then is assigned to the correction resource sequence again, whether the correction resource sequence is consistent with the resource sequence or not is verified, and if the correction resource sequence is consistent with the resource sequence, the correction resource sequence and the correction resource capacity sequence are empty and the correction identifier is set to be N; and if the resource capacities are not consistent, the current modified resource capacity sequence is added with the resource capacity ordered by the modified sub-members and then is assigned to the modified resource capacity sequence again.
By adopting the method provided by the embodiment, the sharing group relationship, the member state of each sub-member corresponding to the sharing group relationship, the shared resource purchasing information of each sub-member and the used shared information of each sub-member are acquired from the service operation support system; receiving a resource use request initiated by a terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request; if the matched sharing group relationship is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relationship; comparing the used shared resource amount of the group with the group resource capacity, determining that the available shared resource exists according to the comparison result, and starting a sharing strategy to generate a shared resource ticket, thereby realizing the bidirectional sharing of the shared resource between the sub-members with the shared group relationship, solving the problem that the sub-members only can unidirectionally share the main card telephone traffic resource by the auxiliary card in the prior art, ensuring that the shared resource is bidirectionally used between the sub-members of the shared group to maximize the benefit of the user, introducing a correction identifier, after the abnormal state of the sub-members with the shared group relationship due to arrearage, stop reporting and the like is abnormal, correcting the correction identifier of the sub-members in the abnormal state and the purchased shared resource of the sub-members, synchronizing to a correction resource sequence, avoiding the situation that the sub-members can not use the resource per se due to arrearage and the like, but the sub-members in the abnormal state can still provide the shared resource for other members to use, thereby causing the loss of the benefit of the operator And the method improves the fairness of the charging strategy and optimizes the charging strategy.
Fig. 2 is a schematic structural diagram illustrating an embodiment of a traffic resource sharing apparatus according to the present invention. As shown in fig. 2, the apparatus includes: an information collection module 210, an information recording module 220, a lookup module 230, a calculation module 240, and a processing module 250.
The information collecting module 210 is adapted to collect the sharing group relationship, the member status of each sub-member corresponding to the sharing group relationship, the shared resource purchasing information of each sub-member, and the used shared information of each sub-member from the service operation support system.
In an optional manner, the apparatus may further include an information recording module 220 adapted to record the sharing group relationship and the used sharing information into a sharing relationship register; recording the member state of each sub-member into a state register; and recording the shared resource purchasing information into the group resource container unit, and correcting the shared resource purchasing information in the group resource container unit according to the member state change when the member state of any sub-member changes.
In an alternative manner, the information recording module 220 is further adapted to: and 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.
In an alternative manner, the information recording module 220 is further adapted to: if the member state of the child member changes from the normal state to the abnormal state, updating the correction identifier to be the first identifier, deleting the shared resources purchased by the child member from the resource sequence in the group resource container unit and synchronizing to the correction resource sequence, replacing the resource capacity corresponding to the shared resources purchased by the child member in the resource capacity sequence by using the used amount of the shared resources purchased by the child member and synchronizing to the correction resource capacity sequence; if the member state of the sub-member changes from the abnormal state to the normal state, adding the shared resource purchased by the sub-member into the modified resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the modified resource sequence; if the corrected resource sequence is consistent with the corrected resource capacity sequence, emptying the corrected resource sequence and the corrected resource capacity sequence, and updating the corrected identifier into a second identifier; and if the resource capacity sequence is not consistent with the preset resource capacity sequence, replacing the used amount of the shared resource purchased by the child member in the corrected resource capacity sequence with the resource capacity corresponding to the shared resource purchased by the child member.
In an alternative mode, 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.
The searching module 230 is adapted to receive a resource usage request initiated by a terminal, and search whether a matched sharing group relationship exists in the sharing group relationship according to the resource usage request.
The calculating module 240 is adapted to calculate the amount of the shared resources used by the group and the capacity of the group resources according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched shared group relationship if the matched shared group relationship is found.
And the processing module 250 is adapted to compare the used shared resource amount of the group with the group resource capacity, and determine a ticket pricing scheme according to the comparison result.
In an optional manner, the processing module 250 is further adapted to determine whether the amount of the shared resource used by the group is smaller than the capacity of the group resource; if yes, starting a sharing strategy to generate a shared resource ticket, and performing ticket pricing processing according to the shared resource ticket; if not, starting the general strategy to generate a general resource ticket, and performing ticket pricing processing according to the general resource ticket.
In an alternative manner, the processing module 250 is further adapted to: and if the matched sharing group relation is not found, starting a general strategy to generate a general resource ticket, and performing ticket pricing treatment according to the general resource ticket.
By adopting the device provided by the embodiment, the sharing group relationship, the member state of each sub-member corresponding to the sharing group relationship, the shared resource purchasing information of each sub-member and the used shared information of each sub-member are acquired from the service operation support system; receiving a resource use request initiated by a terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request; if the matched sharing group relationship is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relationship; comparing the used shared resource amount of the group with the group resource capacity, determining that the available shared resource exists according to the comparison result, and starting a sharing strategy to generate a shared resource ticket, thereby realizing the bidirectional sharing of the shared resource between the sub-members with the shared group relationship, solving the problem that the sub-members with the shared group relationship can only share the telephone traffic resource of the main card in a one-way manner by the auxiliary card in the prior art, ensuring the bidirectional use of the shared resource among the sub-members of the shared group to maximize the benefit of the user, introducing a correction identifier, correcting the correction identifier of the sub-member in an abnormal state after the sub-member with the shared group relationship is abnormal due to the reasons of arrearage, stop reporting and the like, synchronizing to a correction resource sequence after the purchased shared resource of the sub-member, avoiding the situation that the sub-member enters the abnormal state due to arrearage and the like and can not use the resource, but the sub-member in the abnormal state can still provide the shared resource for other members to use, so as to cause the loss of the benefit of the operator And the method improves the fairness of the charging strategy and optimizes the charging strategy.
The embodiment of the invention provides a nonvolatile computer storage medium, wherein the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the telephone traffic resource sharing method in any method embodiment.
The executable instructions may be specifically configured to cause the processor to:
collecting a sharing group relationship, a member state of each sub-member corresponding to the sharing group relationship, shared resource purchasing information of each sub-member and used sharing information of each sub-member from a business operation support system;
receiving a resource use request initiated by a terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request;
if the matched sharing group relationship is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relationship;
and comparing the used shared resource quantity of the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result.
Fig. 3 is a schematic structural diagram of an embodiment of the computing device of the present invention, and the specific embodiment of the present invention does not limit the specific implementation of the computing device.
As shown in fig. 3, the computing device may include:
a processor (processor), a Communications Interface (Communications Interface), a memory (memory), and a Communications bus.
Wherein: the processor, the communication interface, and the 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. The processor is configured to execute a program, and may specifically execute relevant steps in the traffic resource sharing method embodiment.
In particular, the program may include program code comprising computer operating instructions.
The processor may be a central processing unit CPU or an application Specific Integrated circuit asic or one or more Integrated circuits configured to implement embodiments of the present invention. The server comprises one or more processors, which can be the same type of processor, such as one or more CPUs; or may 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, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
The program may specifically be adapted to cause a processor to perform the following operations:
collecting a sharing group relationship, a member state of each sub-member corresponding to the sharing group relationship, shared resource purchasing information of each sub-member and used sharing information of each sub-member from a business operation support system;
receiving a resource use request initiated by a terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request;
if the matched sharing group relationship is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relationship;
and comparing the used shared resource quantity of 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 constructing such a system will be apparent from the description above. In addition, embodiments of the present invention are not directed to any particular programming language. It is appreciated that a variety of programming languages may be used to implement the teachings of the present invention as described herein, and any descriptions of specific languages are provided above to disclose the best mode of the invention.
In the description provided herein, numerous specific details are set forth. It is understood, however, 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 foregoing 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 invention and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed 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 device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. 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. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements 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 included in other embodiments, rather than other features, 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 may be used in any combination.
The 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 a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components according to embodiments of the present invention. The present invention may also be embodied as apparatus or device programs (e.g., computer programs and computer program products) for performing a portion or all of the methods described herein. Such programs implementing the present invention may be stored on computer-readable media or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or 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 usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names. The steps in the above embodiments should not be construed as limiting the order of execution unless specified otherwise.

Claims (10)

1. A method for traffic resource sharing, comprising:
collecting a sharing group relationship, a member state of each sub-member corresponding to the sharing group relationship, shared resource purchasing information of each sub-member and used sharing information of each sub-member from a service operation support system;
receiving a resource use request initiated by a terminal, and searching whether a matched sharing group relation exists in the sharing group relation according to the resource use request;
if the matched sharing group relationship is found, calculating the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched sharing group relationship;
and comparing the used shared resource amount of the group with the group resource capacity, and determining a ticket pricing scheme according to the comparison result.
2. The method according to claim 1, wherein after the collecting, from the service operation support system, a shared group relationship, a member status of each sub-member corresponding to the shared group relationship, shared resource purchase information of each sub-member, and used shared information of each sub-member, the method further comprises:
recording the sharing group relationship and the used sharing information into a sharing relationship register;
recording the member state of each sub-member into a state register;
and 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 member state change when the member state of any sub-member changes.
3. The method according to claim 2, wherein the modifying the shared resource purchase information in the group resource container unit according to the member status change when the member status of any one of the child members changes further comprises:
and 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.
4. The method of claim 3, wherein updating the modified identifier, the modified resource sequence, and the modified resource capacity sequence in the group resource container unit according to the change of the member status of the child member further comprises:
if the member state of the child member changes from the normal state to the abnormal state, updating the correction identifier to be the first identifier, deleting the shared resource purchased by the child member from the resource sequence in the group resource container unit and synchronizing 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 amount of the shared resource purchased by the child member and synchronizing to the correction resource capacity sequence;
if the member state of the sub-member changes from the abnormal state to the normal state, adding the shared resource purchased by the sub-member into the modified resource sequence according to the resource sequence, and judging whether the resource sequence is consistent with the modified resource sequence;
if the corrected resource sequence is consistent with the corrected resource capacity sequence, emptying the corrected resource sequence and updating the corrected identifier into a second identifier; and if the resource capacity sequence is not consistent with the preset resource capacity sequence, replacing the used amount of the shared resource purchased by the child member in the corrected resource capacity sequence with the resource capacity corresponding to the shared resource purchased by the child member.
5. The method of claim 4, wherein 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.
6. The method of claim 1, further comprising: and if the matched sharing group relation is not found, starting a general strategy to generate a general resource ticket, and performing ticket pricing treatment according to the general resource ticket.
7. The method according to any one of claims 1-6, wherein the comparing the amount of shared resources used by the group with the capacity of the group resources, and the determining a call ticket rating scheme according to the comparison further comprises:
determining whether the amount of shared resources already used by the group is less than the group resource capacity;
if yes, starting a sharing strategy to generate a shared resource ticket, and performing ticket pricing processing according to the shared resource ticket;
if not, starting a general strategy to generate a general resource ticket, and performing ticket pricing processing according to the general resource ticket.
8. A traffic resource sharing apparatus, comprising:
the information acquisition module is suitable for acquiring a sharing group relationship, the member state of each sub-member corresponding to the sharing group relationship, the shared resource purchasing information of each sub-member and the used shared information of each sub-member from a service operation support system;
the searching module is suitable for receiving a resource using request initiated by a terminal and searching whether a matched sharing group relation exists in the sharing group relation or not according to the resource using request;
the computing module is suitable for computing the used shared resource amount and the group resource capacity of the group according to the used shared information and the shared resource purchasing information of each sub-member corresponding to the matched shared group relationship if the matched shared group relationship is found;
and the processing module is suitable for comparing the used shared resource amount of the group with the group resource capacity and determining a ticket pricing scheme according to the comparison result.
9. A computing device, comprising: the system comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete mutual communication through the communication bus;
the memory is configured to store at least one executable instruction, which causes the processor to perform operations corresponding to the traffic resource sharing method according to any one of claims 1 to 7.
10. 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 one of claims 1-7.
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 true CN113766442A (en) 2021-12-07
CN113766442B 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
CN113766442B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN110177348B (en) Flow authorization control method and device
CN111523748B (en) Case distribution method, device and system
CN111461763A (en) Resource allocation method and device
CN106096926B (en) Event processing method, device, electronic device and storage medium
CN114693296A (en) Coupon management method and device, electronic equipment and storage medium
CN111275418A (en) Car rental management method and related equipment
CN111461595B (en) Pricing template generation method, device, equipment and storage medium
CN102802145A (en) Network service billing method, device and system
CN110753323B (en) Card resource allocation method and server
CN110084897B (en) Charging method, system, device and computer readable storage medium
CN113766442B (en) Telephone traffic resource sharing method and device, computing equipment and storage medium
CN112995909A (en) SIM card distribution method, device, server and computer readable storage medium
CN112446508A (en) Method and device for recovering package in logistics transportation, storage medium and electronic equipment
CN113409095B (en) Data processing method, device, server and storage medium
CN112749190B (en) Data query method and device, computing equipment and computer storage medium
CN111147568B (en) Identity data synchronization method and device
CN110544104B (en) Account determination method and device, storage medium and electronic device
CN113037512A (en) Statistical method and device for network resource consumption and server
CN113379347A (en) Express delivery warehouse-out management method and device, electronic equipment and storage medium
CN114205764B (en) Traffic resource sharing method, device, equipment and computer readable storage medium
CN115131085A (en) Method, device and equipment for processing super package bills
CN112838932A (en) Re-rating method and device based on volume accumulated rating and computing equipment
CN108846702B (en) Electronic pet transaction method and device based on user points
CN112101720B (en) Method and system for distributing group resources
CN110443597B (en) Reminding method and device for balance transfer of IC card

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