Embodiment
The embodiment of the invention when receiving associated person information and communication service request information, is chosen the contact phone number that belongs to an operator together with communication service initiator telephone number and is initiated communication service as destination number.
As shown in Figure 1, for the present invention initiates the flow chart of the method embodiment one of communication service, this embodiment may further comprise the steps:
Step 101 receives associated person information and communication service request information.Described communication service can be one or more in the communication services such as telephone call service, short message service and multimedia messaging service, MMS;
Step 102 is chosen the contact phone number that belongs to an operator together with communication service initiator telephone number and is initiated communication service as destination number.
Step 102 specifically can comprise: choose with communication service initiator telephone number and belong to the contact phone number of an operator together as destination number; Prompting communication service initiator selects this destination number to initiate communication service; The communication service initiator selects this destination number to initiate communication service.
Choose the contact phone number that belongs to an operator together with communication service initiator telephone number and initiate communication service as destination number, communication between the different operators can be converted into the communication within the same operator, thereby avoid extra communication cost, alleviate burden for users.
As shown in Figure 2, for the present invention initiates the flow chart of the method embodiment two of communication service, this embodiment is that example describes with the telephone call service, may further comprise the steps:
Step 201 sets in advance the corresponding relation of network identification code and mobile communication network operator.
Network identification code is used to identify different mobile communication network operator, for the GSM network, network identification code is domestic object code (National Destination Code, hereinafter to be referred as: NDC), for cdma network, network identification code be Mobile Access Code (Mobile Access Code, hereinafter to be referred as: MAC).NDC is identical with MAC essence, just appellation difference in the different mobile communication network system.At present, the NDC of China Mobile GSM network has 134,135,136,137,138,139,158 and 159 etc., and the NDC of the GSM of CHINAUNICOM network has 130,131,132 and 156 etc., and the MAC of CHINAUNICOM's cdma network has 133 and 153 etc.As shown in table 1 below, be the corresponding relation example of network identification code of the present invention and mobile communication network operator:
The corresponding relation of table 1 network identification code and mobile communication network operator
NDC or MAC |
Mobile communication network operator |
130-133 |
CHINAUNICOM |
134-139 |
China Mobile |
153 |
CHINAUNICOM |
156 |
CHINAUNICOM |
158 |
China Mobile |
159 |
China Mobile |
Step 202, call initiator user is selected telephone called contact person from telephone directory, and issues phone call request.
Step 203 judges whether this telephone called contact person has a plurality of telephone numbers, if having execution in step 204; Otherwise, execution in step 208.
The telephone number of mobile communication subscriber is mobile subscriber's international number (Mobile SubscriberISDN/PSTN Number, hereinafter to be referred as: MSISDN) or Mobile Directory Number (MobileDirectory Number, MDN), MSISDN is at the GSM network, and MDN is at cdma network.
The coded format of MSISDN is: CC+NDC+H0H1H2H3+ABCD;
The coded format of MDN is: CC+MAC+H0H1H2H3+ABCD.
Wherein: CC is national code (Country Code), and China is+86; H0H1H2H3 is that (Home Location Registration is hereinafter to be referred as HLR) identification code for attaching position register; ABCD is a mobile subscriber number.The telephone number of mobile communication subscriber can comprise national code, also can not comprise national code, for example: mobile communication both sides are when same country, and during mobile communication initiator's call mobile communication the other side, mobile communication the other side's telephone number can not comprise national code.
Step 204, obtain the network identification code in call initiator telephone number and the telephone called contact phone number, the network identification code that inquiry sets in advance and the corresponding relation of mobile communication network operator obtain the call initiator telephone number mobile communication network operator corresponding with telephone called contact phone number.Particularly, can obtain the mobile communication network operator of the whole telephone number correspondences of telephone called contact person, also can only obtain the mobile communication network operator of wherein one or more telephone number correspondences.
At first, according to the mobile communication subscriber coding rule of telephone numbers, resolve call initiator's telephone number and telephone called contact phone number, obtain the network identification code in call initiator telephone number and the telephone called contact phone number, then, the network identification code as shown in table 1 that sets in advance by inquiry and the corresponding relation of mobile communication network operator obtain the call initiator telephone number mobile communication network operator corresponding with telephone called contact phone number.
Suppose: call initiator's telephone number is 13400000000, telephone called contact person's telephone number is 13000000000 and 13500000000, then as can be known according to table 1, call initiator's telephone number belongs to China Mobile, telephone called contact person's telephone number 13000000000 belongs to CHINAUNICOM, and telephone called contact person's telephone number 13500000000 belongs to China Mobile.
Above-mentioned telephone number type resolving is embodied as example with the current network of China, and when network realize to change or when being applicable to other countries, corresponding judgment basis may change thereupon in the above-mentioned analytic process.
Step 205 judges whether telephone called contact person has the telephone number that belongs to a mobile communication network operator with call initiator telephone number together, if execution in step 206 is arranged; Otherwise, execution in step 208.
According to the example in the step 204, telephone called contact person's telephone number 13500000000 belongs to China Mobile together with call initiator's telephone number 13400000000.
Step 206 is chosen with call initiator telephone number and is belonged to the telephone called contact phone number of a mobile communication network operator together as destination number.If this telephone called contact person has a plurality of telephone numbers and call initiator telephone number belongs to a mobile communication network operator together, then can one of picked at random or choose one according to the rule that sets in advance, or transfer to call initiator user and choose one as destination number.
Step 207, prompting call initiator user selects this destination number telephone calling request.
Call initiator user can select this destination number telephone calling request, and a telephone number also can independently selecting telephone called contact person is as the destination number telephone calling request.
Step 208 is according to existing set flow process telephone calling request.
For example: a unique telephone number of directly selecting telephone called contact person is as the destination number telephone calling request, and a telephone number perhaps transferring to the autonomous telephone called contact person of selection of call initiator user is as the destination number telephone calling request.
Short message or the Multimedia Message transmission flow of being equally applicable to embodiment illustrated in fig. 2.
As shown in Figure 3, for the present invention initiates the flow chart of the method embodiment three of communication service, this embodiment is that example describes with the short message, may further comprise the steps:
Step 301 sets in advance the corresponding relation of network identification code and mobile communication network operator.
Particularly, identical with above-mentioned steps 201, repeat no more.
Step 302, setting belong to operator's communication together and enable the sign state.
When this sign state when enabling, be illustrated in when initiating communication service request, for example: telephone calling request, when short message or Multimedia Message send request, need the affiliated operator of identification initiator's telephone number and contact phone number, choose the contact phone number that belongs to an operator together with initiator's telephone number and initiate communication service, or the contact phone number that prompting initiator user selects to belong to an operator together with initiator's telephone number is initiated communication service as destination number as destination number.When this sign state when closing, then be illustrated in when initiating communication service request, need not to discern initiator's telephone number operator affiliated, but handle according to existing set flow process with contact phone number.This sign state can be set up or upgrade.
In addition, step 302 can be carried out simultaneously with step 301, also can carry out prior to step 301.
Step 303, the short message that short message transmit leg user edits short message or need to select to transmit, behind the selected short message receiving debit contact person, following short-message sending sends request from telephone directory.
Step 304 judges that whether belong to operator's communication together enables the sign state for enabling, and is execution in step 305; Otherwise, execution in step 311.
Belong to operator's communication together by setting and enable the sign state, whether the user can specify in needs to discern initiator's telephone number and the affiliated operator of contact phone number when initiating communication service request, choose the contact phone number that belongs to an operator together with initiator's telephone number and initiate communication service as destination number, thereby the communication between the different operators is converted into communication within the same operator, the extra communication cost that is produced when avoiding between different operators communication.
Step 305 judges that whether this short message receiving debit contact person has a plurality of telephone numbers, is execution in step 306; Otherwise, execution in step 311.
Step 306, obtain the network identification code in short message transmit leg telephone number and the short message receiving debit contact phone number, the network identification code that inquiry sets in advance and the corresponding relation of mobile communication network operator obtain the affiliated mobile communication network operator of short message transmit leg telephone number and short message receiving debit contact phone number.Concrete grammar can refer step 204.
Step 307 judges whether short message receiving debit contact person has the telephone number that belongs to a mobile communication network operator with short message transmit leg telephone number together, if execution in step 308 is arranged; Otherwise, execution in step 309.
Step 308, choose belong to a mobile communication network operator together with short message transmit leg telephone number short message receiving debit contact phone number as destination number, prompting short message transmit leg user selects this destination number to send SMS message.
Step 309, whether short message transmit leg user selects this destination number to send SMS message, and is execution in step 310; Otherwise, execution in step 311.
Step 310, sender-selected this destination number of short message sends SMS message.
Step 311 sends SMS message according to existing set flow process.
For example: directly select short message receiving debit contact person's a unique telephone number to send SMS message as destination number, perhaps, transferring to short message transmit leg user independently selects short message receiving debit contact person's a telephone number to send SMS message as destination number.
Call initiation or the Multimedia Message transmission flow of being equally applicable to embodiment illustrated in fig. 3.
As shown in Figure 4, be the structural representation of terminal embodiment one of the present invention, this terminal comprises interconnective human-computer interaction module 401, chooses module 402, and the communication service module 403 that is connected with human-computer interaction module 401, also comprise and choose the Subscriber Identity Module that module 402 is connected.
Wherein, human-computer interaction module 401 is used to provide man-machine information interaction function, the associated person information and the communication service request information of received communication Business Initiator user input, in addition, can also be used to export information, initiate communication service with the contact phone number that prompting communication service initiator user selects to belong to an operator together with communication service initiator telephone number as destination number, and the contact phone number of received communication Business Initiator user selection; Choose module 402 and be used for resolving the contact phone number of associated person information of human-computer interaction module 401 inputs to obtain its network identification code, the communication service initiator telephone number that parsing is read from Subscriber Identity Module is to obtain its network identification code, the network identification code that sets in advance of inquiry and the corresponding relation of operator obtain the operator's informaiton of contact phone number and the operator's informaiton of communication service initiator telephone number, and choose with communication service initiator telephone number and belong to the contact phone number of an operator together as destination number; Communication service module 403 is used to handle communication service.
In terminal shown in Figure 4, choosing module 402 can be by the resolution unit, the acquiring unit that connect successively, choose the unit and Tip element constitutes.Wherein, resolution unit is connected with human-computer interaction module 401 and Subscriber Identity Module respectively, the contact phone number of associated person information that is used for resolving human-computer interaction module 401 inputs to be to obtain its network identification code, resolves the communication service initiator telephone number that reads from Subscriber Identity Module to obtain its network identification code; Acquiring unit is used to inquire about the network identification code that sets in advance and the corresponding relation of operator, obtains the operator's informaiton of contact phone number and communication service initiator telephone number; Choose the unit and be connected, be used to choose with communication service initiator telephone number and belong to the contact phone number of an operator together as destination number with communication service module 403; Tip element is connected with human-computer interaction module 401, is used to export information and initiates communication service with the contact phone number that prompting communication service initiator user selects to belong to an operator together with communication service initiator telephone number as destination number.As shown in Figure 5, be the structural representation of terminal embodiment two of the present invention.
As shown in Figure 6, structural representation for terminal embodiment three of the present invention, this terminal can also comprise judge module 404, respectively with human-computer interaction module 401 and choose module 402 and be connected, particularly, be connected with the resolution unit in choosing module 402, after being used to receive the associated person information of human-computer interaction module 401 inputs, judge whether this contact person has a plurality of telephone numbers; When resolution unit has a plurality of telephone number this contact person, resolve a plurality of telephone numbers of contact person, resolve the communication service initiator telephone number that reads from Subscriber Identity Module to obtain its network identification code to obtain its network identification code.
Further, as shown in Figure 7, be the structural representation of terminal embodiment four of the present invention, this terminal can also comprise first memory module 405, is connected with human-computer interaction module 401 and judge module 404 respectively, is used for storage and belongs to operator's communication startup sign together.By human-computer interaction module 401, the user can be provided with or upgrade this sign state.After judge module 402 receives the associated person information of human-computer interaction module 401 inputs, read the operator's communication startup sign state that belongs to together of storage in first memory module 405, if this sign state is for enabling, judge whether this contact person has a plurality of telephone numbers, if this sign state for closing, then communicates professional processing according to set flow process.
As shown in Figure 8, structural representation for terminal embodiment five of the present invention, this terminal can also comprise second memory module 406, be connected with human-computer interaction module 401 and judge module 404 respectively, it is thin to be used for storing call, contact person in this telephone directory can have one or more telephone numbers, and the user can safeguard associated person information in this telephone directory by human-computer interaction module 401.When judge module 404 receives the associated person information of human-computer interaction module 401 inputs, inquire about the telephone directory of storage in second memory module 406, judge whether this contact person has a plurality of telephone numbers.
As shown in Figure 9, structural representation for terminal embodiment six of the present invention, this terminal can also comprise the 3rd memory module 407, with choose module 402 and be connected, particularly, be connected with the acquiring unit in choosing module 402, be used to store the network identification code that sets in advance and the corresponding relation of operator, an instantiation of this corresponding relation is as shown in table 1.
Among the above-mentioned terminal embodiment of the present invention, communication service module 403 can be telephone call service module, short message service module or multimedia messaging service, MMS module, also can be part communication service module wherein.
Some or all part among the above embodiment, description according to the embodiment of the invention, those skilled in the art can do appropriate adaptation, for example: telephone directory can be stored in external storage or the network, the corresponding relation of network identification code and operator, belongs to operator together and communicates by letter and start sign and can be stored in external storage or the network.
When the embodiment of the invention is initiated communication service request the user, judge whether the contact person has a plurality of telephone numbers, and choose with communication service initiator telephone number and belong to the contact phone number of an operator together as destination number, the prompting user selects this destination number to initiate communication service, thereby the communication between the different operators is converted into communication within the same operator, avoid extra communication cost, alleviate burden for users;
In the embodiment of the invention, communication service initiator user can belong to operator's communication together by setting and enable the sign state, whether specify in needs to discern initiator's telephone number and the affiliated operator of contact phone number when initiating communication service request, choose the contact phone number that belongs to an operator together with initiator's telephone number and initiate communication service as destination number, thereby the communication between the different operators is converted into communication within the same operator, the extra communication cost that is produced when avoiding between different operators, communicating by letter, and business realizing is flexible.
Need to prove at last: above embodiment only is used to technical scheme of the present invention is described, but not the present invention is made restrictive sense.Although technical scheme of the present invention is had been described in detail with reference to above-mentioned preferred embodiment, those of ordinary skill in the art is to be understood that: it still can make amendment or be equal to replacement technical scheme of the present invention, and this modification or be equal to the spirit and scope that replacement does not break away from technical solution of the present invention.