CN109660962B - Voice call charging method and device - Google Patents
Voice call charging method and device Download PDFInfo
- Publication number
- CN109660962B CN109660962B CN201710934752.9A CN201710934752A CN109660962B CN 109660962 B CN109660962 B CN 109660962B CN 201710934752 A CN201710934752 A CN 201710934752A CN 109660962 B CN109660962 B CN 109660962B
- Authority
- CN
- China
- Prior art keywords
- information
- user terminal
- call
- voice call
- ticket
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/24—Accounting or billing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/49—Connection to several service providers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M15/00—Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
- H04M15/80—Rating or billing plans; Tariff determination aspects
- H04M15/8038—Roaming or handoff
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention provides a voice call charging method and a voice call charging device. The method comprises the following steps: acquiring ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call; acquiring a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information AS auxiliary charging call ticket information; and judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result. The device is used for executing the method. The method and the device provided by the invention improve the accuracy of voice call charging.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a voice call charging method and a voice call charging device.
Background
With the development of mobile communication technology, Vo L TE service is becoming popular, so that voice call in 4G network and switching between voice call in 4G network and voice call in 2G/3G network are realized, and charging problem is getting more and more attention from people.
Because an enhanced Mobile Switching Center (eMSC) and an Application service Center (AS) belong to a CS domain and an IMS domain in a Mobile network respectively, when a user terminal initiates a Voice Call in a 4G network, a Call list is generated in the IMS domain AS, and the user terminal initiates a 2 nd-way Voice Call in a 2G/3G network due to part of reasons (such AS moving to the outside of the coverage of the 4G network), at the moment, the 2 nd-way Voice Call in the 2G/3G network is the Voice Call initiated in an enhanced Single ioRad VoCall Continuity (eCCC) state, at the moment, the 2 nd-way Voice Call is not attributed to the IMS domain AS, a charging report is only generated on the eMSC, a charging system cannot know that the 2 nd-way Voice Call is the Voice Call generated in the eMSC state under the scene, and can only judge that the eMSC calls generated in the city are seriously in a city Call field, if the roaming system can not receive a Call in a city Call, and the eMSC can receive a roaming Call charge of a roaming Call in a city, and a roaming system, if the eMSC can cause a roaming Call in a city Call list, a city Call list, a city Call in which the eMSC, a city Call list which the eMSC, a city Call which the eMSC, and a roaming system which the eMSC can cause.
Therefore, how to provide a voice call charging method to improve the accuracy of the voice call charge is an important issue to be solved in the industry at present.
Disclosure of Invention
In order to overcome the defects in the prior art, embodiments of the present invention provide a voice call charging method and apparatus.
In one aspect, an embodiment of the present invention provides a voice call charging method, including:
acquiring ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call;
acquiring a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information of the user terminal AS auxiliary charging call ticket information;
and judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result.
On the other hand, an embodiment of the present invention provides a voice call charging apparatus, including a first obtaining unit, a second obtaining unit, and a processing unit, where:
the first obtaining unit is used for obtaining the ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call;
a second obtaining unit, configured to obtain, according to the identifier information of the user terminal, multiple pieces of ticket information generated by the user terminal in an application server AS auxiliary charging ticket information;
and the processing unit is used for judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result.
In another aspect, an embodiment of the present invention provides an electronic device, including a processor, a memory, and a bus, where:
the processor and the memory complete mutual communication through a bus;
the processor may invoke a computer program in memory to perform the steps of the above-described method.
In yet another aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of the above-mentioned method.
The voice call charging method and the device provided by the embodiment of the invention have the advantages that the to-be-charged call ticket information generated in an enhanced mobile switching center eMSC is obtained, a plurality of call ticket information generated by a user terminal in an application server AS is obtained AS auxiliary charging call ticket information according to the identification information of the user terminal initiating a first voice call in the to-be-charged call ticket information, and whether the user terminal roams or not is judged according to the to-be-charged call ticket information and a pre-established information database if the first voice call is judged to be the voice call in an enhanced voice call continuity state according to the to-be-charged call ticket information and the auxiliary charging call ticket information, and the to-be-charged call ticket is charged according to the judgment result, so that the accuracy of voice call charging is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a voice call charging method according to an embodiment of the present invention;
fig. 2 is a schematic overall flow chart of a voice call charging method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a voice call charging apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an entity apparatus of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a voice call charging method according to an embodiment of the present invention, and as shown in fig. 1, the embodiment provides a voice call charging method, including:
s101, obtaining bill information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call;
specifically, the voice call charging apparatus obtains to-be-charged ticket information generated in an enhanced mobile switching Center (eMSC), where the to-be-charged ticket information includes identification information of a user terminal that initiated the first voice call. It can be understood that the eMSC belongs to a CS domain in a Mobile network, and when a user terminal directly initiates a voice call in a 2G/3G network, a call ticket is generated at a Mobile Switching Center (MSC) or the eMSC; when a user terminal initiates a voice call in a 4G network, a call ticket is generated at an Application service center (AS) in an IMS domain, and the voice call is switched to a 2G/3G network due to part of reasons (such AS moving to the outside of the coverage of the 4G network), at this time, the voice call in the 2G/3G network is a voice call occurring in an enhanced voice call continuity state, and at this time, the voice call in the 2G/3G network only generates a call ticket at an eMSC, so the call ticket generated at the eMSC can be a call ticket generated by the user terminal directly initiating the voice call in the 2G/3G network, or can be a call ticket generated by the voice call occurring in the enhanced voice call continuity state, that is, the first voice call can be a voice call initiated by the user terminal directly at the 2G/3G network, or the voice call occurring in the enhanced voice call continuity state; the Identification information of the user terminal may be an International Mobile Subscriber Identity (IMSI) or a Mobile Subscriber Number (MSISDN) of the user terminal, or may be other Identification information, and may be specifically set and adjusted according to an actual situation, which is not specifically limited herein.
S102, acquiring a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information of the user terminal AS auxiliary charging call ticket information;
specifically, the device acquires a plurality of pieces of ticket information corresponding to the user terminal generated at an Application Server (AS) according to the identification information of the user terminal, and the ticket information is used AS auxiliary charging ticket information. It can be understood that the auxiliary charging ticket is a ticket generated by a voice call initiated by the user terminal in the 4G network.
S103, judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result.
Specifically, the device determines whether the first Voice call is a Voice call occurring in an enhanced Voice call continuity state according to the information of the to-be-charged call ticket and the auxiliary charging call ticket, if so, the device determines whether the user terminal is roaming according to the information of the to-be-charged call ticket and a pre-established information database, and charges the to-be-charged call ticket according to a determination result, it should be noted that the information database is established according to a user terminal information list of a long Term Evolution Voice service (Voice over L ong Term Evolution, Vo L TE), an eMSC information list and a location Area Code (L opportunity Area Code, L AC) information list, and the information database may further include other information, and may be specifically set and adjusted according to an actual situation, which is not specifically limited herein.
It should be noted that the device may also obtain a plurality of pieces of ticket information to be charged within a preset time period, and establish a corresponding database; meanwhile, a plurality of pieces of ticket information generated in the application server AS within the preset time period are obtained, a corresponding database is established, the ticket information in the two databases is matched, then the charging is carried out according to each ticket to be charged of the method, the specific flow is consistent with the steps, and the description is omitted here.
The voice call charging method provided by the embodiment of the invention comprises the steps of obtaining to-be-charged call ticket information generated by an enhanced mobile switching center (eMSC), obtaining a plurality of call ticket information generated by a user terminal in an Application Server (AS) according to identification information of the user terminal initiating a first voice call in the to-be-charged call ticket information AS auxiliary charging call ticket information, judging whether the user terminal roams according to the to-be-charged call ticket information and a pre-established information database if the first voice call is judged to be the voice call in an enhanced voice call continuity state according to the to-be-charged call ticket information and the auxiliary charging call ticket information, and charging the to-be-charged call ticket according to a judgment result, thereby improving the accuracy of voice call charging.
On the basis of the above embodiment, further, the method further includes:
acquiring identification information and registration attribution information of a user terminal which has opened the Vo L TE service, and generating a Vo L TE user terminal information list;
acquiring identification information of all eMSCs and attribution information of each eMSC, and generating an eMSC information list;
acquiring L AC information of all the location area codes and home information of each L AC, and generating a L AC information list;
and establishing the information database according to the Vo L TE user terminal information list, the eMSC information list and the location area code L AC information list.
Specifically, the device acquires identification information and registration attribution information of a user terminal with Vo L TE opened in advance to generate a Vo L TE user terminal information list as shown in table 1, acquires identification information of all eMSCs and attribution information of each eMSC in advance to generate an eMSC information list as shown in table 2, acquires all location area codes L AC information and attribution information of each L AC in advance to generate a location area code L AC information list as shown in table 3, and establishes the information database according to the Vo L TE user terminal information list, the eMSC information list and the location area code L AC information list, wherein the identification information of the eMSC can be ID of a switch of the eMSC.
TABLE 1
TABLE 2
TABLE 3
L AC information | Home information |
0x0000 | Luoyang city of Henan Province |
0x0001 | Beijing City |
… | … |
… | … |
On the basis of the above embodiment, further, before obtaining a plurality of pieces of ticket information generated by the user terminal at the application server AS the auxiliary charging ticket information according to the identification information of the user terminal, the method further includes:
and if the Vo L TE user terminal information list in the information database is judged to comprise the identification information of the user terminal, determining that the user terminal is the Vo L TE user terminal.
Specifically, the device judges whether the user terminal is a Vo L TE user terminal before acquiring a plurality of call ticket information generated by the user terminal at an application server AS auxiliary charging call ticket information according to the identification information of the user terminal, specifically, the device determines that the user terminal is a Vo L TE user terminal according to the identification information of the user terminal included in the call ticket information to be charged and a Vo L TE user terminal information list in an information database, if the Vo L TE user terminal information list in the information database includes the identification information of the user terminal, otherwise, the user terminal is a non-Vo L TE user terminal, it can be understood that if the device determines that the user terminal is the non-Vo L TE user terminal, it can be determined that the first voice call is not a voice call occurring in a state of enhanced voice call continuity, and the call ticket to be charged according to a normal charging rule.
On the basis of the above embodiment, further, the to-be-charged ticket information further includes identification information of a called user terminal corresponding to the first voice call, a call start time and a call end time of the first voice call; the auxiliary charging ticket information comprises identification information of a called user terminal corresponding to a second voice call initiated by the user terminal, and the call starting time and the call ending time of the second voice call; correspondingly, if the first voice call is judged to be the voice call occurring in the enhanced voice call continuity state according to the to-be-charged call ticket information and the auxiliary charging call ticket information, the method includes:
and if the identification information of the called user terminal corresponding to the first voice call is judged to be consistent with the identification information of the called user terminal corresponding to the second voice call, and the call starting time and the call ending time of the first voice call are both in the time period between the call starting time and the call ending time of the second voice call, determining that the first voice call is the voice call occurring in the enhanced voice call continuity state.
Specifically, the to-be-charged ticket information further includes identification information of a called user terminal corresponding to the first voice call, a call start time and a call end time of the first voice call, and the auxiliary charging ticket information includes identification information of a called user terminal corresponding to a second voice call initiated by the user terminal, a call start time and a call end time of the second voice call; and if the device judges that the identification information of the called user terminal corresponding to the first voice call is consistent with the identification information of the called user terminal corresponding to the second voice call, and the call starting time and the call ending time of the first voice call are both in the time period between the call starting time and the call ending time of the second voice call, determining that the first voice call is the voice call occurring in the enhanced voice call continuity state. It is understood that the call start time and the call end time are corresponding time points.
For example, the device obtains bill information to be charged generated by the eMSC, the bill information to be charged comprises 13812342268 of a telephone number of a user terminal of a first voice call initiated under a 2G/3G network, 15912349556 of a telephone number of a called user terminal corresponding to the first voice call, 12:05 of 5, 4, 5 and 4 in 2017 and 12:08 of 5, 4 in 2017, the device obtains a plurality of pieces of bill information generated by the user terminal in an AS AS auxiliary charging bill information according to 13812342268, each piece of auxiliary charging bill information comprises identification information of the called user terminal corresponding to a second voice call initiated under the 4G network by the user terminal, call starting time and call ending time of the second voice call, AS shown in table 4, the device judges that the call starting time of the called user terminal corresponding to the first voice call is consistent with the call starting time of a second voice call terminal in ① in the 4 voice table, the call starting time of the called user terminal is consistent with the call ending time of the called user terminal in 2014, and the call starting time of the called user terminal is within the first call starting time of 2017, the called user terminal is judged within the call starting time of 2017, the call starting time of the call beginning of 2017, the call ending the call is judged within the call beginning time of 2017-10, and the call ending time of the call within the enhanced call of the call beginning of the call 5-7-12, the call beginning time of the call beginning of the called user terminal, and the.
TABLE 4
On the basis of the above embodiment, further, the to-be-charged ticket information further includes registration attribution information of the user terminal and eMSC identification information corresponding to the first voice call; correspondingly, the judging whether the user terminal roams according to the bill information to be charged and the pre-established information database comprises the following steps:
determining identification information of a target eMSC according to the registration attribution information of the user terminal, the identification information of all eMSCs and the attribution information of each eMSC;
and if the eMSC identification information corresponding to the first voice call is judged to be inconsistent with the identification information of the target eMSC, determining that the user terminal roams.
Specifically, the to-be-charged ticket information further includes registration attribution information of the user terminal and eMSC identification information corresponding to the first voice call, the device uses, as target eMSC identification information, eMSC identification information in which the attribution information and the registration attribution information of the user terminal belong to one province, according to the attribution information of each eMSC in the registration attribution information lookup table 2 of the user terminal, and determines whether the eMSC identification information corresponding to the first voice call is consistent with the target eMSC identification information, if not, it is determined that the user terminal is roaming, and the roaming is out-of-province roaming. It can be understood that, in general, each province is respectively provided with 1-2 emscs, and the settings are generally in a province city, and if the eMSC identification information corresponding to the first voice call initiated by the user terminal is inconsistent with the eMSC of the province corresponding to the registration home location, it is determined that the user terminal has out-of-province roaming.
For example, in the above embodiment, the registration location of the ue is "luoyang", the apparatus finds the eMSC identifier belonging to "zheng state city" in table 2 as the target eMSC identifier, and determines that the ue has roamed and is roaming outside the province if it is determined that the eMSC identifier corresponding to the first voice call originated by the ue is not consistent with the eMSC identifier belonging to "zheng state city".
On the basis of the above embodiment, further, the step of determining whether the user terminal roams according to the to-be-charged ticket information and a pre-established information database includes:
if the eMSC identification information corresponding to the first voice call is judged to be consistent with the identification information of the target eMSC, determining target L AC information according to the registration attribution information of the user terminal, all location area codes L AC information and attribution information of each L AC;
and if the information of the location area code L AC corresponding to the first voice call is judged to be inconsistent with the information of the target L AC, determining that the user terminal roams, otherwise, determining that the user terminal does not roam.
Specifically, if the device determines that the identification information of the eMSC corresponding to the first voice call is consistent with the identification information of the target eMSC, the device looks up the attribution information of each L AC in the table 3 according to the registration attribution information of the user terminal, takes L AC information with the same attribution information as the registration attribution information of the user terminal as target L AC information, determines whether the L AC information corresponding to the first voice call is consistent with the target L AC information, determines that the user terminal has roaming and the roaming is intra-provincial roaming if the information is not consistent, and otherwise determines that the user terminal has not roaming.
For example, in the above embodiment, the registration location of the ue is "luoyang", the apparatus determines that it is known that the eMSC identifier corresponding to the first voice call initiated by the ue is consistent with the eMSC identifier corresponding to the location "zheng zhou city", look up L AC information with the location information being luoyang in table 3 as the target L AC information, and the apparatus determines that the ue roams and that the roaming is intra-provincial roaming if it is determined that it is known that the L AC information corresponding to the first voice call is consistent with the target L AC information, and otherwise determines that the ue does not roam.
In the foregoing embodiments, the charging the ticket to be charged according to the determination result includes:
if the fact that the user terminal roams is judged and known, charging the ticket to be charged according to a roaming charging rule; otherwise, charging the bill to be charged according to the non-roaming charging rule.
Specifically, if the device judges that the user terminal roams, the device charges the bill to be charged according to roaming charging rules, and specifically charges the bill to be charged according to the charging rules of intra-provincial roaming and extra-provincial roaming; otherwise, charging the bill to be charged according to the non-roaming charging rule.
The voice call charging method provided by the embodiment of the invention comprises the steps of obtaining to-be-charged call ticket information generated by an enhanced mobile switching center (eMSC), obtaining a plurality of call ticket information generated by a user terminal in an Application Server (AS) according to identification information of the user terminal initiating a first voice call in the to-be-charged call ticket information AS auxiliary charging call ticket information, judging whether the user terminal roams according to the to-be-charged call ticket information and a pre-established information database if the first voice call is judged to be the voice call in an enhanced voice call continuity state according to the to-be-charged call ticket information and the auxiliary charging call ticket information, and charging the to-be-charged call ticket according to a judgment result, thereby improving the accuracy of voice call charging.
Fig. 2 is a schematic overall flow chart of a voice call charging method according to an embodiment of the present invention, and as shown in fig. 2, the voice call charging method according to the embodiment of the present invention specifically includes the following steps:
s201, obtaining bill information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call; then, step S202 is executed;
s202, judging whether the user terminal is a Vo L TE user terminal, determining that the user terminal is a Vo L TE user terminal if judging that the Vo L TE user terminal information list in the information database comprises the identification information of the user terminal according to the identification information of the user terminal included in the to-be-charged ticket information and the Vo L TE user terminal information list in the information database, and executing a step S203, otherwise, determining that the user terminal is a non-Vo L TE user terminal, and then executing a step S211;
s203, acquiring auxiliary charging ticket information; the device acquires a plurality of call ticket information corresponding to the user terminal generated in an application server AS AS auxiliary charging call ticket information according to the identification information of the user terminal; then, step S204 is executed;
s204, judging whether the first voice call is a voice call occurring in an enhanced voice call continuity state; if the device determines that the identification information of the called user terminal corresponding to the first voice call is consistent with the identification information of the called user terminal corresponding to the second voice call, and the call start time and the call end time of the first voice call are both within the time period between the call start time and the call end time of the second voice call, determining that the first voice call is a voice call occurring in an enhanced voice call continuity state, and then executing step S205; otherwise, determining that the first voice call is not a voice call occurring in the enhanced voice call continuity state, and then performing step S211;
s205, judging whether the out-of-province roaming occurs; the device determines the identification information of a target eMSC according to the registration attribution information of the user terminal, the identification information of all eMSCs and the attribution information of each eMSC, and if the eMSC identification information corresponding to the first voice call is judged to be inconsistent with the identification information of the target eMSC, the step S207 is executed; if yes, go to step S206;
determining target L AC information according to the registration home information of the user terminal, all location area codes L AC information and the home information of each L AC, determining whether the location area code L AC information corresponding to the first voice call is consistent with the target L AC information, if not, executing step S207, and if so, executing step S208;
s207, determining that the user terminal roams; then, step S209 is performed;
s208, determining that the user terminal does not roam; then, step S210 is performed;
s209, charging according to the roaming charging rule;
s210, charging according to a non-roaming charging rule;
s211, charging according to the voice call occurring in the non-enhanced voice call continuity state.
The voice call charging method provided by the embodiment of the invention comprises the steps of obtaining to-be-charged call ticket information generated by an enhanced mobile switching center (eMSC), obtaining a plurality of call ticket information generated by a user terminal in an Application Server (AS) according to identification information of the user terminal initiating a first voice call in the to-be-charged call ticket information AS auxiliary charging call ticket information, judging whether the user terminal roams according to the to-be-charged call ticket information and a pre-established information database if the first voice call is judged to be the voice call in an enhanced voice call continuity state according to the to-be-charged call ticket information and the auxiliary charging call ticket information, and charging the to-be-charged call ticket according to a judgment result, thereby improving the accuracy of voice call charging.
Fig. 3 is a schematic structural diagram of a voice call charging apparatus according to an embodiment of the present invention, where the voice call charging apparatus according to the embodiment of the present invention includes a first obtaining unit 301, a second obtaining unit 302, and a processing unit 303, where:
the first obtaining unit 301 is configured to obtain ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call; the second obtaining unit 302 is configured to obtain, according to the identifier information of the user terminal, multiple pieces of ticket information generated by the user terminal in an application server AS auxiliary charging ticket information; the processing unit 303 is configured to, if it is determined that the first voice call is a voice call occurring in an enhanced voice call continuity state according to the to-be-charged call ticket information and the auxiliary charging call ticket information, determine whether the user terminal roams according to the to-be-charged call ticket information and a pre-established information database, and charge the to-be-charged call ticket according to a determination result.
Optionally, the processing unit 303 may be configured to obtain identification information and registration attribution information of a user terminal that has activated the Vo L TE service, generate a Vo L TE user terminal information list, obtain identification information of all emscs and attribution information of all the emscs, generate an eMSC information list, obtain all location area code L AC information and attribution information of all the L ACs, generate a location area code L AC information list, and establish the information database according to the Vo L TE user terminal information list, the eMSC information list, and the location area code L AC information list.
Optionally, the first obtaining unit 301 may be further configured to, before obtaining, according to the identification information of the user terminal, a plurality of pieces of ticket information generated by the user terminal at an application server AS serving AS auxiliary charging ticket information, determine that the user terminal is a Vo L TE user terminal if it is determined that the Vo L TE user terminal information list in the information database includes the identification information of the user terminal.
Optionally, the processing unit 303 is specifically configured to determine that the first voice call is a voice call occurring in the enhanced voice call continuity state, if it is determined that the identification information of the called user equipment corresponding to the first voice call is consistent with the identification information of the called user equipment corresponding to the second voice call, and the call start time and the call end time of the first voice call are both within a time period between the call start time and the call end time of the second voice call.
Optionally, the processing unit 303 is specifically configured to determine the identification information of the target eMSC according to the registration attribution information of the user terminal, the identification information of all the emscs, and the attribution information of all the emscs; and if the eMSC identification information corresponding to the first voice call is judged to be inconsistent with the identification information of the target eMSC, determining that the user terminal roams.
Optionally, the processing unit 303 is specifically configured to determine, if it is determined that the identifier information of the eMSC corresponding to the first voice call is consistent with the identifier information of the target eMSC, target L AC information according to the registration location information of the user terminal, all location area codes L AC information, and the location information of each L AC, determine, if it is determined that the location area code L AC information corresponding to the first voice call is not consistent with the target L AC information, that the user terminal roams, and otherwise determine that the user terminal does not roam.
Optionally, the processing unit 303 is specifically configured to charge the to-be-charged ticket according to a roaming charging rule if it is determined that the user terminal is roaming; otherwise, charging the bill to be charged according to the non-roaming charging rule.
The voice call charging device provided by the embodiment of the invention obtains the to-be-charged call ticket information generated at an enhanced mobile switching center eMSC, obtains a plurality of call ticket information generated by a user terminal at an application server AS AS auxiliary charging call ticket information according to the identification information of the user terminal initiating a first voice call included in the to-be-charged call ticket information, judges whether the user terminal roams according to the to-be-charged call ticket information and the auxiliary charging call ticket information if the first voice call is judged to be the voice call in an enhanced voice call continuity state, and charges the to-be-charged call ticket according to the judgment result, thereby improving the accuracy of voice call charging.
The embodiment of the voice call charging apparatus provided by the present invention may be specifically configured to execute the processing flows of the above method embodiments, and the functions of the embodiment are not described herein again, and refer to the detailed description of the above method embodiments.
Fig. 4 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device may include: a processor (processor)401, a memory (memory)402, and a bus 403, wherein the processor 401 and the memory 402 communicate with each other via the bus 403. The processor 401 may call the computer program in the memory 402 to perform the following method: acquiring ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call; acquiring a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information of the user terminal AS auxiliary charging call ticket information; and judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result.
An embodiment of the present invention discloses a computer program product, which includes a computer program stored on a non-transitory computer readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer can execute the methods provided by the above method embodiments, for example, the method includes: acquiring ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call; acquiring a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information of the user terminal AS auxiliary charging call ticket information; and judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result.
An embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores a computer program, where the computer program causes the computer to execute the method provided by the foregoing method embodiments, for example, the method includes: acquiring ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call; acquiring a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information of the user terminal AS auxiliary charging call ticket information; and judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result.
Furthermore, the logic instructions in the memory 402 may be implemented in software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (7)
1. A voice call charging method, comprising:
acquiring ticket information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call;
acquiring a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information of the user terminal AS auxiliary charging call ticket information;
judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result;
before acquiring a plurality of call ticket information generated by the user terminal in an application server AS AS auxiliary charging call ticket information according to the identification information of the user terminal, the method further comprises the following steps:
if the Vo L TE user terminal information list in the information database is judged to include the identification information of the user terminal, determining that the user terminal is a Vo L TE user terminal;
the bill information to be charged also comprises registration attribution information of the user terminal and eMSC identification information corresponding to the first voice call; correspondingly, the judging whether the user terminal roams according to the bill information to be charged and the pre-established information database comprises the following steps:
determining the identification information of a target eMSC according to the registration attribution information of the user terminal, the identification information of all eMSCs and the attribution information of each eMSC;
if the eMSC identification information corresponding to the first voice call is judged to be inconsistent with the identification information of the target eMSC, determining that the user terminal roams;
correspondingly, the judging whether the user terminal roams according to the bill information to be charged and a pre-established information database comprises the following steps:
if the eMSC identification information corresponding to the first voice call is judged to be consistent with the identification information of the target eMSC, determining target L AC information according to the registration home information of the user terminal, all location area codes L AC information and the home information of each L AC;
and if the information of the location area code L AC corresponding to the first voice call is judged to be inconsistent with the information of the target L AC, determining that the user terminal roams, otherwise, determining that the user terminal does not roam.
2. The method of claim 1, further comprising:
acquiring identification information and registration attribution information of a user terminal which has opened the Vo L TE service, and generating a Vo L TE user terminal information list;
acquiring identification information of all eMSCs and attribution information of each eMSC, and generating an eMSC information list;
acquiring L AC information of all the location area codes and home information of each L AC, and generating a L AC information list;
and establishing the information database according to the Vo L TE user terminal information list, the eMSC information list and the location area code L AC information list.
3. The method of claim 1, wherein the to-be-charged ticket information further includes identification information of a called user terminal corresponding to the first voice call, a call start time and a call end time of the first voice call; the auxiliary charging ticket information comprises identification information of a called user terminal corresponding to a second voice call initiated by the user terminal, and the call starting time and the call ending time of the second voice call; correspondingly, if the first voice call is judged to be the voice call occurring in the enhanced voice call continuity state according to the to-be-charged call ticket information and the auxiliary charging call ticket information, the method includes:
and if the identification information of the called user terminal corresponding to the first voice call is judged to be consistent with the identification information of the called user terminal corresponding to the second voice call, and the call starting time and the call ending time of the first voice call are both in the time period between the call starting time and the call ending time of the second voice call, determining that the first voice call is the voice call occurring in the enhanced voice call continuity state.
4. The method according to any one of claims 1-3, wherein the charging the ticket to be charged according to the determination result comprises:
if the fact that the user terminal roams is judged and known, charging the ticket to be charged according to a roaming charging rule; otherwise, charging the bill to be charged according to the non-roaming charging rule.
5. A voice call charging device is characterized by comprising a first acquisition unit, a second acquisition unit and a processing unit, wherein:
the first obtaining unit is used for obtaining the bill information to be charged; the call ticket information to be charged is generated in an enhanced mobile switching center (eMSC), and comprises identification information of a user terminal initiating a first voice call;
the second obtaining unit is used for obtaining a plurality of call ticket information generated by the user terminal in an application server AS according to the identification information of the user terminal and taking the call ticket information AS auxiliary charging call ticket information;
the processing unit is used for judging whether the user terminal roams according to the information of the call ticket to be charged and a pre-established information database if the first voice call is judged to be the voice call in the enhanced voice call continuity state according to the information of the call ticket to be charged and the auxiliary charging call ticket, and charging the call ticket to be charged according to the judgment result;
the first obtaining unit is further configured to, before obtaining, according to the identification information of the user terminal, a plurality of pieces of ticket information generated by the user terminal at an application server AS, AS auxiliary charging ticket information, determine that the user terminal is a Vo L TE user terminal if it is determined that a Vo L TE user terminal information list in the information database includes the identification information of the user terminal;
the bill information to be charged also comprises registration attribution information of the user terminal and eMSC identification information corresponding to the first voice call; correspondingly, the processing unit is specifically configured to:
determining the identification information of a target eMSC according to the registration attribution information of the user terminal, the identification information of all eMSCs and the attribution information of each eMSC;
if the eMSC identification information corresponding to the first voice call is judged to be inconsistent with the identification information of the target eMSC, determining that the user terminal roams;
the bill information to be charged also includes location area code L AC information, correspondingly, the processing unit is also used for:
if the eMSC identification information corresponding to the first voice call is judged to be consistent with the identification information of the target eMSC, determining target L AC information according to the registration home information of the user terminal, all location area codes L AC information and the home information of each L AC;
and if the information of the location area code L AC corresponding to the first voice call is judged to be inconsistent with the information of the target L AC, determining that the user terminal roams, otherwise, determining that the user terminal does not roam.
6. An electronic device comprising a processor, a memory, and a bus, wherein:
the processor and the memory complete mutual communication through a bus;
the processor may invoke a computer program in memory to perform the steps of the method of any of claims 1-4.
7. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710934752.9A CN109660962B (en) | 2017-10-10 | 2017-10-10 | Voice call charging method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710934752.9A CN109660962B (en) | 2017-10-10 | 2017-10-10 | Voice call charging method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109660962A CN109660962A (en) | 2019-04-19 |
CN109660962B true CN109660962B (en) | 2020-07-17 |
Family
ID=66108785
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710934752.9A Active CN109660962B (en) | 2017-10-10 | 2017-10-10 | Voice call charging method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109660962B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102118726A (en) * | 2009-12-31 | 2011-07-06 | 华为技术有限公司 | Charging method, system and device |
CN102511144A (en) * | 2009-09-30 | 2012-06-20 | 阿尔卡特朗讯 | Online charging in IMS networks for sessions handed over between different operator networks |
CN105992150A (en) * | 2015-03-03 | 2016-10-05 | 中国移动通信集团公司 | Method and device for acquiring user location |
WO2017075814A1 (en) * | 2015-11-06 | 2017-05-11 | 华为技术有限公司 | Voice roaming method, mobility management network element, and access network element |
CN107040907A (en) * | 2015-07-31 | 2017-08-11 | 展讯通信(上海)有限公司 | A kind of charging method and system for VoLTE terminals |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2015117652A1 (en) * | 2014-02-06 | 2015-08-13 | Telefonaktiebolaget L M Ericsson (Publ) | Multi-bearer connection control |
-
2017
- 2017-10-10 CN CN201710934752.9A patent/CN109660962B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102511144A (en) * | 2009-09-30 | 2012-06-20 | 阿尔卡特朗讯 | Online charging in IMS networks for sessions handed over between different operator networks |
CN102118726A (en) * | 2009-12-31 | 2011-07-06 | 华为技术有限公司 | Charging method, system and device |
CN105992150A (en) * | 2015-03-03 | 2016-10-05 | 中国移动通信集团公司 | Method and device for acquiring user location |
CN107040907A (en) * | 2015-07-31 | 2017-08-11 | 展讯通信(上海)有限公司 | A kind of charging method and system for VoLTE terminals |
WO2017075814A1 (en) * | 2015-11-06 | 2017-05-11 | 华为技术有限公司 | Voice roaming method, mobility management network element, and access network element |
Non-Patent Citations (2)
Title |
---|
VoLTE计费策略研究;朱斌等;《电信交换》;20170131;全文 * |
基于IMS的VoLTE计费研究;赵文贤等;《电信交换》;20150131;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109660962A (en) | 2019-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9992760B2 (en) | Method for updating RPLMN information and user equipment | |
CN104980997B (en) | Network access method and mobile communication terminal | |
CN105898812A (en) | Fast network return method and device | |
CN105228123B (en) | Method and system for communication service of mobile terminal user in roaming place | |
CN106793009B (en) | Network searching method and mobile terminal | |
CN105916131B (en) | Access control method and device | |
CN108650102B (en) | Charging information processing method, device and system | |
CN103797824B (en) | The method of location updating, apparatus and system | |
CN107548077B (en) | Position information acquisition method, device and system | |
CN101860847B (en) | Cloned subscriber identity module card test method and system | |
CN111328086A (en) | Method and system for positioning abnormal section of call connection time delay | |
CN109660962B (en) | Voice call charging method and device | |
CN107645723B (en) | VoLTE access domain selection method and system | |
CN106488428B (en) | Policy control method of user equipment, network equipment and system | |
CN109818909B (en) | Call processing method and device | |
CN108243057B (en) | VoLTE conversion rate analysis method and system | |
CN115988549A (en) | Terminal independent networking resident quality determination method, equipment and storage medium | |
CN103581866A (en) | Method and device for conducting roaming billing for MTRF paging during CS fallback | |
CN110366165A (en) | Mobile terminal combines adherence method and system again | |
CN108235268B (en) | Method and device for acquiring use times of IMEI (international mobile equipment identity) of call terminal | |
KR101809239B1 (en) | Apn changing apparatus and method, wireless terminal for apn change and record medium | |
CN109982393B (en) | Cell reselection processing method and device | |
CN109788495B (en) | Narrowband Internet of things terminal, base station, paging success rate improving method and system | |
CN109714720B (en) | Method and system for realizing short message intercommunication of roaming users between LTE networks | |
CN107222864A (en) | Filter the method and device of pseudo-base station |
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 |