CN105764159A - Network connection method, network connection system and terminals - Google Patents

Network connection method, network connection system and terminals Download PDF

Info

Publication number
CN105764159A
CN105764159A CN201610097356.0A CN201610097356A CN105764159A CN 105764159 A CN105764159 A CN 105764159A CN 201610097356 A CN201610097356 A CN 201610097356A CN 105764159 A CN105764159 A CN 105764159A
Authority
CN
China
Prior art keywords
car
mobile terminal
mounted terminal
terminal
end message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610097356.0A
Other languages
Chinese (zh)
Other versions
CN105764159B (en
Inventor
梁乔忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610097356.0A priority Critical patent/CN105764159B/en
Publication of CN105764159A publication Critical patent/CN105764159A/en
Application granted granted Critical
Publication of CN105764159B publication Critical patent/CN105764159B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/04Terminal devices adapted for relaying to or from another terminal or user
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

Embodiments of the invention disclose a network connection method, a network connection system and terminals. The method comprises the following steps: a communication connection is established between a vehicle terminal and a mobile terminal; the vehicle terminal sends terminal information corresponding to the vehicle terminal to the mobile terminal based on the communication connection; the mobile terminal receives the terminal information, and opens a Wi-Fi hotspot according to the terminal information; and the vehicle terminal is connected to the Wi-Fi hotspot. Through the network connection method, the network connection system and the terminals, the wireless networking function of the vehicle terminal is achieved, the diversity of function data acquisition modes is ensured, and the efficiency of function data acquisition is improved.

Description

A kind of method for connecting network and system, terminal
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of method for connecting network and system, terminal.
Background technology
Along with development and the progress of automotive engineering, car-mounted terminal, as the auxiliary product of automobile, comes into the life of people gradually, and along with the continuous progress of technology, the function of car-mounted terminal also tends to variation.
At present, part car-mounted terminal does not have wireless Internet function, its performance data can only from other-end by USB (universal serial bus) (UniversalSerialBus, USB) or the mode such as bluetooth obtain, cause that performance data obtains mode single, and owing to needing other-end as the transmission medium of performance data, have impact on the acquisition efficiency of performance data.
Summary of the invention
The embodiment of the present invention provides a kind of method for connecting network and system, terminal, it is possible to achieve the wireless Internet function of car-mounted terminal, it is ensured that performance data obtains the multiformity of mode, the acquisition efficiency of enhanced feature data.
Embodiment of the present invention first aspect provides a kind of method for connecting network, it may include:
Car-mounted terminal sets up communication connection with mobile terminal;
Described car-mounted terminal sends, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection;
Described mobile terminal receives described end message, and opens wireless network focus according to described end message;
Described car-mounted terminal connects described wireless network focus.
Embodiment of the present invention second aspect provides a kind of method for connecting network, it may include:
Communication connection is set up with mobile terminal;
Send end message based on described communication connection to described mobile terminal, so that described mobile terminal receives described end message, and open wireless network focus according to described end message;
Connect described wireless network focus.
The embodiment of the present invention third aspect provides a kind of method for connecting network, it may include:
Communication connection is set up with car-mounted terminal;
Receive described car-mounted terminal and communicate to connect, based on described, the end message that the described car-mounted terminal sent is corresponding;
Wireless network focus is opened, so that described car-mounted terminal connects described wireless network focus according to described end message.
Embodiment of the present invention fourth aspect provides a kind of car-mounted terminal, it may include:
Connection establishment unit, for setting up communication connection with mobile terminal;
Information transmitting unit, for sending end message based on described communication connection to described mobile terminal, so that described mobile terminal receives described end message, and opens wireless network focus according to described end message;
Focus connects unit, is used for connecting described wireless network focus.
The embodiment of the present invention the 5th aspect provides a kind of mobile terminal, it may include:
Connection establishment unit, for setting up communication connection with car-mounted terminal;
Information receiving unit, communicates to connect, based on described, the end message that the described car-mounted terminal sent is corresponding for receiving described car-mounted terminal;
Focus opens unit, for opening wireless network focus according to described end message, so that described car-mounted terminal connects described wireless network focus.
The embodiment of the present invention the 6th aspect provides a kind of network connection system, it may include the mobile terminal that the car-mounted terminal of above-mentioned fourth aspect offer and above-mentioned 5th aspect provide.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of method for connecting network that the embodiment of the present invention provides;
Fig. 2 is the flow process sequential chart of a kind of method for connecting network that the embodiment of the present invention provides;
Fig. 3 is the schematic flow sheet of the another kind of method for connecting network that the embodiment of the present invention provides;
Fig. 4 is the schematic flow sheet of another method for connecting network that the embodiment of the present invention provides;
Fig. 5 is the schematic flow sheet of another method for connecting network that the embodiment of the present invention provides;
Fig. 6 is the schematic flow sheet of another method for connecting network that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of car-mounted terminal that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the another kind of car-mounted terminal that the embodiment of the present invention provides;
Fig. 9 is the structural representation of another car-mounted terminal that the embodiment of the present invention provides;
Figure 10 is the structural representation of a kind of mobile terminal that the embodiment of the present invention provides;
Figure 11 is the structural representation of the another kind of mobile terminal that the embodiment of the present invention provides;
Figure 12 is the structural representation that the focus that the embodiment of the present invention provides opens unit;
Figure 13 is the structural representation of another mobile terminal that the embodiment of the present invention provides;
Figure 14 is the structural representation of a kind of network connection system that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
The method for connecting network that the embodiment of the present invention provides can apply to car-mounted terminal in automobile and carries out the network connection scene to obtain performance data, such as: car-mounted terminal sets up communication connection with mobile terminal, described car-mounted terminal sends, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection, described mobile terminal receives described end message and opens wireless network focus according to described end message, and described car-mounted terminal connects the scene etc. of described wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data.
The mobile terminal that the present embodiments relate to may include that panel computer, smart mobile phone, palm PC and mobile internet device (MID) etc. possess wireless Internet function at interior terminal unit;Described car-mounted terminal be specifically as follows be assemblied in automotive interior possess the functions such as navigation, audio and video playing at interior terminal unit.
Below in conjunction with accompanying drawing 1-accompanying drawing 6, a kind of method for connecting network that the embodiment of the present invention is provided describes in detail.
Refer to Fig. 1, for embodiments providing the schematic flow sheet of a kind of method for connecting network.As it is shown in figure 1, the embodiment of the present invention sets forth the idiographic flow of method for connecting network jointly from car-mounted terminal side and mobile terminal side, the method may comprise steps of S101-step S104.
S101, car-mounted terminal sets up communication connection with mobile terminal;
Concrete, car-mounted terminal and mobile terminal can automatically set up communication connection time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described car-mounted terminal and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include the short distance wireless communication technology (NearFieldCommunication, NFC), bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal can be communicatively coupled by USB data line.
S102, described car-mounted terminal sends, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection;
Concrete, described car-mounted terminal is after setting up communication connection with described mobile terminal, described car-mounted terminal can send, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the terminal serial number (Identity of described car-mounted terminal, ID), it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal.
S103, described mobile terminal receives described end message, and opens wireless network focus according to described end message;
Concrete, described mobile terminal can receive, based on described communication connection, the described end message that described car-mounted terminal sends, if the described description information in described end message and the current terminal setting up communication connection of described Termination ID instruction are car-mounted terminal, described mobile terminal can automatically turn on wireless network focus.
S104, described car-mounted terminal connects described wireless network focus;
Concrete, after described mobile terminal automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, preferably, described car-mounted terminal can pass through described wireless network focus, Wireless Networking is carried out with HTML (Hypertext Markup Language) (HyperTextTransferProtocol, the HTTP) agency by agreement based on described mobile terminal.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data.
Refer to Fig. 2, for embodiments providing the flow process sequential chart of a kind of method for connecting network.As in figure 2 it is shown, the embodiment of the present invention sets forth the idiographic flow of method for connecting network jointly from car-mounted terminal side and mobile terminal side, the method may comprise steps of S201-step S209.
S201, car-mounted terminal sets up communication connection with mobile terminal;
Concrete, car-mounted terminal and mobile terminal can automatically set up communication connection time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described car-mounted terminal and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal can be communicatively coupled by USB data line.
S202, described car-mounted terminal sends, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection;
Concrete, described car-mounted terminal is after setting up communication connection with described mobile terminal, described car-mounted terminal can send, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the Termination ID of described car-mounted terminal, it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal.
S203, described mobile terminal receives described description information and the described Termination ID that described end message carries;
Concrete, described mobile terminal can obtain the described description information in described end message and described Termination ID.
S204, described mobile terminal detects the physical distance between described car-mounted terminal and described mobile terminal;
Concrete, when the connected mode adopting bluetooth sets up communication connection, described mobile terminal can after the described end message receiving the transmission of described car-mounted terminal, and the signal power according to receiving described end message detects the physical distance between described car-mounted terminal and described mobile terminal.
S205, when described physical distance meets predeterminable range threshold value, and when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID is sent to authentication server by described mobile terminal;
Concrete, when described physical distance meets predeterminable range threshold value, represent and determine that the user now holding described mobile terminal has been in automobile, when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID can be sent to authentication server by described mobile terminal.
S206, described authentication server judges whether described Termination ID is present in preset Termination ID list, if so, then returns confirmation to described mobile terminal;
Concrete, described authentication server receives the described Termination ID that described mobile terminal sends, it is possible to judge whether described Termination ID is present in preset Termination ID list.
It is understandable that, described authentication server can be previously stored with the preset Termination ID list of the Termination ID comprising at least one car-mounted terminal, described Termination ID can be uploaded in described authentication server beforehand through the mobile terminal of self and store by the user of described car-mounted terminal, or described car-mounted terminal is recorded in described authentication server when dispatching from the factory, described authentication server collects the Termination ID of all car-mounted terminals to generate described preset Termination ID list.
If described authentication server judges that described Termination ID is present in described preset Termination ID list, then described authentication server can return confirmation to described mobile terminal.
S207, described mobile terminal receives described confirmation, and opens wireless network focus based on described confirmation;
Concrete, described mobile terminal receives the described confirmation that described authentication server returns, it is possible to automatically turn on wireless network focus based on described confirmation.
S208, described car-mounted terminal connects described wireless network focus;
Concrete, after described mobile terminal automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, it is preferred that, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal agency.
S209, described car-mounted terminal obtains requested network data based on described wireless network focus;
Concrete, after described car-mounted terminal is successfully connected to described wireless network focus, described car-mounted terminal can obtain, based on described wireless network focus, the network data that user is requested, and described network data is above-mentioned performance data, for instance: navigating resources, audio, video data etc..
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
Refer to Fig. 3, for embodiments providing the schematic flow sheet of another kind of method for connecting network.As it is shown on figure 3, the embodiment of the present invention sets forth the idiographic flow of method for connecting network from car-mounted terminal side, the method may comprise steps of S301-step S303.
S301, sets up communication connection with mobile terminal;
Concrete, car-mounted terminal and mobile terminal can automatically set up communication connection time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described car-mounted terminal and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal can be communicatively coupled by USB data line.
S302, sends end message based on described communication connection to described mobile terminal;
Concrete, described car-mounted terminal is after setting up communication connection with described mobile terminal, described car-mounted terminal can send, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the Termination ID of described car-mounted terminal, it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal.
Described mobile terminal can receive, based on described communication connection, the described end message that described car-mounted terminal sends, if the described description information in described end message and the current terminal setting up communication connection of described Termination ID instruction are car-mounted terminal, described mobile terminal can automatically turn on wireless network focus.
S303, connects described wireless network focus;
Concrete, after described mobile terminal automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, it is preferred that, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal agency.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data.
Refer to Fig. 4, for embodiments providing the schematic flow sheet of another method for connecting network.As shown in Figure 4, the embodiment of the present invention sets forth the idiographic flow of method for connecting network from car-mounted terminal side, and the method may comprise steps of S401-step S404.
S401, sets up communication connection with mobile terminal;
Concrete, car-mounted terminal and mobile terminal can automatically set up communication connection time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described car-mounted terminal and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal can be communicatively coupled by USB data line.
S402, sends end message based on described communication connection to described mobile terminal;
Concrete, described car-mounted terminal is after setting up communication connection with described mobile terminal, described car-mounted terminal can send, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the Termination ID of described car-mounted terminal, it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal.
Described mobile terminal can obtain the described description information in described end message and described Termination ID.When the connected mode adopting bluetooth sets up communication connection, described mobile terminal can after the described end message receiving the transmission of described car-mounted terminal, and the signal power according to receiving described end message detects the physical distance between described car-mounted terminal and described mobile terminal.When described physical distance meets predeterminable range threshold value, represent and determine that the user now holding described mobile terminal has been in automobile, when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID can be sent to authentication server by described mobile terminal.Described authentication server receives the described Termination ID that described mobile terminal sends, it is possible to judge whether described Termination ID is present in preset Termination ID list.
It is understandable that, described authentication server can be previously stored with the preset Termination ID list of the Termination ID comprising at least one car-mounted terminal, described Termination ID can be uploaded in described authentication server beforehand through the mobile terminal of self and store by the user of described car-mounted terminal, or described car-mounted terminal is recorded in described authentication server when dispatching from the factory, described authentication server collects the Termination ID of all car-mounted terminals to generate described preset Termination ID list.
If described authentication server judges that described Termination ID is present in described preset Termination ID list, then described authentication server can return confirmation to described mobile terminal.Described mobile terminal receives the described confirmation that described authentication server returns, it is possible to automatically turn on wireless network focus based on described confirmation.
S403, connects described wireless network focus;
Concrete, after described mobile terminal automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, it is preferred that, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal agency.
S404, obtains requested network data based on described wireless network focus;
Concrete, after described car-mounted terminal is successfully connected to described wireless network focus, described car-mounted terminal can obtain, based on described wireless network focus, the network data that user is requested, and described network data is above-mentioned performance data, for instance: navigating resources, audio, video data etc..
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
Refer to Fig. 5, for embodiments providing the schematic flow sheet of another method for connecting network.As it is shown in figure 5, the embodiment of the present invention sets forth the idiographic flow of method for connecting network from mobile terminal side, the method may comprise steps of S501-step S503.
S501, sets up communication connection with car-mounted terminal;
Concrete, car-mounted terminal and mobile terminal can automatically set up communication connection time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described car-mounted terminal and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal can be communicatively coupled by USB data line.
S502, receives described car-mounted terminal and communicates to connect, based on described, the end message that the described car-mounted terminal sent is corresponding;
Concrete, described car-mounted terminal is after setting up communication connection with described mobile terminal, described car-mounted terminal can send, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the Termination ID of described car-mounted terminal, it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal.Described mobile terminal can obtain the described description information in described end message and described Termination ID.
S503, opens wireless network focus according to described end message;
Concrete, described mobile terminal can receive, based on described communication connection, the described end message that described car-mounted terminal sends, if the described description information in described end message and the current terminal setting up communication connection of described Termination ID instruction are car-mounted terminal, described mobile terminal can automatically turn on wireless network focus.
After described mobile terminal automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, preferably, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal agency.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data.
Refer to Fig. 6, for embodiments providing the schematic flow sheet of another method for connecting network.As shown in Figure 6, the embodiment of the present invention sets forth the idiographic flow of method for connecting network from mobile terminal side, and the method may comprise steps of S601-step S605.
S601, sets up communication connection with car-mounted terminal;
Concrete, car-mounted terminal and mobile terminal can automatically set up communication connection time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described car-mounted terminal and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal can be communicatively coupled by USB data line.
S602, receives described car-mounted terminal and communicates to connect, based on described, the end message that the described car-mounted terminal sent is corresponding;
Concrete, described car-mounted terminal is after setting up communication connection with described mobile terminal, described car-mounted terminal can send, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the Termination ID of described car-mounted terminal, it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal.Described mobile terminal can obtain the described description information in described end message and described Termination ID.
S603, detection and the physical distance between described car-mounted terminal;
Concrete, when the connected mode adopting bluetooth sets up communication connection, described mobile terminal can after the described end message receiving the transmission of described car-mounted terminal, and the signal power according to receiving described end message detects the physical distance between described car-mounted terminal and described mobile terminal.
S604, when described physical distance meets predeterminable range threshold value, and when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, sends described Termination ID to authentication server;
Concrete, when described physical distance meets predeterminable range threshold value, represent and determine that the user now holding described mobile terminal has been in automobile, when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID can be sent to authentication server by described mobile terminal.Described authentication server receives the described Termination ID that described mobile terminal sends, it is possible to judge whether described Termination ID is present in preset Termination ID list.
It is understandable that, described authentication server can be previously stored with the preset Termination ID list of the Termination ID comprising at least one car-mounted terminal, described Termination ID can be uploaded in described authentication server beforehand through the mobile terminal of self and store by the user of described car-mounted terminal, or described car-mounted terminal is recorded in described authentication server when dispatching from the factory, described authentication server collects the Termination ID of all car-mounted terminals to generate described preset Termination ID list.
If described authentication server judges that described Termination ID is present in described preset Termination ID list, then described authentication server can return confirmation to described mobile terminal.
S605, receives described confirmation, and opens wireless network focus based on described confirmation;
Concrete, described mobile terminal receives the described confirmation that described authentication server returns, it is possible to automatically turn on wireless network focus based on described confirmation.
After described mobile terminal automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, preferably, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal agency.After described car-mounted terminal is successfully connected to described wireless network focus, described car-mounted terminal can obtain, based on described wireless network focus, the network data that user is requested, described network data is above-mentioned performance data, for instance: navigating resources, audio, video data etc..
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
Below in conjunction with accompanying drawing 7 and accompanying drawing 8, the car-mounted terminal that the embodiment of the present invention is provided describes in detail.It should be noted that the car-mounted terminal shown in accompanying drawing 7 and accompanying drawing 8, for the method performing Fig. 3 of the present invention and embodiment illustrated in fig. 4, for the ease of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and refer to the embodiment shown in Fig. 3 and Fig. 4 of the present invention.
Refer to Fig. 7, for embodiments providing the structural representation of a kind of car-mounted terminal.As it is shown in fig. 7, the described car-mounted terminal 1 of the embodiment of the present invention may include that connection establishment unit 11, information transmitting unit 12 and focus connect unit 13.
Connection establishment unit 11, for setting up communication connection with mobile terminal;
In implementing, described car-mounted terminal 1 can automatically set up communication connection by described connection establishment unit 11 with mobile terminal time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described connection establishment unit 11 and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal 1 need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal 1 automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal 1 can be communicatively coupled by USB data line.
Information transmitting unit 12, for sending end message based on described communication connection to described mobile terminal;
In implementing, described connection establishment unit 11 is after setting up communication connection with described mobile terminal, described information transmitting unit 12 can send the end message of described car-mounted terminal 1 correspondence based on described communication connection to described mobile terminal, described end message can include description information and the Termination ID of described car-mounted terminal 1, it is car-mounted terminal 1 that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal 1.
Described mobile terminal can receive, based on described communication connection, the described end message that described information transmitting unit 12 sends, if the described description information in described end message and the current terminal setting up communication connection of described Termination ID instruction are car-mounted terminal 1, described mobile terminal can automatically turn on wireless network focus.
Focus connects unit 13, is used for connecting described wireless network focus;
In implementing, after described mobile terminal automatically turns on described wireless network focus, described focus connects unit 13 and can certainly be dynamically connected described wireless network focus, preferably, described focus connects unit 13 can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal agency.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data.
Refer to Fig. 8, for embodiments providing the structural representation of another kind of car-mounted terminal.As shown in Figure 8, the described car-mounted terminal 1 of the embodiment of the present invention may include that connection establishment unit 11, information transmitting unit 12, focus connect unit 13 and data capture unit 14.
Connection establishment unit 11, for setting up communication connection with mobile terminal;
In implementing, described car-mounted terminal 1 can automatically set up communication connection by described connection establishment unit 11 with mobile terminal time close to each other, such as: user carry mobile terminal enter automotive interior time etc., described connection establishment unit 11 and described mobile terminal can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal and described car-mounted terminal 1 need to start in advance NFC function or Bluetooth function, described mobile terminal can scan attachable described car-mounted terminal 1 automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described mobile terminal and described car-mounted terminal 1 can be communicatively coupled by USB data line.
Information transmitting unit 12, for sending end message based on described communication connection to described mobile terminal;
In implementing, described connection establishment unit 11 is after setting up communication connection with described mobile terminal, described information transmitting unit 12 can send the end message of described car-mounted terminal 1 correspondence based on described communication connection to described mobile terminal, described end message can include description information and the Termination ID of described car-mounted terminal 1, it is car-mounted terminal 1 that described description information may be used for the current terminal setting up communication connection with described mobile terminal of statement, and described Termination ID is unique mark of described car-mounted terminal 1.
Described mobile terminal can obtain the described description information in described end message and described Termination ID.When the connected mode adopting bluetooth sets up communication connection, described mobile terminal can after the described end message receiving the transmission of described information transmitting unit 12, and the signal power according to receiving described end message detects the physical distance between described car-mounted terminal 1 and described mobile terminal.When described physical distance meets predeterminable range threshold value, represent and determine that the user now holding described mobile terminal has been in automobile, when the current terminal setting up communication connection of described description information instruction is car-mounted terminal 1, described Termination ID can be sent to authentication server by described mobile terminal.Described authentication server receives the described Termination ID that described mobile terminal sends, it is possible to judge whether described Termination ID is present in preset Termination ID list.
It is understandable that, described authentication server can be previously stored with the preset Termination ID list of the Termination ID comprising at least one car-mounted terminal, described Termination ID can be uploaded in described authentication server beforehand through the mobile terminal of self and store by the user of described car-mounted terminal 1, or described car-mounted terminal is recorded in described authentication server when dispatching from the factory, described authentication server collects the Termination ID of all car-mounted terminals to generate described preset Termination ID list.
If described authentication server judges that described Termination ID is present in described preset Termination ID list, then described authentication server can return confirmation to described mobile terminal.Described mobile terminal receives the described confirmation that described authentication server returns, it is possible to automatically turn on wireless network focus based on described confirmation.
Focus connects unit 13, is used for connecting described wireless network focus;
In implementing, after described mobile terminal automatically turns on described wireless network focus, described focus connects unit 13 and can certainly be dynamically connected described wireless network focus, preferably, described focus connects unit 13 can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal agency.
Data capture unit 14, for obtaining requested network data based on described wireless network focus;
In implementing, after described car-mounted terminal 1 is successfully connected to described wireless network focus by described focus connection unit 13, described data capture unit 14 can obtain, based on described wireless network focus, the network data that user is requested, described network data is above-mentioned performance data, for instance: navigating resources, audio, video data etc..
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
Refer to Fig. 9, for embodiments providing the structural representation of another car-mounted terminal.As it is shown in figure 9, described car-mounted terminal 1000 may include that at least one processor 1001, for instance CPU, at least one network interface 1004, user interface 1003, memorizer 1005, at least one communication bus 1002.Wherein, communication bus 1002 is for realizing the connection communication between these assemblies.Wherein, user interface 1003 can include display screen (Display), keyboard (Keyboard), and optional user interface 1003 can also include the wireline interface of standard, wave point.Network interface 1004 optionally can include the wireline interface of standard, wave point (such as WI-FI interface).Memorizer 1005 can be high-speed RAM memorizer, it is also possible to be non-labile memorizer (non-volatilememory), for instance at least one disk memory.Memorizer 1005 optionally can also is that at least one is located remotely from the storage device of aforementioned processor 1001.As it is shown in figure 9, connect application program as the memorizer 1005 of a kind of computer-readable storage medium can include operating system, network communication module, Subscriber Interface Module SIM and network.
In the car-mounted terminal 1000 shown in Fig. 9, user interface 1003 is mainly used in providing the user the interface of input, obtains the data of user's input;And processor 1001 may be used for calling the network of storage in memorizer 1005 and connects application program, and specifically perform following operation:
Communication connection is set up with mobile terminal;
Send end message based on described communication connection to described mobile terminal, so that described mobile terminal receives described end message, and open wireless network focus according to described end message;
Connect described wireless network focus.
In one embodiment, described processor 1001, when performing to set up communication connection with mobile terminal, specifically performs following operation:
Setting up communication connection with mobile terminal by presetting connected mode, described default connected mode includes the arbitrary connected mode in NFC, bluetooth, USB.
In one embodiment, described end message includes description information and Termination ID;
Described processor 1001 is performing based on described communication connection to described mobile terminal transmission end message, so that described mobile terminal receives described end message, and when opening wireless network focus according to described end message, and operation below specifically performing:
Described description information and described Termination ID is sent to described mobile terminal based on described communication connection, so that described mobile terminal is when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID is sent to authentication server, make described user terminal receive the described confirmation that described authentication server returns according to described Termination ID, and make described mobile terminal open wireless network focus based on described confirmation.
In one embodiment, described processor 1001 also performs following operation:
Requested network data is obtained based on described wireless network focus.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
Below in conjunction with accompanying drawing 10-accompanying drawing 12, the mobile terminal that the embodiment of the present invention is provided describes in detail.It should be noted that the mobile terminal shown in accompanying drawing 10-accompanying drawing 12, for the method performing Fig. 5 of the present invention and embodiment illustrated in fig. 6, for the ease of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and refer to the embodiment shown in Fig. 5 and Fig. 6 of the present invention.
Refer to Figure 10, for embodiments providing the structural representation of a kind of mobile terminal.As shown in Figure 10, the described mobile terminal 2 of the embodiment of the present invention may include that connection establishment unit 21, information receiving unit 22 and focus open unit 23.
Connection establishment unit 21, for setting up communication connection with car-mounted terminal;
In implementing, car-mounted terminal and mobile terminal 2 can automatically set up communication connection time close to each other, such as: user carries when mobile terminal 2 enters automotive interior etc., described car-mounted terminal and the connection establishment unit 21 in described mobile terminal 2 can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal 2 and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described connection establishment unit 21 can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described connection establishment unit 21 can be communicatively coupled by USB data line with described car-mounted terminal.
Information receiving unit 22, communicates to connect, based on described, the end message that the described car-mounted terminal sent is corresponding for receiving described car-mounted terminal;
In implementing, described car-mounted terminal is after the described connection establishment unit 21 with described mobile terminal 2 sets up communication connection, described car-mounted terminal can send, to described mobile terminal 2, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the Termination ID of described car-mounted terminal, it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal 2 of statement, and described Termination ID is unique mark of described car-mounted terminal.Described information receiving unit 22 can obtain the described description information in described end message and described Termination ID.
Focus opens unit 23, for opening wireless network focus according to described end message;
In implementing, described information receiving unit 22 can receive, based on described communication connection, the described end message that described car-mounted terminal sends, if the described description information in described end message and the current terminal setting up communication connection of described Termination ID instruction are car-mounted terminal, described focus opens unit 23 can automatically turn on wireless network focus.
After described focus unlatching unit 23 automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, preferably, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal 2 agency.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data.
Refer to Figure 11, for embodiments providing the structural representation of another kind of mobile terminal.As shown in figure 11, the described mobile terminal 2 of the embodiment of the present invention may include that connection establishment unit 21, information receiving unit 22 and focus open unit 23.
Connection establishment unit 21, for setting up communication connection with car-mounted terminal;
In implementing, car-mounted terminal and mobile terminal 2 can automatically set up communication connection time close to each other, such as: user carries when mobile terminal 2 enters automotive interior etc., described car-mounted terminal and the connection establishment unit 21 in described mobile terminal 2 can pass through to preset connected mode and set up communication connection, described default connected mode can include NFC, bluetooth, arbitrary connected mode in USB, preferably, adopt the connected mode of NFC or bluetooth, described mobile terminal 2 and described car-mounted terminal need to start in advance NFC function or Bluetooth function, described connection establishment unit 21 can scan attachable described car-mounted terminal automatically, and the foundation being communicatively coupled;Adopt the connected mode of USB, the foundation that described connection establishment unit 21 can be communicatively coupled by USB data line with described car-mounted terminal.
Information receiving unit 22, communicates to connect, based on described, the end message that the described car-mounted terminal sent is corresponding for receiving described car-mounted terminal;
In implementing, described car-mounted terminal is after the described connection establishment unit 21 with described mobile terminal 2 sets up communication connection, described car-mounted terminal can send, to described mobile terminal 2, the end message that described car-mounted terminal is corresponding based on described communication connection, described end message can include description information and the Termination ID of described car-mounted terminal, it is car-mounted terminal that described description information may be used for the current terminal setting up communication connection with described mobile terminal 2 of statement, and described Termination ID is unique mark of described car-mounted terminal.Described information receiving unit 22 can obtain the described description information in described end message and described Termination ID.
Distance detection unit 24, for the physical distance detected and between described car-mounted terminal;
In implementing, when the connected mode adopting bluetooth sets up communication connection, after described information receiving unit 22 receives the described end message of described car-mounted terminal transmission, described distance detection unit 24 detects the physical distance between described car-mounted terminal and described mobile terminal according to the signal power receiving described end message.
Notification unit 25, for when described physical distance meets predeterminable range threshold value, notifying that described focus is opened unit 23 and performed to open wireless network focus according to described end message;
Focus opens unit 23, for opening wireless network focus according to described end message;
In implementing, described information receiving unit 22 can receive, based on described communication connection, the described end message that described car-mounted terminal sends, if the described description information in described end message and the current terminal setting up communication connection of described Termination ID instruction are car-mounted terminal, described focus opens unit 23 can automatically turn on wireless network focus.
After described focus unlatching unit 23 automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, preferably, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal 2 agency.
Concrete, please also refer to Figure 12, open the structural representation of unit for embodiments providing focus.As shown in figure 12, described focus unlatching unit 23 may include that
Information sends subelement 231, for when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, sending described Termination ID to authentication server;
In implementing, when described physical distance meets predeterminable range threshold value, represent and determine that the user now holding described mobile terminal 2 has been in automobile, when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described information sends subelement 231 and can send described Termination ID to authentication server.Described authentication server receives described information and sends the described Termination ID that subelement 231 sends, it is possible to judge whether described Termination ID is present in preset Termination ID list.
It is understandable that, described authentication server can be previously stored with the preset Termination ID list of the Termination ID comprising at least one car-mounted terminal, described Termination ID can be uploaded in described authentication server beforehand through the mobile terminal 2 of self and store by the user of described car-mounted terminal, or described car-mounted terminal is recorded in described authentication server when dispatching from the factory, described authentication server collects the Termination ID of all car-mounted terminals to generate described preset Termination ID list.
If described authentication server judges that described Termination ID is present in described preset Termination ID list, then described authentication server can return confirmation to described mobile terminal 2.
Focus opens subelement 232, is used for receiving described confirmation, and opens wireless network focus based on described confirmation;
In implementing, described focus is opened subelement 232 and is received the described confirmation that described authentication server returns, it is possible to automatically turn on wireless network focus based on described confirmation.
After described focus unlatching subelement 232 automatically turns on described wireless network focus, described car-mounted terminal can be dynamically connected described wireless network focus certainly, preferably, described car-mounted terminal can pass through described wireless network focus, to carry out Wireless Networking based on the http protocol of described mobile terminal 2 agency.After described car-mounted terminal is successfully connected to described wireless network focus, described car-mounted terminal can obtain, based on described wireless network focus, the network data that user is requested, described network data is above-mentioned performance data, for instance: navigating resources, audio, video data etc..
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
Refer to Figure 13, for embodiments providing the structural representation of another mobile terminal.As shown in figure 13, described mobile terminal 2000 may include that at least one processor 2001, for instance CPU, at least one network interface 2004, user interface 2003, memorizer 2005, at least one communication bus 2002.Wherein, communication bus 2002 is for realizing the connection communication between these assemblies.Wherein, user interface 2003 can include display screen (Display), keyboard (Keyboard), and optional user interface 2003 can also include the wireline interface of standard, wave point.Network interface 2004 optionally can include the wireline interface of standard, wave point (such as WI-FI interface).Memorizer 2005 can be high-speed RAM memorizer, it is also possible to be non-labile memorizer (non-volatilememory), for instance at least one disk memory.Memorizer 2005 optionally can also is that at least one is located remotely from the storage device of aforementioned processor 2001.As shown in figure 13, as the memorizer 2005 of a kind of computer-readable storage medium can include operating system, network communication module, Subscriber Interface Module SIM and network connection application program.
In the mobile terminal 2000 shown in Figure 13, user interface 2003 is mainly used in providing the user the interface of input, obtains the data of user's input;Network interface 2004 is mainly used in carrying out the transmission of data message with authentication server;And processor 2001 may be used for calling the network of storage in memorizer 2005 and connects application program, and specifically perform following operation:
Communication connection is set up with car-mounted terminal;
Receive described car-mounted terminal and communicate to connect, based on described, the end message that the described car-mounted terminal sent is corresponding;
Wireless network focus is opened, so that described car-mounted terminal connects described wireless network focus according to described end message.
In one embodiment, described processor 2001, when performing to set up communication connection with car-mounted terminal, specifically performs following operation:
Setting up communication connection with car-mounted terminal by presetting connected mode, described default connected mode includes the arbitrary connected mode in NFC, bluetooth, USB.
In one embodiment, described end message includes description information and the Termination ID of described car-mounted terminal;
Described processor 2001, when performing to open wireless network focus according to described end message, specifically performs following operation:
When the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID is sent to authentication server, so that described authentication server judges whether described Termination ID is present in preset Termination ID list, if so, then return confirmation;
Receive described confirmation, and open wireless network focus based on described confirmation.
In one embodiment, described processor 2001, before performing to open wireless network focus according to described end message, also performs following operation:
Physical distance between detection and described car-mounted terminal;
When described physical distance meets predeterminable range threshold value, perform to open the step of wireless network focus according to described end message.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
Refer to Figure 14, for embodiments providing the structural representation of a kind of network connection system.As shown in figure 14, described system can include car-mounted terminal 1, mobile terminal 2 and authentication server 3, NFC can be passed through between car-mounted terminal 1 and mobile terminal 2, bluetooth, the connected modes such as USB set up communication connection mutually, all can be connected with each other by network between mobile terminal 2 and authentication server 3, wherein, car-mounted terminal 1 is specially the car-mounted terminal 1 of Fig. 7 or embodiment illustrated in fig. 8, mobile terminal 2 is specially the mobile terminal 2 of the arbitrary illustrated embodiment of Figure 10-Figure 12, or car-mounted terminal 1 can be the car-mounted terminal 1000 of embodiment illustrated in fig. 9, mobile terminal 2 can be the mobile terminal 2000 of embodiment illustrated in fig. 13.
Described car-mounted terminal 1, for setting up communication connection with mobile terminal 2;
Described car-mounted terminal 1, is additionally operable to send to described mobile terminal 2 end message of described car-mounted terminal 1 correspondence based on described communication connection;
Described mobile terminal 2, is used for receiving described end message, and opens wireless network focus according to described end message;
Described car-mounted terminal 1, is additionally operable to connect described wireless network focus.
In one embodiment, when described car-mounted terminal 1 is for setting up communication connection with mobile terminal 2, specifically for setting up communication connection with mobile terminal 2 by presetting connected mode, described default connected mode includes the arbitrary connected mode in NFC, bluetooth, USB.
In one embodiment, described end message includes description information and the Termination ID of described car-mounted terminal 1;
Described mobile terminal 2 is used for receiving described end message, and when opening wireless network focus according to described end message, including:
Described mobile terminal 2, for receiving described description information and the described Termination ID that described end message carries;
Described mobile terminal 2, is additionally operable to, when the current terminal setting up communication connection of described description information instruction is car-mounted terminal 1, send described Termination ID to authentication server 3;
Described authentication server 3, is used for judging whether described Termination ID is present in preset Termination ID list, if so, then returns confirmation to described mobile terminal 2;
Described mobile terminal 2, is additionally operable to receive described confirmation, and opens wireless network focus based on described confirmation.
In one embodiment, described mobile terminal 2, it is additionally operable to detect the physical distance between described car-mounted terminal 1 and described mobile terminal 2;
Described mobile terminal 2, is additionally operable to when described physical distance meets predeterminable range threshold value, performs to open the step of wireless network focus according to described end message.
In one embodiment, described car-mounted terminal 1, it is additionally operable to obtain requested network data based on described wireless network focus.
In embodiments of the present invention, car-mounted terminal sets up communication connection with mobile terminal, car-mounted terminal sends, to mobile terminal, the end message that car-mounted terminal is corresponding based on communication connection, and mobile terminal opens wireless network focus according to end message, and car-mounted terminal connects wireless network focus.By the communication connection of car-mounted terminal with mobile terminal, the end message of car-mounted terminal is transmitted, make mobile terminal open wireless network focus to be attached for car-mounted terminal, achieve the wireless Internet function of car-mounted terminal, car-mounted terminal can directly obtain corresponding performance data based on wireless network focus, ensure that performance data obtains the multiformity of mode, improve the acquisition efficiency of performance data;By detecting the physical distance between car-mounted terminal and mobile terminal, it is possible to achieve the position of mobile terminal is accurately judged, and then improves the stability of the Wireless Networking of car-mounted terminal;By adding authentication server, the Termination ID of car-mounted terminal is judged, it is achieved that the identification to car-mounted terminal, improve the accuracy that car-mounted terminal is identified.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can be by the hardware that computer program carrys out instruction relevant to complete, described program can be stored in a computer read/write memory medium, this program is upon execution, it may include such as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc..
Above disclosed it is only present pre-ferred embodiments, certainly can not limit the interest field of the present invention, the equivalent variations therefore made according to the claims in the present invention with this, still belong to the scope that the present invention contains.

Claims (22)

1. a method for connecting network, it is characterised in that including:
Car-mounted terminal sets up communication connection with mobile terminal;
Described car-mounted terminal sends, to described mobile terminal, the end message that described car-mounted terminal is corresponding based on described communication connection;
Described mobile terminal receives described end message, and opens wireless network focus according to described end message;
Described car-mounted terminal connects described wireless network focus.
2. method according to claim 1, it is characterised in that described car-mounted terminal sets up communication connection with mobile terminal, including:
Car-mounted terminal and mobile terminal set up communication connection by presetting connected mode, and described default connected mode includes the arbitrary connected mode in the short distance wireless communication technology NFC, bluetooth, general-purpose serial bus USB.
3. method according to claim 1, it is characterised in that described end message includes description information and the terminal serial number ID of described car-mounted terminal;
Described mobile terminal receives described end message, and opens wireless network focus according to described end message, including:
Described mobile terminal receives described description information and the described Termination ID that described end message carries;
When the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID is sent to authentication server by described mobile terminal;
Described authentication server judges whether described Termination ID is present in preset Termination ID list, if so, then returns confirmation to described mobile terminal;
Described mobile terminal receives described confirmation, and opens wireless network focus based on described confirmation.
4. method according to claim 1, it is characterised in that described mobile terminal is opened before wireless network focus according to described end message, also includes:
Described mobile terminal detects the physical distance between described car-mounted terminal and described mobile terminal;
When described physical distance meets predeterminable range threshold value, described mobile terminal performs to open the step of wireless network focus according to described end message.
5. method according to claim 1, it is characterised in that also include:
Described car-mounted terminal obtains requested network data based on described wireless network focus.
6. a method for connecting network, it is characterised in that including:
Communication connection is set up with mobile terminal;
Send end message based on described communication connection to described mobile terminal, so that described mobile terminal receives described end message, and open wireless network focus according to described end message;
Connect described wireless network focus.
7. method according to claim 6, it is characterised in that described foundation with mobile terminal communicates to connect, including:
Setting up communication connection with mobile terminal by presetting connected mode, described default connected mode includes the arbitrary connected mode in NFC, bluetooth, USB.
8. method according to claim 6, it is characterised in that described end message includes description information and Termination ID;
Described based on described communication connection to described mobile terminal send end message so that described mobile terminal receive described end message, and according to described end message open wireless network focus, including:
Described description information and described Termination ID is sent to described mobile terminal based on described communication connection, so that described mobile terminal is when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID is sent to authentication server, make described user terminal receive the described confirmation that described authentication server returns according to described Termination ID, and make described mobile terminal open wireless network focus based on described confirmation.
9. method according to claim 6, it is characterised in that also include:
Requested network data is obtained based on described wireless network focus.
10. a method for connecting network, it is characterised in that including:
Communication connection is set up with car-mounted terminal;
Receive described car-mounted terminal and communicate to connect, based on described, the end message that the described car-mounted terminal sent is corresponding;
Wireless network focus is opened, so that described car-mounted terminal connects described wireless network focus according to described end message.
11. method according to claim 10, it is characterised in that described foundation with car-mounted terminal communicates to connect, including:
Setting up communication connection with car-mounted terminal by presetting connected mode, described default connected mode includes the arbitrary connected mode in NFC, bluetooth, USB.
12. method according to claim 10, it is characterised in that described end message includes description information and the Termination ID of described car-mounted terminal;
Described according to described end message unlatching wireless network focus, including:
When the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID is sent to authentication server, so that described authentication server judges whether described Termination ID is present in preset Termination ID list, if so, then return confirmation;
Receive described confirmation, and open wireless network focus based on described confirmation.
13. method according to claim 10, it is characterised in that described according to, before described end message unlatching wireless network focus, also including:
Physical distance between detection and described car-mounted terminal;
When described physical distance meets predeterminable range threshold value, perform to open the step of wireless network focus according to described end message.
14. a car-mounted terminal, it is characterised in that including:
Connection establishment unit, for setting up communication connection with mobile terminal;
Information transmitting unit, for sending end message based on described communication connection to described mobile terminal, so that described mobile terminal receives described end message, and opens wireless network focus according to described end message;
Focus connects unit, is used for connecting described wireless network focus.
15. terminal according to claim 14, it is characterised in that described connection establishment unit is specifically for setting up communication connection with mobile terminal by presetting connected mode, and described default connected mode includes the arbitrary connected mode in NFC, bluetooth, USB.
16. terminal according to claim 14, it is characterised in that described end message includes description information and Termination ID;
Described information transmitting unit is specifically for sending described description information and described Termination ID based on described communication connection to described mobile terminal, so that described mobile terminal is when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID is sent to authentication server, make described user terminal receive the described confirmation that described authentication server returns according to described Termination ID, and make described mobile terminal open wireless network focus based on described confirmation.
17. terminal according to claim 14, it is characterised in that also include:
Data capture unit, for obtaining requested network data based on described wireless network focus.
18. a mobile terminal, it is characterised in that including:
Connection establishment unit, for setting up communication connection with car-mounted terminal;
Information receiving unit, communicates to connect, based on described, the end message that the described car-mounted terminal sent is corresponding for receiving described car-mounted terminal;
Focus opens unit, for opening wireless network focus according to described end message, so that described car-mounted terminal connects described wireless network focus.
19. terminal according to claim 18, it is characterised in that described connection establishment unit is specifically for setting up communication connection with car-mounted terminal by presetting connected mode, and described default connected mode includes the arbitrary connected mode in NFC, bluetooth, USB.
20. terminal according to claim 18, it is characterised in that described end message includes description information and the Termination ID of described car-mounted terminal;
Described focus is opened unit and is included:
Information sends subelement, for when the current terminal setting up communication connection of described description information instruction is car-mounted terminal, described Termination ID being sent to authentication server, so that described authentication server judges whether described Termination ID is present in preset Termination ID list, if so, confirmation is then returned;
Focus opens subelement, is used for receiving described confirmation, and opens wireless network focus based on described confirmation.
21. terminal according to claim 18, it is characterised in that also include:
Distance detection unit, for the physical distance detected and between described car-mounted terminal;
Notification unit, for when described physical distance meets predeterminable range threshold value, notifying that described focus is opened unit and performed to open wireless network focus according to described end message.
22. a network connection system, it is characterised in that include the car-mounted terminal as described in any one of claim 14-17 and the mobile terminal as described in any one of claim 18-21.
CN201610097356.0A 2016-02-22 2016-02-22 Network connection method, system and terminal thereof Active CN105764159B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610097356.0A CN105764159B (en) 2016-02-22 2016-02-22 Network connection method, system and terminal thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610097356.0A CN105764159B (en) 2016-02-22 2016-02-22 Network connection method, system and terminal thereof

Publications (2)

Publication Number Publication Date
CN105764159A true CN105764159A (en) 2016-07-13
CN105764159B CN105764159B (en) 2020-01-14

Family

ID=56331036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610097356.0A Active CN105764159B (en) 2016-02-22 2016-02-22 Network connection method, system and terminal thereof

Country Status (1)

Country Link
CN (1) CN105764159B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108668223A (en) * 2018-05-14 2018-10-16 中国联合网络通信集团有限公司 Mobile network's connection method of attached terminal and device in No.1 multiple terminals
CN108833498A (en) * 2018-05-25 2018-11-16 上海思愚智能科技有限公司 A kind of communication means of terminal, terminal and storage medium
CN108848066A (en) * 2018-05-25 2018-11-20 上海思愚智能科技有限公司 A kind of communication means of terminal, terminal and storage medium
CN110337060A (en) * 2018-03-30 2019-10-15 比亚迪股份有限公司 Vehicle and communication of mobile terminal control method, vehicle and mobile terminal
CN111132159A (en) * 2019-12-04 2020-05-08 珠海格力电器股份有限公司 Method and device for opening hot spot of sharing end and connecting hot spot
CN111200860A (en) * 2018-11-20 2020-05-26 中科创达软件股份有限公司 Method, device and system for sharing network
CN113596944A (en) * 2021-09-30 2021-11-02 联通智网科技股份有限公司 Vehicle-mounted terminal network switching method and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103619077A (en) * 2013-11-26 2014-03-05 深圳市诺威达科技有限公司 Method for sharing WIFI of mobile terminal
CN103889029A (en) * 2014-03-24 2014-06-25 深圳市云猫信息技术有限公司 Network hotspot sharing method, client side, sharing side and management server
US20140214241A1 (en) * 2013-01-30 2014-07-31 Hcl Technologies Limited Remotely activating an event in a vehicle using Wi-Fi Direct

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140214241A1 (en) * 2013-01-30 2014-07-31 Hcl Technologies Limited Remotely activating an event in a vehicle using Wi-Fi Direct
CN103619077A (en) * 2013-11-26 2014-03-05 深圳市诺威达科技有限公司 Method for sharing WIFI of mobile terminal
CN103889029A (en) * 2014-03-24 2014-06-25 深圳市云猫信息技术有限公司 Network hotspot sharing method, client side, sharing side and management server

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110337060A (en) * 2018-03-30 2019-10-15 比亚迪股份有限公司 Vehicle and communication of mobile terminal control method, vehicle and mobile terminal
CN110337060B (en) * 2018-03-30 2021-05-14 比亚迪股份有限公司 Vehicle and mobile terminal communication control method, vehicle and mobile terminal
CN108668223A (en) * 2018-05-14 2018-10-16 中国联合网络通信集团有限公司 Mobile network's connection method of attached terminal and device in No.1 multiple terminals
CN108668223B (en) * 2018-05-14 2021-01-26 中国联合网络通信集团有限公司 Mobile network connection method and device of auxiliary terminal in one-number multi-terminal
CN108833498A (en) * 2018-05-25 2018-11-16 上海思愚智能科技有限公司 A kind of communication means of terminal, terminal and storage medium
CN108848066A (en) * 2018-05-25 2018-11-20 上海思愚智能科技有限公司 A kind of communication means of terminal, terminal and storage medium
CN108848066B (en) * 2018-05-25 2021-07-13 上海芯爱智能科技有限公司 Terminal communication method, terminal and storage medium
CN111200860A (en) * 2018-11-20 2020-05-26 中科创达软件股份有限公司 Method, device and system for sharing network
CN111132159A (en) * 2019-12-04 2020-05-08 珠海格力电器股份有限公司 Method and device for opening hot spot of sharing end and connecting hot spot
CN113596944A (en) * 2021-09-30 2021-11-02 联通智网科技股份有限公司 Vehicle-mounted terminal network switching method and related equipment

Also Published As

Publication number Publication date
CN105764159B (en) 2020-01-14

Similar Documents

Publication Publication Date Title
CN105764159A (en) Network connection method, network connection system and terminals
CN104253861B (en) A kind of terminal control method, Apparatus and system
CN104363666B (en) The method and apparatus being wirelessly connected are established with external equipment in the electronic device
CN102801656B (en) Realize condition control method, the equipment and system of instant messaging application
JP2012502554A (en) WLAN connection made easy by near field communication standard
CN106713418B (en) Reset result confirmation method, device, server and mobile terminal
CN104780155A (en) Method and device for binding equipment
CN102983890A (en) Method and device of pairing connection of equipment
CN103078953B (en) The method of matching is carried out between a kind of networked devices
CN105094541A (en) Method, device and system for terminal control
CN105025433A (en) Bluetooth pairing method and terminal
CN105469634A (en) Parking space information acquisition method, mobile terminal and vehicle-mounted equipment
EP3076718A1 (en) Wireless access method and relevant device and system
JP2006303584A (en) On-vehicle receiver for receiving remote control command from mobile phone, program for on-vehicle receiver, mobile phone, and program for mobile phone
CN105791532A (en) Incoming call reminding method and terminal
CN111131951A (en) Wireless earphone positioning method, wireless earphone, electronic equipment and storage medium
CN103812534A (en) Information sharing method and system using the same
CN104780206A (en) Data sharing method and device
CN104936255A (en) Wireless access control method, device, router and terminal
US20200213844A1 (en) Communication method, communication apparatus and electronic device
CN105389225A (en) Touch screen reporting point processing method and apparatus
CN104507043A (en) Positioning method and terminal
CN103680101A (en) Method and system for editing NFC (near field communication) data for NFC equipment or NFC label
CN105488065A (en) Webpage access method and device, and terminal
CN105828290A (en) Method and device for selecting terminal to process business event

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant