Summary of the invention
The present invention is in order to make automatic navigator equipment reliably support flexibly the access of the 3G network of three large mobile communication carriers simultaneously, in-vehicle navigation apparatus can automatically be followed according to the conversion of connected 3G terminal data card and adjust and adapt to different networks, design a kind of Dialing Method of the vehicle mounted guidance instrument apparatus of supporting multimode 3G network, realized the access of simultaneously supporting three mobile communication carriers to adopt the 3G data network of the networking model of three kinds of different technologies.
The technical solution used in the present invention is: a kind of Dialing Method of the vehicle mounted guidance instrument apparatus of supporting multimode 3G network, this apparatus structure comprises: the housing that is provided with 3G data card card reading interface circuit, be arranged on the CPU with private memory on enclosure interior circuit board, 3G data card state detection circuit, key is: the mapping relations database of the 3G data card equipment ID that stores three kinds of mobile communications network standards in described private memory and corresponding driver, and network ID and carrier network dialing configuration information database, the step that said apparatus dials comprises:
The grafting signal of A, 3G data card state detection circuit real-time detector data card, in the time 3G data card access 3G data card card reading interface circuit having been detected, sends state information to CPU;
B, CPU obtain the device id number of the 3G data card of current access, and in mapping relations database, search corresponding device driver, if found, utilize this driver to carry out initialization to equipment, and set up virtual command channel and data channel, skip to step C; If do not found, skip to step D;
C, CPU access 3G data card by command channel, obtain the network ID of this 3G data card operator, in carrier network dialing configuration information database, search corresponding dialing configuration, if found, set up dial-up service and carry out dial-up connection, skip to step e; If do not found, skip to step D;
D, network connection failure;
E, dial.
The invention has the beneficial effects as follows: reliably support flexibly the access of the 3G network of three large mobile communication carriers simultaneously, in-vehicle navigation apparatus can automatically be followed according to the conversion of connected 3G terminal data card and adjust adapt to different networks, without artificial participation.
Embodiment
A kind of Dialing Method of the vehicle mounted guidance instrument apparatus of supporting multimode 3G network, this apparatus structure comprises: be provided with 3G data card card reading interface circuit housing, be arranged on the CPU with private memory, 3G data card state detection circuit on enclosure interior circuit board, importantly: mapping relations database and network ID and the carrier network dialing configuration information database of the 3G data card equipment ID that stores three kinds of mobile communications network standards in described private memory and corresponding driver, the step that said apparatus dials comprises:
The grafting signal of A, 3G data card state detection circuit real-time detector data card, in the time 3G data card access 3G data card card reading interface circuit having been detected, sends state information to CPU;
B, CPU obtain the device id number of the 3G data card of current access, and in mapping relations database, search corresponding device driver, if found, utilize this driver to carry out initialization to equipment, and set up virtual command channel and data channel, skip to step C; If do not found, skip to step D;
C, CPU access 3G data card by command channel, obtain the network ID of this 3G data card operator, in carrier network dialing configuration information database, search corresponding dialing configuration, if found, set up dial-up service and carry out dial-up connection, skip to step e; If do not found, skip to step D;
D, network connection failure;
E, dial.
Three kinds of described mobile communications network standards are TDSCDMA, CDMA2000 and WCDMA.
After step e has dialled, set up hot plug testing circuit and in real time 3G data card is detected, if the signal that 3G data card is extracted detected, skip to step D; If detect that 3G data card inserts, and skips to steps A.
In the specific implementation, 3G data network access device adopts the 3G data card of the support single communication standard that widely used each mobile operator provides on PC and notebook computer, is connected by 3G data card card reading interface circuit with automatic navigator; Mapping relations database and the carrier network dialing configuration information database of model 3G data card equipment ID and corresponding driver, be kept in private memory.
A, 3G data card state detection circuit detect when 3G data card is connected to automatic navigator, send state information to CPU;
B, CPU obtain the device id number of the 3G data card of current access according to usb protocol, and in mapping relations database, search corresponding device driver, if found, utilize this driver to carry out initialization to equipment, and set up virtual command channel and data channel, skip to step C; If do not found, skip to step D;
C, CPU access 3G data card by command channel, obtain the network ID of this 3G data card operator, in carrier network dialing configuration information database, search corresponding dialing configuration, if found, set up dial-up service and carry out dial-up connection, skip to step e; If do not found, skip to step D;
D, network connection failure;
E, dialled, the hot plug testing circuit of automatic navigator detects the connection status of 3G data card, if the 3G network data card of finding 3G data card card reading interface circuit is to being extracted, exits dial-up connection, skips to step D; And continue monitoring 3G data card card reading interface circuit, in the time having new USB 3G data card access, repeat steps A.
This method makes the access of the 3G network of simultaneously supporting three large mobile communication carriers become possibility, in-vehicle navigation apparatus can automatically be followed according to the conversion of connected 3G terminal data card and adjust adapt to different networks, without artificial participation.