CN105357655A - Method and device for distinguishing types of voice telephone bills - Google Patents
Method and device for distinguishing types of voice telephone bills Download PDFInfo
- Publication number
- CN105357655A CN105357655A CN201510660437.2A CN201510660437A CN105357655A CN 105357655 A CN105357655 A CN 105357655A CN 201510660437 A CN201510660437 A CN 201510660437A CN 105357655 A CN105357655 A CN 105357655A
- Authority
- CN
- China
- Prior art keywords
- ticket
- call forwarding
- called number
- calling number
- voice 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.)
- Granted
Links
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
Landscapes
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses a method and a device for distinguishing types of voice telephone bills. The method comprises the following steps: receiving a voice telephone bill; resolving attribution information of a calling number and a called number in the voice telephone bill; judging whether the voice telephone bill is a call forwarding telephone bill or not, judging whether attributions of the calling number and the called number are the same or not according to the attribution information of the calling number and the called number under the situation that the voice telephone bill is the call forwarding telephone bill, and determining that the voice telephone bill is a local call forwarding voice telephone bill if the attributions of the calling number and the called number are the same; and if the attributions of the calling number and the called number are different, determining that the voice telephone bill is a domestic call forwarding voice telephone bill. Through adoption of the method and the device, the types of voice telephone bills can be distinguished conveniently and rapidly, so that different charging processing can be performed on the voice telephone bills of different types, and an enterprise resale service can be developed for a long time.
Description
Technical field
The present invention relates to communication technique field technology, espespecially a kind of method and device distinguishing voice ticket type.
Background technology
The mobile business of reselling refers to that the basic telecom service operator from having mobile network buys Mobile Communication Service, repacks into Own Brand and is sold to the Mobile Communication Service of end user.Mobile communication is resell the mobile communications network infrastructure such as the not self-built wireless network of enterprise, core net and transmission network, needs to set up customer service system, can set up the business support systems such as Business Management Platform, charging and battalion's account according to need.
Along with the development of domestic business of reselling, 170 users of enterprise of respectively reselling get more and more.Meanwhile, because user is to the variation of phonetic function demand, enterprise of reselling needs to distinguish the voice ticket of user, realizes the charging that dissimilar voice ticket carries out not waiting the amount of money.According to the agreement of tap3, ticket Call_Type_Level provides the type definition of ticket, and basic business is supplied to the ticket of reseller, can not ensure to receive Call_Type_Level accurately.In this case, the type how accurately distinguishing voice ticket just becomes current problem demanding prompt solution.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of method and the device of distinguishing voice ticket type, the type of voice ticket can be distinguished easily and efficiently.
In order to reach the object of the invention, the invention provides a kind of method distinguishing voice ticket type, comprising:
Receive voice ticket;
Parse the information of home location of calling number in described voice ticket and called number;
Judge whether described voice ticket is call forwarding ticket, when described voice ticket is call forwarding ticket, judge that whether calling number is identical with the ownership place of called number according to described calling number and the information of home location of called number, if identical, then described voice ticket is defined as local call forwarding voice ticket; If not identical, then described voice ticket is defined as domestic call forwarding voice ticket.
Further, describedly judge whether described voice ticket is call forwarding ticket, comprising:
Judge whether comprise call forwarding mark in described voice ticket, if comprised, then determine that described voice ticket is call forwarding ticket; Otherwise, determine that described voice ticket is non-call forwarding ticket.
Further, described in parse the information of home location of calling number in described voice ticket and called number, comprising:
The office's phase data provided according to infrastructure operator judges the information of home location of calling number and called number.
Further, described information of home location is ownership place mark;
Describedly judge that whether calling number is identical with the ownership place of called number according to described calling number and the information of home location of called number, comprise: judge whether equal the ownership place mark of calling number identifies with the ownership place of called number, if equal, then judge that calling number is identical with the ownership place of called number; If unequal, then judge that calling number is different from the ownership place of called number.
Further, described method also comprises:
After the information of home location of the calling number parsed in described voice ticket and called number, also the information of home location of described voice ticket and described calling number and called number is saved in database.
Further, a kind of device distinguishing voice ticket type, comprising: receiving element, resolution unit and judging unit, wherein:
Described receiving element, for receiving voice ticket;
Described resolution unit, for parsing the information of home location of calling number in described voice ticket and called number;
Described judging unit, for judging whether described voice ticket is call forwarding ticket, when described voice ticket is call forwarding ticket, judge that whether described calling number is identical with the ownership place of called number according to described calling number and the information of home location of called number, if identical, then described voice ticket is defined as local call forwarding voice ticket; If not identical, then described voice ticket is defined as domestic call forwarding voice ticket.
Further, described judging unit judges whether described voice ticket is call forwarding ticket, comprising:
Judge whether comprise call forwarding mark in described voice ticket, if comprised, then determine that described voice ticket is call forwarding ticket; Otherwise, determine that described voice ticket is non-call forwarding ticket.
Further, described resolution unit parses the information of home location of calling number in described voice ticket and called number, comprising:
The office's phase data provided according to infrastructure operator judges the information of home location of calling number and called number.
Further, described information of home location is ownership place mark;
According to described calling number and the information of home location of called number, described judging unit judges that whether calling number is identical with the ownership place of called number, comprise: judge whether equal the ownership place mark of calling number identifies with the ownership place of called number, if equal, then judge that calling number is identical with the ownership place of called number; If unequal, then judge that calling number is different from the ownership place of called number.
Further, described resolution unit, also for after the information of home location of the calling number parsed in described voice ticket and called number, is saved in the information of home location of described voice ticket and described calling number and called number in database.
Compared with prior art, the present invention includes reception voice ticket; Parse the information of home location of calling number in voice ticket and called number; Judge whether voice ticket is call forwarding ticket, when voice ticket is call forwarding ticket, judge that whether calling number is identical with the ownership place of called number according to calling number and the information of home location of called number, if identical, then voice ticket is defined as local call forwarding voice ticket; If not identical, then voice ticket is defined as domestic call forwarding voice ticket.The present invention can distinguish the type of voice ticket easily and efficiently, thus carries out the charging process distinguished for dissimilar voice ticket, and enterprise's business of reselling can be developed more long-rangely.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in specification, claims and accompanying drawing and obtain.
Accompanying drawing explanation
Accompanying drawing is used to provide the further understanding to technical solution of the present invention, and forms a part for specification, is used from and explains technical scheme of the present invention, do not form the restriction to technical solution of the present invention with the embodiment one of the application.
Fig. 1 is the flow chart of the method for differentiation voice ticket type of the present invention;
Fig. 2 is the Organization Chart of the device of differentiation voice ticket type of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Can perform in the computer system of such as one group of computer executable instructions in the step shown in the flow chart of accompanying drawing.Further, although show logical order in flow charts, in some cases, can be different from the step shown or described by order execution herein.
As shown in Figure 1, the method for differentiation voice ticket type of the present invention, comprising:
Step 101: receive voice ticket;
Voice ticket is supplied to reseller by basic business.Mainly comprise in voice ticket: calling number, called number, call time started, the duration of call and call forwarding mark etc.
Voice ticket can be received by ticket resolution system in the present invention.
Step 102: the information of home location parsing calling number in voice ticket and called number;
Ticket resolution system, after receiving voice ticket, according to office's phase data that infrastructure operator provides, judges the information of home location of calling number and called number.
The ownership place corresponding to number section of phone number is recorded in office's phase data.
Step 103: judge whether voice ticket is call forwarding ticket, when voice ticket is call forwarding ticket, judge that whether calling number is identical with the ownership place of called number according to calling number and the information of home location of called number, if identical, then voice ticket is defined as local call forwarding voice ticket; If not identical, then voice ticket is defined as domestic call forwarding voice ticket.
Above-mentionedly judge whether voice ticket is call forwarding ticket, Ke Yishi: judge in voice ticket, whether to comprise call forwarding mark, if comprise call forwarding mark, then determine that voice ticket is call forwarding ticket; If do not comprise call forwarding mark, then determine that voice ticket is non-call forwarding ticket.
Call forwarding mark can be: unconditional call forwarding mark, unreachable call forwarding mark, busy call forwarding mark and nonreply call forwarding mark etc.
In the present invention, information of home location can be ownership place mark;
Above-mentionedly judge that whether calling number is identical with the ownership place of called number according to calling number and the information of home location of called number, can be: judge whether equal the ownership place mark of calling number identifies with the ownership place of called number, if equal, then judge that calling number is identical with the ownership place of called number; If unequal, then judge that calling number is different from the ownership place of called number.
Further, the information of home location of voice ticket and calling number and called number, after the information of home location of the calling number parsed in voice ticket and called number, is also saved in database by the present invention.
Can judge whether voice ticket is call forwarding ticket by ticket wholesale price system in the present invention, and when voice ticket is call forwarding ticket, according to the information of home location of calling number and called number, distinguish the type of voice ticket.
The concrete deterministic process of ticket wholesale price system is: ticket wholesale price system, when finding that there is voice ticket and information of home location (ownership place mark) stored in database, reads the call forwarding mark of voice ticket, numbers of calling and called parties and ownership place mark; When there is call forwarding mark in voice ticket, judge that this voice ticket is call forwarding ticket, and judge whether the ownership place mark of calling number equals the ownership place mark of called number; If equal, then this voice ticket can be regarded as local call forwarding voice ticket, and carry out the charging of the corresponding amount of money; Time unequal, then this voice ticket can be regarded as domestic call forwarding voice ticket, and carry out the charging of the corresponding amount of money.
Further, when voice ticket is non-call forwarding ticket, directly according to the charging regulation of non-call forwarding ticket, non-call forwarding ticket is processed.
As shown in Figure 2, present invention also offers a kind of device distinguishing voice ticket type, comprising: receiving element, resolution unit and judging unit, wherein:
Receiving element, for receiving voice ticket;
Resolution unit, for parsing the information of home location of calling number in voice ticket and called number;
Judging unit, for judging whether voice ticket is call forwarding ticket, when voice ticket is call forwarding ticket, judge that whether calling number is identical with the ownership place of called number according to calling number and the information of home location of called number, if identical, then voice ticket is defined as local call forwarding voice ticket; If not identical, then voice ticket is defined as domestic call forwarding voice ticket.
Further, judging unit judges whether voice ticket is call forwarding ticket, comprising:
Judge whether comprise call forwarding mark in voice ticket, if comprised, then determine that voice ticket is call forwarding ticket; Otherwise, determine that voice ticket is non-call forwarding ticket.
Further, resolution unit parses the information of home location of calling number in voice ticket and called number, comprising:
The office's phase data provided according to infrastructure operator judges the information of home location of calling number and called number.
Further, information of home location is ownership place mark;
According to calling number and the information of home location of called number, judging unit judges that whether calling number is identical with the ownership place of called number, comprise: judge whether equal the ownership place mark of calling number identifies with the ownership place of called number, if equal, then judge that calling number is identical with the ownership place of called number; If unequal, then judge that calling number is different from the ownership place of called number.
Further, resolution unit, also for after the information of home location of the calling number parsed in voice ticket and called number, is saved in the information of home location of voice ticket and calling number and called number in database.
Although the execution mode disclosed by the present invention is as above, the execution mode that described content only adopts for ease of understanding the present invention, and be not used to limit the present invention.Those of skill in the art belonging to any the present invention; under the prerequisite not departing from the spirit and scope disclosed by the present invention; any amendment and change can be carried out in the form implemented and details; but scope of patent protection of the present invention, the scope that still must define with appending claims is as the criterion.
Claims (10)
1. distinguish a method for voice ticket type, it is characterized in that, comprising:
Receive voice ticket;
Parse the information of home location of calling number in described voice ticket and called number;
Judge whether described voice ticket is call forwarding ticket, when described voice ticket is call forwarding ticket, judge that whether calling number is identical with the ownership place of called number according to described calling number and the information of home location of called number, if identical, then described voice ticket is defined as local call forwarding voice ticket; If not identical, then described voice ticket is defined as domestic call forwarding voice ticket.
2. method according to claim 1, is characterized in that, describedly judges whether described voice ticket is call forwarding ticket, comprising:
Judge whether comprise call forwarding mark in described voice ticket, if comprised, then determine that described voice ticket is call forwarding ticket; Otherwise, determine that described voice ticket is non-call forwarding ticket.
3. method according to claim 1 and 2, is characterized in that, described in parse the information of home location of calling number in described voice ticket and called number, comprising:
The office's phase data provided according to infrastructure operator judges the information of home location of calling number and called number.
4. method according to claim 3, is characterized in that:
Described information of home location is ownership place mark;
Describedly judge that whether calling number is identical with the ownership place of called number according to described calling number and the information of home location of called number, comprise: judge whether equal the ownership place mark of calling number identifies with the ownership place of called number, if equal, then judge that calling number is identical with the ownership place of called number; If unequal, then judge that calling number is different from the ownership place of called number.
5. method according to claim 4, is characterized in that, described method also comprises:
After the information of home location of the calling number parsed in described voice ticket and called number, also the information of home location of described voice ticket and described calling number and called number is saved in database.
6. distinguish a device for voice ticket type, it is characterized in that, comprising: receiving element, resolution unit and judging unit, wherein:
Described receiving element, for receiving voice ticket;
Described resolution unit, for parsing the information of home location of calling number in described voice ticket and called number;
Described judging unit, for judging whether described voice ticket is call forwarding ticket, when described voice ticket is call forwarding ticket, judge that whether described calling number is identical with the ownership place of called number according to described calling number and the information of home location of called number, if identical, then described voice ticket is defined as local call forwarding voice ticket; If not identical, then described voice ticket is defined as domestic call forwarding voice ticket.
7. device according to claim 6, is characterized in that, described judging unit judges whether described voice ticket is call forwarding ticket, comprising:
Judge whether comprise call forwarding mark in described voice ticket, if comprised, then determine that described voice ticket is call forwarding ticket; Otherwise, determine that described voice ticket is non-call forwarding ticket.
8. the device according to claim 6 or 7, is characterized in that, described resolution unit parses the information of home location of calling number in described voice ticket and called number, comprising:
The office's phase data provided according to infrastructure operator judges the information of home location of calling number and called number.
9. device according to claim 8, is characterized in that:
Described information of home location is ownership place mark;
According to described calling number and the information of home location of called number, described judging unit judges that whether calling number is identical with the ownership place of called number, comprise: judge whether equal the ownership place mark of calling number identifies with the ownership place of called number, if equal, then judge that calling number is identical with the ownership place of called number; If unequal, then judge that calling number is different from the ownership place of called number.
10. device according to claim 9, is characterized in that:
Described resolution unit, also for after the information of home location of the calling number parsed in described voice ticket and called number, is saved in the information of home location of described voice ticket and described calling number and called number in database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510660437.2A CN105357655B (en) | 2015-10-14 | 2015-10-14 | A kind of method and device for distinguishing voice ticket type |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510660437.2A CN105357655B (en) | 2015-10-14 | 2015-10-14 | A kind of method and device for distinguishing voice ticket type |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105357655A true CN105357655A (en) | 2016-02-24 |
CN105357655B CN105357655B (en) | 2019-01-04 |
Family
ID=55333488
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510660437.2A Active CN105357655B (en) | 2015-10-14 | 2015-10-14 | A kind of method and device for distinguishing voice ticket type |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105357655B (en) |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710922A (en) * | 2005-06-17 | 2005-12-21 | 梁宇杰 | Method and system for starting telephone call by using name |
CN102857898A (en) * | 2011-06-30 | 2013-01-02 | 中国移动通信集团江苏有限公司 | Method of remote number-carrying transfer for mobile user and business support system |
-
2015
- 2015-10-14 CN CN201510660437.2A patent/CN105357655B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1710922A (en) * | 2005-06-17 | 2005-12-21 | 梁宇杰 | Method and system for starting telephone call by using name |
CN102857898A (en) * | 2011-06-30 | 2013-01-02 | 中国移动通信集团江苏有限公司 | Method of remote number-carrying transfer for mobile user and business support system |
Also Published As
Publication number | Publication date |
---|---|
CN105357655B (en) | 2019-01-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2958303B1 (en) | Method for measuring and displaying internet traffic of mobile phone and mobile phone | |
CN103096269B (en) | Bill payment based reminding method and device | |
CN102136967B (en) | Method, device and system for managing service state | |
CN102685018A (en) | Method and system for processing network instant messaging message and instant massaging equipment | |
CN101686425A (en) | Method for providing service to whole network and service network system | |
CN102025841A (en) | Method and device for reminding telephone number change | |
CN103186853A (en) | Mobile payment method, device and system for server side and client side | |
CN111066333A (en) | Device capable of acquiring ESIM configuration file | |
CN101207842A (en) | System and method for contents sharing among mobile terminals | |
CN103167449A (en) | Method and system for setting call forwarding to communication terminal local machine | |
CN101662745A (en) | Method and system for realizing number portability of short message | |
CN103888923A (en) | Call proceeding method, system and device applied to virtual private mobile network | |
CN101150869B (en) | A method and device for realizing intelligent communication of mobile terminal | |
CN104469720A (en) | Method and system for calling back incoming call number | |
CN105187601A (en) | Enterprise information display method and display device for short messages | |
CN105357655A (en) | Method and device for distinguishing types of voice telephone bills | |
CN105246063A (en) | Charging method, device and system | |
CN103096273B (en) | Method, equipment and the system that a kind of up short message sends | |
CN105208537A (en) | Call transfer state query method and system | |
CN101730316A (en) | Method, system and device for switching number | |
CN101426200B (en) | Authentication method and terminal device for terminal management software | |
CN101902699B (en) | Message number-based message processing method and device | |
CN103067850B (en) | Mobile communication service cost inquiry method and device and system | |
CN103841508A (en) | User information obtaining method and information aggregation platform | |
CN100512501C (en) | Information notification method, system and device for mobile intelligent subscriber during international roaming |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |