Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that is obtained under the creative work prerequisite.
Fig. 1 is the flow chart of subscriber equipment dial-up networking method embodiment one of the present invention, and as shown in Figure 1, this method comprises:
Step 101, after subscriber equipment inserts main process equipment, the Subscriber Identity Module of inquiring user equipment.
Wherein, the subscriber equipment in the various embodiments of the present invention for example is a data card, and main process equipment for example is the PC terminal, below with UE (User Equipment) expression subscriber equipment, represent main process equipment with PC.After UE powers on, promptly after UE inserts PC equipment,, need obtain APN earlier in order to make the UE online.In order from UE, to obtain APN information, in the Subscriber Identity Module of the UE of the embodiment of the invention, can store the APN information of this Subscriber Identity Module correspondence in advance; Wherein this Subscriber Identity Module for example is SIM (Subscriber Identity Module) card or usim card (global Subscriber Identity Module).
UE in the various embodiments of the present invention can be mobile broadband (Mobile Broad Band) product.
After UE inserted PC equipment, UE inquired about its Subscriber Identity Module, to obtain APN information.
Step 102, if Subscriber Identity Module in store first access-in point information, then from Subscriber Identity Module, obtain first access-in point information, and dial up on the telephone by PC according to first access-in point information.
Wherein, in the various embodiments of the present invention, the APN information of storing in the Subscriber Identity Module is called an APN information.
When storing an APN information in the Subscriber Identity Module, then UE just obtains one the one APN information from its Subscriber Identity Module, UE can dial up on the telephone by PC equipment according to an APN information of obtaining then, and the process that specifically dials up on the telephone can be identical with the existing process that dials up on the telephone.
The embodiment of the invention, UE inquires about the Subscriber Identity Module of this UE, if store an APN information in the Subscriber Identity Module, then UE can obtain an APN information from Subscriber Identity Module, dial up on the telephone then and according to an APN information, UE can obtain APN information automatically and dials up on the telephone from the Subscriber Identity Module of self thus, and need not from the PC side to obtain access-in point information, thereby can reduce the quantity at the customized version of PC side software.
Fig. 2 is the flow chart of subscriber equipment dial-up networking method embodiment two of the present invention, and as shown in Figure 2, this method comprises:
The Subscriber Identity Module of step 201, inquiry UE.
Various embodiments of the present invention go under CDMA, WCDMA, TD-SCDMA and the LTE network, and all types portable terminal self adaptation is obtained in the scene of APN, dialing automatically.
Behind main process equipments such as UE access main process equipment, UE inquires about whether store an APN information in its Subscriber Identity Module;
If store an APN information in the Subscriber Identity Module, then execution in step 202;
If do not store an APN information in the Subscriber Identity Module, then execution in step 203.
Step 202, from Subscriber Identity Module, obtain an APN information, and dial up on the telephone by PC according to an APN information.
UE obtains one the one APN information from Subscriber Identity Module, dial up on the telephone according to an APN information of obtaining then, and this step specifically can comprise:
Step a1, from Subscriber Identity Module, obtain one the one APN information, and dial up on the telephone according to an APN information of obtaining; If dial up on the telephone failure, then execution in step a2;
Step a2, from Subscriber Identity Module, obtain a next APN information, and dial up on the telephone, till the success of dialling up on the telephone according to the next one the one APN information of obtaining; Perhaps, dial up on the telephone all till the failure according to each the APN information in the Subscriber Identity Module.If all fail when all the APN information in the Subscriber Identity Module dial up on the telephone, then execution in step 203.
Wherein can comprise one or more APN information in the Subscriber Identity Module.
Step 203, from first memory space of UE, obtain the 2nd APN information, and dial up on the telephone by PC according to the 2nd APN information.
Different operators can corresponding different APN information, present embodiment can be stored the APN information of a plurality of operators correspondence in advance in the memory space of UE thus, so that UE when using the Subscriber Identity Module of different operators, all can get access to corresponding APN information from the memory space of UE.
In the various embodiments of the present invention, the APN information of storing at first memory space of UE is called the 2nd APN information, and wherein, this first memory space is used to store the APN information of a plurality of operators correspondence.When an operator when a plurality of APN information should be arranged, can arrange the APN information of storage according to the priority, make that the high APN information of priority can be preferentially selected; The height of priority for example can be the sequencing of storage or the probability size of dial-up success, but is not limited to this.
UE obtains one the 2nd APN information from first memory space, dial up on the telephone according to the 2nd APN information of obtaining then, and this step specifically can comprise:
Step b1, UE obtain one the 2nd APN information from first memory space of UE, and dial up on the telephone according to the 2nd APN information of obtaining; If dial up on the telephone failure, then execution in step b2;
Step b2, from first memory space of UE, obtain next the 2nd APN information, and dial up on the telephone, till the success of dialling up on the telephone according to the next one the 2nd APN information of obtaining; Perhaps, dial up on the telephone all till the failure according to each the 2nd APN information in first memory space of UE.
If all fail when all the 2nd APN information among the UE dial up on the telephone, then can use the method for the existing APN of obtaining information to obtain APN information, for example by manually choosing APN information or obtaining APN from host device.
The 2nd APN information of each operator's correspondence of wherein storing among the UE can be for one or more.
Need to prove:, when the embodiment of the invention can be obtained the 2nd APN information at first memory space of UE, select the operator corresponding two APN information affiliated with UE in order to optimize the selection course of APN information; For example: UE can get access to the operator's informaiton under it from Subscriber Identity Module, according to the sign of the operator's informaiton that obtains, obtains the two APN information corresponding with this operator from first memory space then.
Further, in order to obtain APN information sooner and more easily, the method that present embodiment provides can also comprise:
Step 204, after the success of dialling up on the telephone, APN information of using during with dial-up success or the 2nd APN information, and the identification information of Subscriber Identity Module adds in second memory space of UE.
In the process of above-mentioned steps 201-203, as long as dial up on the telephone successfully, then this time dialled up on the telephone employed APN information stores in second memory space of UE, and the identification information of employed Subscriber Identity Module stores also in second memory space of UE when this time dialled into.Thus, under the immovable situation of Subscriber Identity Module, when UE dials up on the telephone next time, can directly inquire about second memory space, directly obtaining the APN information of using during dial-up success last time, thereby improve the efficient of obtaining APN.Second memory space in the present embodiment is the memory space that is used for the identification information of APN information that memory dialing when success use and Subscriber Identity Module.
Need to prove that the APN information in the various embodiments of the present invention and the 2nd APN information only are that the position of storing in advance is different, itself is difference not.
When present embodiment comprised step 204, present embodiment may further comprise the steps can also inquire about the Subscriber Identity Module of UE in step 201 before:
Step 200, UE inquire about its second memory space, if store the APN information of dial-up success correspondence, then execution in step 201B in second memory space; If do not have APN information in second memory space, perhaps when execution in step 201B dialled up on the telephone failure, then execution in step 201.
Need to prove, when UE inquires the APN information of dial-up success correspondence in its second memory space, whether the identification information of Subscriber Identity Module that can further judge this APN information correspondence is consistent with the identification information of the Subscriber Identity Module of current use, if it is consistent, execution in step 201B then, if inconsistent, then execution in step 201.
Step 201B, dial up on the telephone according to the APN information of dial-up success correspondence.
Concrete, under the situation that the Subscriber Identity Module that UE uses does not change, just under the situation that the operator of UE correspondence does not have to change, the APN information of the success of dialling up on the telephone before UE just can use dials up on the telephone.
Said method by present embodiment provides can get access to APN information, dials up on the telephone according to the APN information that gets access to then; Present embodiment can also improve the process that dials up on the telephone, and specifically can may further comprise the steps:
Step c1, receive PC and drive the notice message that being used to of sending notify the NDIS port mapping of UE to finish.
The NDIS of UE (Network Driver Interface Specification is designated hereinafter simply as: NDIS) port the PC side finish the network interface card mapping no abnormal after, the PC bottom layer driving can send the notice message to UE.
Step c2, according to the notice message return response message so that UE and PC set up packet data protocol (Packet Data Protocol is designated hereinafter simply as: PDP) connection, to set up dial-up connection with PC.
UE returns response message to PC after receiving the notice message of PC transmission, just can initiate PDP to PC then and activate request, connects to set up PDP, so that final UE and PC set up dial-up connection.
Wherein, can also increase overtime protection mechanism in the UE side; after UE returns response message according to the notice message; if UE is setting up in the process that PDP is connected with PC; be not used to represent the normal message of finding of PC service what Preset Time received that the PC side sends; then UE initiates PDP deexcitation request, discharging and being connected of PC, thereby can avoid the wasting of resources.
The embodiment of the invention has increased the step of obtaining APN information from the memory space of UE on basis embodiment illustrated in fig. 1, also the process that dials up on the telephone is improved.Thus, present embodiment has improved the efficient of obtaining APN information except having advantage embodiment illustrated in fig. 1, and has increased the reliability of obtaining APN information from UE, and has realized the UE automatic dialup.
Fig. 3 A and Fig. 3 B are the flow chart of subscriber equipment dial-up networking method embodiment three of the present invention, and as shown in Figure 3A, this method comprises:
Step 301a, UE insert PC equipment, execution in step 302a then.
Step 302a, UE search the international mobile subscriber identity that whether records the APN information and the SIM card of using of successful connection last time in self memory space, and (International Mobile Subscriber Identification Number is designated hereinafter simply as: IMSI); If record APN information, and the IMSI of current SIM card and record is identical, then execution in step 303a; If do not write down APN information, perhaps the IMSI of the IMSI of current SIM card and record is inequality, then execution in step 304a.
Self memory space of described UE can be the memory of described UE, for example the memory on the data card veneer also can be connected extension storage space, for example the extension storage card that is connected with described data card, block as SD (Secure Digital Memory, safe digital).
The APN information of step 303a, service recorder dials up on the telephone; If then connecting, success sets up, if fail then execution in step 304a.
Whether store APN information in step 304a, the UE inquiry usim card; If store, then execution in step 305a does not store as if having, then execution in step 308a.
Step 305a, UE read APN information from usim card, then execution in step 306a.
Operator can with the expectation the APN information stores in the EF_ACL of usim card file; EF_ACL file storage APN information list is if there are a plurality of APN information then can control priority level by the sequencing of adjusting APN information in the usim card.
Step 306a, UE use the APN information that reads to dial up on the telephone; If then connecting, success sets up, if fail then execution in step 307a.
Whether also has the use of dialling of other APN information in step 307a, the UE inquiry usim card; If have and then carry out repeated execution of steps 305a to 306a, if there is not then execution in step 308a.
Whether store APN information among step 308a, the UE inquiry UE; If then execution in step 309a is arranged, if then can not use other existing methods to obtain APN information.
The UE software inhouse presets the alternative parameter of the APN information list of each operator of the whole world as dialing, when the EF_ACL of usim card file is sky, can reads proper A PN information and be used for dialing from this tabulation.
The public land mobile communication network of storage operator in the above-mentioned APN information list (Public Land Mobile-communication Network is designated hereinafter simply as: PLMN), and the APN information of PLMN correspondence; Wherein, a PLMN can corresponding a plurality of APN information.PLMN has a plurality of APN at once, and the priority level height can be according to the sequencing of APN information stores.
When UE obtains APN information, can preferentially obtain the current affiliated corresponding APN information of operator with UE, be specifically as follows; UE can pass through the APN information of PLMN section matched and searched correspondence from the APN information list then by reading the PLMN section that IMSI obtains operator.
Step 309a, UE read APN information, execution in step 310a then from the APN information list.
The APN information that step 310a, use read dials up on the telephone; If then connecting, success sets up, if fail then execution in step 311a.
Whether also has the use of dialling of other APN information in step 311a, the UE inquiry APN information list; If have and then carry out repeated execution of steps 309a to 310a,, for example use client software manually to obtain APN information if then do not use other existing methods to obtain APN information.
After dial-up connection is set up successfully, on the veneer of the UE that the IMSI of the APN information of this successful connection and the SIM card of using is write down, so that use during next dial-up connection.
According to step 301a-step 311a, UE just can dial after obtaining APN information automatically, and it is that example is described the method for dialing automatically that the present invention is mapped as network card equipment with UE, and shown in Fig. 3 B, the method for dialing can comprise automatically:
The NDIS port of step 301b, UE is finished the mapping of network interface card (Network Adapter) equipment in the PC side, shine upon no abnormal after, execution in step 302b.
Step 302b, the ready back of NDIS port PC drive request (Request) the message notifying UE that (PC Driver) sends specific format.
Wherein the form of this message, content can be self-defined.
After step 303b, UE received the request message of PC driving transmission, state normally then drove to PC and returns response (Response) message; Initiate PDP then and activate request, set up Radio Link.
Wherein, step 302b and step 303b guarantee that for mechanism through consultation the connection status of PC and UE is consistent, just UE initiates PDP and activates request under the ready prerequisite of PC side NDIS port.Because after the NDIS port is ready, PC drives and can initiatively send request message notice UE, and this request message is aforesaid notice message, and UE can return response message after receiving this request message, can realize the automatic dialing after UE inserts PC thus.
After step 304b, PDP activated successfully, UE reported connection status to indicate to PC and drives.
Simultaneously, UE can start DHCP discovery (DHCP Discover) message that timer (Timer_dhcp) waits for that the PC side sends.Wherein, DHCP is that DynamicHost is provided with agreement (Dynamic Host Configuration Protocol).
Step 305b, PC drive reporting system and initiate the DHCP negotiations process.
Start if PC side DHCP service is normal, will send dhcp discover message to UE.
If PC side DHCP service is unusual, the UE side just can't be received the dhcp discover message that the PC side sends, and UE initiates PDP deexcitation request release Radio Link behind timer expiry.Thus, can avoid causing the waste of resource owing to the PC side causes UE still to take Radio Link unusually.
Dial-up connection was set up after DHCP consulted to finish, and UE can directly use internet service.
In addition, (Over The Air abbreviates as the support of 3GPP standard criterion: the OTA) file among the information updating USIM by eating dishes without rice or wine.When the APN information stores in usim card, the APN configuration information that operator just can be by the remote update specific user of short message service center.
Need to prove: manual dialup also can utilize the APN information that presets among USIM that the embodiment of the invention provides or the UE, thereby can prevent that the user is provided with wrong APN information cause the dialling situation of failure; Concrete, can successively attempt according to following flow process according to priority: first kind, the APN information that the user manually is provided with; Second kind, from usim card, read APN information; The third reads APN information from the APN tabulation of each operator of the whole world that the UE software inhouse presets; More than three kinds of situations all attempt after still failure, manual dialup just reports mistake.
The embodiment of the invention can realize for example characteristic of data card product " plug and play " of portable terminal product, is user-friendly to greatly; Can also reduce the possibility that subscriber dialing makes mistakes, increase security mechanism; And can reduce the quantity of PC side software customized version; Operator preset different APN information can also be easily for the different brackets user by the management usim card, and change that can Long-distance Control user APN information.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; Aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 4 is the dial up on the telephone schematic diagram of device embodiment one of subscriber equipment of the present invention, and this device is contained in the subscriber equipment, and as shown in Figure 4, this device comprises: enquiry module 41, first processing module 43 and dial module 45.
Enquiry module 41 after subscriber equipment inserts main process equipment, the Subscriber Identity Module of inquiring user equipment.
First processing module 43 is used for then obtaining first access-in point information if enquiry module 41 inquires Subscriber Identity Module and stores first access-in point information from Subscriber Identity Module.Dial module 45 is used for dialling up on the telephone by main process equipment according to first access-in point information that first processing module 43 is obtained.
Each module operation principle and workflow do not repeat them here referring to the description among the said method embodiment one in the present embodiment.
The embodiment of the invention, enquiry module is inquired about the Subscriber Identity Module of this UE, if store an APN information in the Subscriber Identity Module, then first processing module can be obtained an APN information from Subscriber Identity Module, dial module dials up on the telephone according to an APN information then, UE can obtain APN information automatically and dials up on the telephone from the Subscriber Identity Module of self thus, and need not from the PC side to obtain access-in point information, thereby can reduce the quantity at the customized version of PC side software.
Fig. 5 is the dial up on the telephone schematic diagram of device embodiment two of subscriber equipment of the present invention; on basis embodiment illustrated in fig. 4, this device can also comprise: second processing module 47, add module 49, the 3rd processing module 40 and overtime protection module (not shown).
Second processing module 47 is used for if Subscriber Identity Module is not stored first access-in point information, perhaps as if the failure of dialling up on the telephone according to first access-in point information, then from first memory space of subscriber equipment, obtain second access-in point information, so that second access-in point information that dial module is obtained according to second processing module dials up on the telephone.
Add module 49 and be used for after dial module 45 dials up on the telephone success, first access-in point information that uses during with dial-up success or second access-in point information, and the identification information of Subscriber Identity Module adds in second memory space of subscriber equipment.
The 3rd processing module 40 was used for before the Subscriber Identity Module of enquiry module 41 inquiring user equipment, if store first access-in point information or second access-in point information of dial-up success correspondence in second memory space of subscriber equipment, then the access-in point information according to the dial-up success correspondence dials up on the telephone; Otherwise trigger the step of enquiry module 41 with the Subscriber Identity Module of execution inquiring user equipment.
Overtime protection module is used for setting up the process that packet data protocol is connected with main process equipment; if represent that in Preset Time being used to of not receiving that main process equipment sends the main process equipment service finds message normally; then initiation packet data protocol deexcitation request is to discharge and being connected of main process equipment.
Concrete: first processing module 43 can comprise: first processing unit 431 and second processing unit 433.Wherein, at least one first access-in point information of storage in the Subscriber Identity Module.
First processing unit 431 is used for obtaining one first access-in point information from Subscriber Identity Module, so that dial module dials up on the telephone according to first access-in point information that first processing unit obtains if Subscriber Identity Module stores first access-in point information.Second processing unit 433 is used for the failure if dial module dials up on the telephone, then from Subscriber Identity Module, obtain next first access-in point information, so that dial module dials up on the telephone according to the next one first access-in point information that second processing unit obtains, till dial up on the telephone success or all failures of dialling up on the telephone according to each first access-in point information in the Subscriber Identity Module.
Second processing module 47 comprises: the 3rd processing unit 471 and is managed unit 473 everywhere.Wherein, at least one second access-in point information of storage in first memory space of subscriber equipment.
The 3rd processing unit 471 is used for if Subscriber Identity Module is not stored first access-in point information, perhaps as if the failure of dialling up on the telephone according to first access-in point information, from first memory space of subscriber equipment, obtain one second access-in point information, so that dial module 45 dials up on the telephone according to second access-in point information that the 3rd processing unit 471 obtains.The failure of managing everywhere that unit 473 is used for if second access-in point information that dial module 45 is obtained according to the 3rd processing unit 471 dials up on the telephone, then from first memory space of subscriber equipment, obtain next second access-in point information, so that managing the next one second access-in point information that unit 473 obtains everywhere according to the, dial module 45 dials up on the telephone, till dial up on the telephone success or all failures of dialling up on the telephone according to each second access-in point information in first memory space of subscriber equipment.
Dial module 45 comprises: receiving element and return the unit (not shown).
The notice message that the NDIS port mapping that is used for notifying user equipment that the driving of receiving element reception main process equipment sends is finished.Return the unit and return response message, to set up dial-up connection with main process equipment according to the notice message.
Each module and cell operation principle and workflow do not repeat them here referring to the description of above-mentioned each method embodiment in the present embodiment.
The embodiment of the invention has increased the step of obtaining APN information from the memory space of UE on basis embodiment illustrated in fig. 4, also the process that dials up on the telephone is improved.Thus, present embodiment has improved the efficient of obtaining APN information except having advantage embodiment illustrated in fig. 4, and has increased the reliability of obtaining APN information from UE, and has realized the UE automatic dialup.
The present invention also provides a kind of subscriber equipment system that dials up on the telephone, and this system comprises subscriber equipment, and this subscriber equipment comprises arbitrary subscriber equipment provided by the invention device that dials up on the telephone.
Further, this system also comprises: main process equipment.Main process equipment comprises: the notice sending module is set up module with being connected.
The notice sending module sends the notice message to subscriber equipment after the NDIS port mapping of subscriber equipment is finished, so that subscriber equipment returns response message according to the notice message.
Connect and set up the response message that module is returned according to subscriber equipment, set up packet data protocol with subscriber equipment and be connected, to set up dial-up connection with subscriber equipment.
Device that the embodiment of the invention provides and system are used for realizing above-mentioned each the method embodiment of the embodiment of the invention, and this device and system have the advantage described in above-mentioned each method embodiment.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment put down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.