Summary of the invention
The goal of the invention of the embodiment of the invention provides method and the device that a kind of calling that the third party is initiated limits.
The embodiment of the invention provides a kind of method that realizes call business, comprising:
Service server receives the connection calling number of initiator's initiation and the connection request of called number, comprises initiator's number, calling number and called number in this connection request;
According to the mandate relation of calling number and initiator's number, calling number and initiator's number are verified;
According to the checking result, the connection between initiation or refusal calling number and the called number.
The method of described realization call business, the initiator is via the connection request between the Internet initiation calling number and the called number.
The method of described realization call business, the initiator is via the connection request between public switch telephone network PSTN initiation calling number and the called number.
The method of described realization call business also is included in the mandate relation that calling number and initiator's number are set in the service server.
The method of described realization call business by dialing access code, is provided with the mandate relation of calling number and initiator's number; Or by the SMS that sends SMS message to access code, the mandate relation of calling number and initiator's number is set; Or 7, the method for realization call business as claimed in claim 4, it is characterized in that by sending unstructured supplementary service data USSD to access code, the mandate that calling number and initiator's number are set concerns.
The embodiment of the invention also provides a kind of method that realizes call business, comprising:
The mandate relation of calling number and initiator's number is set in service server;
Service server receives the connection calling number of initiator's initiation and the connection request of called number, comprises initiator's number, calling number and called number in this connection request;
According to the mandate relation of calling number and initiator's number, calling number and initiator's number are verified;
According to the checking result, the connection between initiation or refusal calling number and the called number.
The method of arbitrary described realization call business, described calling number and/or called number are telephone number or fax number.
A kind of method that the mandate relation of calling number and initiator's number is set:
Initiate the request message of authorizing relation is set to service server, this request message comprises dialing number information and initiator's number information;
It is that the request message of authorizing relation is set that service server judging goes out this request message, and the mandate that calling number and initiator's number are set according to dialing number information and initiator's number information concerns.
The mandate relation of calling number and initiator's number is set in service server; After service server is received ISSUER's query requests, the mandate relation of inquiring calling number and initiator's number, and return query response message to the ISSUER, the mandate relation that comprises inquiry in the described query response message, so that behind the connection request of connection calling number that service server reception initiator initiates and called number, by described mandate relation calling number and initiator's number are verified, determined the connection between initiation or refusal calling number and the called number.
The embodiment of the invention also provides a kind of service server, comprising:
Record cell, authentication unit, Service Processing Unit;
Described record cell, the mandate relation that is used to store calling number and initiator's number;
Described authentication unit, when being used to receive calling number that the initiator initiates and the connection request between the called number, to the mandate relation of record cell inquiring calling number and initiator's number, calling number and initiator's number are verified, will verify that the result sends to Service Processing Unit;
Described Service Processing Unit is according to being connected of the other-end of verifying result's initiation or refusal calling number corresponding user terminal and called number correspondence.
Described service server, authentication unit also are used for the query requests according to service-user, and the mandate of inquiry or modification calling number and initiator's number concerns from record cell, and return inquiry or revise response message to service-user.
Described service server, calling number and/or called number can be phone and/or facsimile machine number.
Method and apparatus provided by the present invention, mandate relation according to the calling number of storing in the service server and initiator's number, the calling number and the initiator's number that obtain are verified, according to the checking result, connection between initiation or refusal calling number and the called number has prevented that the initiator from initiating the malicious call business.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Fig. 3 is the flow chart of the embodiment of the invention in the PINT business, and its concrete steps comprise:
Step 101: the mandate relation that calling number and initiator's number are set.
By dialing access code, also can be to send SMS message SMS, or send unstructured supplementary service data USSD to modes such as access codes to access code, send the calling that calling number and initiator's number mandate relation are set to the PINT service server;
It is to authorize the initiator to use the intelligent call of calling number as PINT server call number that the PINT service server judging goes out this calling, thereby trigger PINT service server correspondent service logic record cell, record cell writes down above-mentioned mandate relation in database;
Calling number and initiator's number can be telephone numbers, and perhaps other numbers are as fax number etc.
Authorize relation, can implement, also can implement, can also implement by combination white, blacklist by the blacklist mode by the white list mode.
Be a concrete example below:
User's (number is 123) on the terminal of oneself dials specific access code (such as 600) and adds PINT initiator number 456;
The PINT service server judging goes out this calling and uses the intelligent calls of Subscriber Numbers 123 as PINT server call number for subscriber authorisation initiator 456, trigger PINT service server correspondent service logic record cell, record cell write down 123 and 456 mandate and concerns as table 1 in database:
Table 1 is authorized relation table
The user can repeat above step, adds and authorizes with the initiator number of Subscriber Number 123 as PINT server call number.
This step is not must after once being provided with, removing to leave no choice but revise and authorize relation through step of embodiment of the invention flow process, need not to implement this step otherwise implement the embodiment of the invention later on again.
Step 102:PINT Business Initiator specifies calling number and called number, the connectivity request message of initiating the speech channel business between calling number and the called number of setting up at PINT business operation interface.
Step 103:PINT service server receives connectivity request message, comprises calling number in this information, called number, information such as initiator's number.
Calling number, called number, initiator's number can be telephone numbers, perhaps other numbers are as fax number etc.
After step 104:PINT service server was received connectivity request message, whether checking calling number and initiator's number exist was authorized relation, and will verify that the result sends to the Service Processing Unit of service server.
Proof procedure is achieved in that the single initiator's number that whether comprises of the mandate of inquiring calling number; If this mandate list is a white list, initiator's number verifies that then the result is " permission " on this white list, otherwise the checking result is " forbidding "; If this mandate singly is a blacklist, initiator's number verifies that then the result is " forbidding " on this blacklist, otherwise the checking result is " permission ".
Step 105: according to the checking result of step 104, if " permission ", then the Service Processing Unit of PINT service server causes the connection between calling number and the called number, begins communication between the two;
Step 106: according to the checking result of step 104, if the checking result is " forbidding ", the then connection between the Service Processing Unit of PINT service server refusal calling number and the called number.
Technique scheme can also be established a number administration flow process, and the user can come the query originator number related information by dialing a management number, perhaps revises the initiator's number that sets.
Fig. 4 is the flow chart of the embodiment of the invention in the circuitous call business of PSTN, and it is similar to the embodiment of the invention in the PINT business, and its concrete steps comprise:
Step 201: the mandate relation that calling number and initiator's number are set.
By dialing access code, also can be to send SMS message SMS, or send unstructured supplementary service data USSD to modes such as access codes to access code, send the calling that calling number and initiator's number mandate relation are set to the circuitous call business server of PSTN;
It is to authorize the initiator to use the intelligent call of calling number as the circuitous call business calling number of PSTN that the circuitous call business server of PSTN is judged this calling, thereby trigger the circuitous call business server correspondent service logic record cell of PSTN, record cell writes down above-mentioned mandate relation in database;
Calling number and initiator's number can be telephone numbers, and perhaps other numbers are as fax number etc.
Authorize relation, can implement, also can implement, can also implement by combination white, blacklist by the blacklist mode by the white list mode.
The connectivity request message that the circuitous call business initiator of step 202:PSTN initiates the speech channel business between calling number and the called number of setting up.
The circuitous call business server of step 203:PSTN receives connectivity request message, comprises calling number in this information, called number, information such as initiator's number.
Calling number, called number, initiator's number can be telephone numbers, perhaps other numbers are as fax number etc.
After the circuitous call business server of step 204:PSTN was received connectivity request message, whether checking calling number and initiator's number exist was authorized relation, and will verify that the result sends to the Service Processing Unit of service server.
Proof procedure is achieved in that the single initiator's number that whether comprises of the mandate of inquiring calling number; If this mandate singly is a white list, initiator's number verifies that then the result is " permission " on this white list, otherwise the checking result is " forbidding "; If this mandate singly is a blacklist, initiator's number verifies that then the result is " forbidding " on this blacklist, otherwise the checking result is " permission ".
Step 205: according to the checking result of step 104, if " permission ", then the Service Processing Unit of the circuitous call business server of PSTN causes the connection between calling number and the called number, begins communication between the two;
Step 206: according to the checking result of step 104, if the checking result is " forbidding ", the then Service Processing Unit refusal calling number of the circuitous call business server of PSTN and the connection between the called number.
Technique scheme can also be established a number administration flow process, and the user can come the query originator number related information by dialing a management number, perhaps revises the initiator's number that sets.
Fig. 5 is the installation drawing of the technical program service server embodiment, and as shown in Figure 5, the service server of embodiment comprises record cell, authentication unit and Service Processing Unit.Wherein:
Record cell is used to receive and store initiator's number that the user sends, and the mandate relation of Subscriber Number and initiator's number is set;
Authentication unit, when being used to receive calling number that the initiator initiates and the connection request between the called number, the mandate relation of the Subscriber Number of storing in the query note unit and initiator's number, whether calling number and initiator's number to this connection request exist the relation of authorizing to verify, will verify that the result sends to Service Processing Unit;
Service Processing Unit is used for the Receipt Validation result, according to being connected of checking result initiation or refusing user's terminal and other-end.
Wherein, authentication unit also is used for the query requests according to service-user, and the mandate of inquiry or modification calling number and initiator's number concerns from record cell, and returns inquiry or revise response message to service-user.
The function of the mandate relation of described inquiry or modification calling number and initiator's number also can realize by newly-increased administrative unit.
The described user of technique scheme (caller) number, called number or initiator's number can be telephone number or fax number.
The above only is process of the present invention and method embodiment, in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is not equal to replacement, improvement etc., all should be included within protection scope of the present invention.