The method of automatic equipment information acquisition while using " a key navigation " in Telematics system
Technical field
While the present invention relates to a kind of use " a key navigation ", the method for automatic equipment information acquisition, particularly relates in a kind of Telematics system while using " a key navigation " by the method for network mode automatic equipment information acquisition.
Background technology
The technical program belongs to the vehicle-mounted computer system that Telematics(is the employing wireless communication technology) the supporting application of a key navigation system in technical field, relate to and utilize mobile communication network (2G, 3G, 4G) automatically by network mode, to obtain the technical scheme of user terminal phone number.
In Telematics system applies, the application of carrying out self-contained navigation planning by call center artificial on duty for user issues on the Bing application terminal, destination needing is very universal.In order to issue destination to user smoothly, wherein a requisite essential condition is the phone number that call center system server must obtain this user in advance, so just can confirm whether the subscriber phone of current incoming call is correctly registered, as can not continued to use navigation Service (due to the privacy mechanism of national telecommunication department, call center system server can not be as the server of telecom operators the direct cell-phone number that obtains this terminal from terminal) for non-registered users.At present, in Telematics system applies in industry, obtain 2 kinds nothing but of the methods of cell-phone number: the autonomous hand filling of user or call center services personnel initiatively inquire, user oneself inputs in advance and is stored in configuration file or in use and in communication process, inquires user by call center services personnel in terminal.But, before employing under a kind of mode in the situation that, if user has changed after Mobile phone card (or cell-phone number) on same equipment, user's cell-phone number that manual modification oneself has configured again, otherwise call center system just cannot successfully be issued to this user terminal by " destination ".Meanwhile, before employing, under a kind of mode time, if do not read over specification or system not understood in depth, user also at all cannot Self-operating.In addition, if a kind of method of inquiring user's telephone number by call center services personnel in communication process after selecting to adopt, although " destination " successfully can be issued to corresponding user terminal, its operating process is more loaded down with trivial details.
In sum, problem demanding prompt solution is, when adopting above-mentioned two kinds of modes to obtain the cell-phone number of user terminal, or can not guarantee " destination " to be successfully issued to user terminal, or be exactly that operating process is too loaded down with trivial details and be not easy to user's use.
Summary of the invention
Technical problem to be solved by this invention is, the method of automatic equipment information acquisition while using " a key navigation " is provided in a kind of Telematics system, the method can correctly be obtained the IMSI(International Mobile SubscriberIdentification Number of the cell-phone number of user terminal and this cell-phone number of correspondence automatically, international mobile subscriber identity), even and on same user terminal, user has changed Mobile phone card, also can automatically again correctly obtain the cell-phone number of this user terminal.
For solving the problems of the technologies described above, the technical solution used in the present invention is: a kind of method of automatic equipment information acquisition while using " a key navigation " in Telematics system, for automatically obtaining correct user terminal cell-phone number at navigation procedure, the method comprises the following steps:
Detect configuration file step: during startup, in automatic decision user terminal, whether have configuration file, and in configuration file, whether at least comprised two item number certificates, be i.e. cell-phone number and to IMSI that should cell-phone number; If the configuration file in described user terminal exists, whether the IMSI that further checks current phone card is consistent with the IMSI recording in described configuration file, if two data consistents, acquiescence is this user terminal and successfully registration of cell-phone number, complete auto registration process, can normally use;
Auto registration step: if there is not described configuration file in described user terminal, or in described two item numbers certificates, any one data is incomplete, or the IMSI recording in the IMSI of current phone card and described configuration file is inconsistent, point out user to select corresponding telecom operators, and the server of Yu Gai telecom operators carries out alternately automatically, parse the cell-phone number of described user terminal, by the cell-phone number parsing with to IMSI that should cell-phone number, write in the configuration file of described user terminal subsequently;
In described auto registration step, described user terminal automatically and this telecommunications operator's server carry out when mutual: the SMS platform number that first obtains these telecom operators, the form of following in accordance with regulations sends authentication registration application to this SMS platform number, then receives the feedback data of these telecom operators and the phone number parsing from described feedback data is write to assigned address to obtain for described user terminal; Last described user terminal from described assigned address obtain cell-phone number and take the cell-phone number that obtains and to IMSI that should cell-phone number as content is newly-built or upgrade described configuration file.
Preferably, when each described user terminal starts, automatically move in this Telematics system the method for automatic equipment information acquisition while using " a key navigation ".
Preferably, the SMS platform number of described telecom operators writes direct in program code or writes in another configuration file.
Preferably, the form of the authentication registration application sending to described SMS platform number is: device id $ IMSI, the feedback data receiving from described telecom operators comprises: cell-phone number, device id and IMSI.
While preferably, using " a key navigation " in this Telematics system, the method for automatic equipment information acquisition can be applicable in the Series Intelligent operating system platforms such as Android, IOS, Windows CE, Windows Mobile, Windows Phone, Symbian or bada.
Advantage of the present invention is, while using " a key navigation " in Telematics system of the present invention the method for automatic equipment information acquisition by set up between the server of user terminal and telecom operators etc. alternately, can be so that call center system be correctly obtained the cell-phone number of user terminal automatically and to IMSI that should cell-phone number, even and on same user terminal, user has changed Mobile phone card, also can automatically correctly judge and again obtain the cell-phone number of this user terminal.Therefore, technical scheme of the present invention, the system of this type of service was provided relatively in the past, user is changed from the relevant information of primary input (or telling by telephone) into use system is identified automatically, automatic decision obtains, greatly simplified user's operating process, the demand that it is applicable to user at all levels, does not need user learning, needs manually-operated loaded down with trivial details step before automatically completing.
Accompanying drawing explanation
Fig. 1 is the main flow chart of the embodiment of the method for automatic equipment information acquisition while using " a key navigation " in Telematics system of the present invention.
Embodiment
For further disclosing technical scheme of the present invention, be hereby described with reference to the accompanying drawings embodiments of the present invention:
While using " a key navigation " in Telematics system of the present invention, the method for automatic equipment information acquisition is with respect to the technical scheme conventionally adopting at present, simplify the loaded down with trivial details operating process of user, automatically completed the process that facility information is user terminal phone number and authentication registration of obtaining.Particularly, when if FTP client FTP finds after startup that the current phone number of this terminal also may not changed cell-phone number through authentication registration or same user terminal when inconsistent with current phone card (used last time user profile configuration file), can be automatically by automatically completing alternately the process of obtaining the correct cell-phone number of user terminal and authentication registration between user terminal and telecom operation server, call center system application server (being a key navigation Service server that business builds).
Main inventive concept of the present invention is: during startup, in automatic inspection user terminal, whether had the configuration file (detect and whether successfully obtain user profile) that contains user profile; And whether the user profile data of preserving in this configuration file are complete; And in this configuration file the IMSI of corresponding cell-phone number whether with consistent with the IMSI of current phone machine card; If above-mentioned condition is all normal, judge the correctly registration of this equipment, can normally use a key navigation Service.
Fig. 1 is the main flow chart of the embodiment of the method for automatic equipment information acquisition while using " a key navigation " in Telematics system of the present invention, and this embodiment comprises the following steps:
Step 101: after operating software, networking automatically;
Step 102: whether the cell-phone number that judges this user terminal has successfully configured automatically, judges whether to exist configuration file, if configured, proceeds to step 103, if configured, proceeds to step 105;
Step 103: whether the IMSI that judges described user terminal Mobile phone card is consistent with the IMSI preserving in described configuration file, if unanimously, proceeds to step 111, if inconsistent, proceeds to step 104;
Step 104: the configuration file of automatically deleting relevant registration;
Step 105: prompting user independently selects telecom operators;
Step 106: the server of the telecom operators of selecting with user carries out mutual to obtain the SMS platform number of described telecom operators;
Step 107: the form of consulting by certain form Ji Yugai telecom operators (such as, send form and can be: device id IMSI) to described SMS platform number, send authentication registration application, wherein device id is the identify label of equipment self;
Step 108: the server of the telecom operators that user selects will be back to the application server of system through the corresponding feedback data having bundled, described feedback data comprises: the cell-phone number of this transmission short message equipment, device id and IMSI, by sending note, from the server of telecom operators, obtain this cell-phone number, then by telecom operators, undertaken after data processing, " device id " in this note and " IMSI " and this cell-phone number are spliced into data, return to our application server, complete the process that short message mode obtains user mobile phone number, wherein, described device id is the ID of user terminal, described IMSI is the IMSI of user terminal Mobile phone card, described cell-phone number is the cell-phone number corresponding with user terminal Mobile phone card,
Step 109: described feedback data by the user profile data such as cell-phone number that parse, writes assigned address by certain format and obtains for described user terminal after resolving;
Step 110: described user terminal obtains the file succeeding in registration from described assigned address, and take the cell-phone number that obtains and be the newly-built described configuration file of substance to IMSI that should cell-phone number from file;
Step 111: finish.
Now above-mentioned steps is described further as follows: in described step 104, also can not delete original configuration file, but replace original configuration file by the follow-up new configuration file of obtaining; In described step 110 obtain " at least " in new configuration file comprised two item number certificates: cell-phone number and can be also to IMSI(that should cell-phone number: cell-phone number, to IMSI that should cell-phone number, to device id that should cell-phone number); Described step 106 can replace in the following manner: " SMS platform number " exists also as the foundation that sends note by " writing dead " configuration file in terminal software code or in any form, this kind of mode is equal to the SMS platform number obtaining by network request mode, just different with existence in flexibility in the form that completes, two kinds of modes all can reach needed result.
Note: for IMSI involved in this flow process, be to judge whether user has changed the important evidence of Mobile phone card (or cell-phone number) on same equipment.Because can there is a kind of situation in actual applications: any one terminal system is impossible automatically read phone number in the machine, can not obtain cell-phone number and just cannot judge whether user has changed Mobile phone card (or cell-phone number).And object of the present invention needs to judge just: if current cell-phone number is not chartered cell-phone number, register flow path failure, a key navigation also cannot normally be used.But, terminal but can be passed through the function interface of this terminal system, obtain the IMSI of Mobile phone card in this terminal, therefore when user changes after Mobile phone card, no matter whether phone number changes, the IMSI of new cell-phone card all can change, and in this cover system, whether changes unique foundation of Mobile phone card (or cell-phone number) exactly by reading IMSI as current device.
In sum, the technical solution adopted in the present invention has been simplified user's troublesome operation flow process, has automatically completed and has correctly obtained the process that user terminal phone number is authentication registration.Technical scheme of the present invention can apply on following operating system platform (OS): Android(Android operating system), IOS(Apple Macintosh operating system), Windows CE, Windows Mobile, Windows Phone, Symbian(Saipan operating system), bada and from now on along with technology is constantly progressive, other intelligent terminal (as smart mobile phone, Pad etc.) operating system of development etc.
More than, by description of listed embodiment, the basic ideas and basic principles of the present invention have been set forth.But the present invention is never limited to above-mentioned listed execution mode, every equivalent variations of doing based on technical scheme of the present invention, improvement and deliberately become of inferior quality behavior, all should belong to protection scope of the present invention.