Summary of the invention
The technical problem that the present invention mainly solves provides the method that receives calls in a kind of on-board telephone system and the car, and is long with the on-board telephone system checking linker complexity and the spended time that solve prior art, inconvenient problem with use.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: the method that receives calls in a kind of car is provided, and the method comprises: after detecting the incoming call incoming call, judge whether answer mode is opened in the car; The Ruo Chenei answer mode is opened, then sets up data transmission channel with near-field communication mode and vehicle-mounted near-field communication module, obtains command information by data transmission channel from vehicle-mounted near-field communication module; Judge whether incoming call answering according to command information; If be judged as incoming call answering, incoming call answering then; If fail to obtain command information or be judged as not incoming call answering, then not incoming call answering or hanging up calling.
Wherein, if incoming call answering then starts hands-free answer mode.。
Wherein, data transmission channel comprises first data transmission passage and the second data transmission channel, command information comprises command information and the ath command information of answering, and the step of obtaining command information from vehicle-mounted near-field communication module by data transmission channel further comprises: obtain by the first data transmission passage and answer command information; Obtain ath command information by the second data transmission channel.
Wherein, judge whether that according to command information the step of incoming call answering comprises: the control command that prestores in command information and the mobile phone is compared, and judge whether incoming call answering according to comparative result.
For solving the problems of the technologies described above, another technical solution used in the present invention is: a kind of on-board telephone system is provided, on-board telephone system comprises: vehicle-mounted equipment and the mobile phone of answering, wherein, the vehicle-mounted equipment of answering comprises: vehicle-mounted near-field communication module, be used for setting up data transmission channel with near-field communication mode and mobile phone, by data transmission channel transmission command information to mobile phone; Mobile phone comprises: module is set, and the contextual model that is used for mobile phone is set to answer mode in the car;
Judge module after mobile phone detects the incoming call incoming call, judges whether answer mode is opened in the car;
The near-field communication module is set up data transmission channel with near-field communication mode and vehicle-mounted near-field communication module when answer mode in the car has been opened, obtain command information by data transmission channel from vehicle-mounted near-field communication module; The Telephone Management Agency module judges whether incoming call answering according to command information, if be judged as incoming call answering, and incoming call answering then; If the near-field communication module fails to obtain command information or the Telephone Management Agency module is judged as not incoming call answering, not incoming call answering or hanging up calling of Telephone Management Agency module then.
Wherein, if Telephone Management Agency module incoming call answering then starts the hands-free answer mode of mobile phone.
Wherein, vehicle-mounted near-field communication module further comprises: the first near-field communication module, be used for setting up the first data transmission passage with near-field communication mode and mobile phone, and answer command information to mobile phone by the first data transmission channel transfer; The second near-field communication module is used for setting up the second data transmission channel with near-field communication mode and mobile phone, transmits ath command information to mobile phone by the second data transmission channel.
Wherein, the Telephone Management Agency module is further used for: the control command that prestores in command information and the mobile phone is compared, and judge whether incoming call answering according to comparative result.
Wherein, the vehicle-mounted equipment of answering further comprises: bluetooth is answered module, and when vehicle-mounted equipment and the mobile phone of answering when setting up data transmission channel in the near-field communication mode, bluetooth is answered module and ignored the Bluetooth pairing process and set up bluetooth with mobile phone and be connected.
Wherein, if Telephone Management Agency module incoming call answering and bluetooth are answered module and mobile phone when setting up bluetooth and being connected, start the hands-free answer mode that bluetooth is answered module.
The invention has the beneficial effects as follows: the situation that is different from prior art, the method that receives calls in on-board telephone system of the present invention and the car is obtained the whether command information of incoming call answering of user by the near-field communication mode from vehicle-mounted near-field communication module, this system and method is simple in structure, with low cost, simple to operation, the user can connect by the method and system in car and receive calls fast, and telephone receiving is effective, thereby has improved the fail safe that user Che Nei receives calls.
Embodiment
The present invention is described in detail below in conjunction with drawings and Examples.
See also Fig. 1, Fig. 1 is the structural representation of on-board telephone system the first embodiment of the present invention.As shown in Figure 1, on-board telephone system 10 comprises vehicle-mounted equipment 11 and the mobile phone 12 of answering.
Wherein, the vehicle-mounted equipment 11 of answering comprises vehicle-mounted near-field communication module 111, and vehicle-mounted near-field communication module 111 further comprises the first near-field communication module 1111 and the second near-field communication module 1112.Vehicle-mounted near-field communication module 111 is used for setting up data transmission channel with near-field communication mode and mobile phone 12, by data transmission channel transmission command information to mobile phone 12.The technical characterictic of the first near-field communication module 1111 and the second near-field communication module 1112 will be narrated hereinafter.
Mobile phone 12 comprises: module 121, judge module 122, near-field communication module 123 and Telephone Management Agency module 124 are set.
Wherein, the contextual model that module 121 is used for mobile phone 12 is set and is set to answer mode in the car.The user interface that module 121 is the every settings of system is set, is in charge of the setting that the user selects and makes system according to user's the work pattern that arranges in menu.Wherein, contextual model refers to a whole set of mobile phone 12 answer-modes of selecting according to different sights.Comprise in outdoor, meeting, flight, the car contextual models such as answer mode.
Judge module 122 is used for judging whether answer mode is opened in the car after mobile phone 12 detects the incoming call incoming call.Whether the mode reminding users such as in other embodiments, if judge module 122 judges that answer mode is not opened in the cars, module 121 is set can the tinkle of bells, voice or literal answer mode in the opening vehicle.
Near-field communication module 123 is used for setting up data transmission channel with near-field communication mode and vehicle-mounted near-field communication module 111 when answer mode in the car has been opened, obtains command information by data transmission channel from vehicle-mounted near-field communication module 111.
Concrete, the first near-field communication module 1111 is set up the first data transmission passage with the near-field communication module 123 of near-field communication mode and mobile phone 12, and answer command information to mobile phone 12 by the first data transmission channel transfer, near-field communication module 123 is obtained by the first data transmission passage and is answered command information.The second near-field communication module 1112 is set up the second data transmission channel with the near-field communication module 123 of near-field communication mode and mobile phone 12, and pass through the second data transmission channel transmission ath command information to mobile phone 12, near-field communication module 123 is obtained ath command information by the second data transmission channel.Be that near-field communication module 123 is obtained command information and the ath command information of answering by two different data channel respectively.
Telephone Management Agency module 124 is used for judging whether incoming call answering according to command information, if be judged as incoming call answering, and Telephone Management Agency module 124 incoming call answerings then.If near-field communication module 123 fails to obtain command information or Telephone Management Agency module 124 is judged as not incoming call answering according to command information, not incoming call answering or hanging up calling of Telephone Management Agency module 124 then.
Concrete, Telephone Management Agency module 124 is responsible for the phone control work of mobile phone 12, arranges according to the user that module 121 is set and realizes different processing telephony modes.The step that judges whether incoming call answering comprises that the control command that prestores in command information (as answering order or ath command) that near field communication module 123 is obtained and the mobile phone 12 compares, if comparative result is that the command information that near-field communication module 123 is obtained is to answer order, incoming call answering then, if comparative result is that the command information that near-field communication module 123 is obtained is ath command, then hang up the telephone.If Telephone Management Agency module 124 incoming call answerings then start the hands-free answer mode of mobile phone 12.
In the present embodiment, module 121, judge module 122 and Telephone Management Agency module 124 are set can be realized by the main control chip of mobile phone.
Among the present invention, vehicle-mounted near-field communication module 111(the first near-field communication module 1111 and the second near-field communication module 1112) and near-field communication module 123 between the near-field communication mode namely with near field communication (NFC) (Near Field Communication, NFC) carry out Near Field Communication, it can carry out contactless Point-to-Point Data Transmission fast.In the present embodiment, vehicle-mounted near-field communication module 111 and near-field communication module 123 comprise integrated circuit, encoder, decoder, antenna, comparator, the label of transmitting energy and the hardware that reads the modulation intelligence in the backscattering that can produce the 13.56MHz radio frequency based on a microcontroller.
Vehicle-mounted vehicle-mounted near-field communication module 111 of answering equipment 11 in the present embodiment is placed in the car of automobile, and the first near-field communication module 1111 and the second near-field communication module 1112 are placed on respectively the diverse location in the Automobile.When needs were set up the near-field communication connection, mobile phone 12 needed only near vehicle-mounted the first near-field communication module 1111 or the second near-field communication module 1112 of answering equipment 11, and general distance is within 4 ~ 5 centimetres, need not to contact and can finish the near-field communication connection.
Be to save the electric weight of on-board telephone system, the user can arrange vehicle-mounted near-field communication module 111 and near-field communication module 123 is in closed condition by default, when the user Shi Zeke that need to carry out receiving calls in the car selects to open corresponding module.
Fig. 2 is the structural representation of on-board telephone system the second embodiment of the present invention.See also Fig. 2, this on-board telephone system 30 comprises vehicle-mounted equipment 31 and the mobile phone 32 of answering.
Wherein, the vehicle-mounted equipment 31 of answering comprises that vehicle-mounted near-field communication module 311 and bluetooth answer module 312.Vehicle-mounted near-field communication module 311 further comprises the first near-field communication module 3111 and the second near-field communication module 3112.Mobile phone 32 comprises: module 321, judge module 322, near-field communication module 323 and Telephone Management Agency module 324 are set.
Vehicle-mounted near-field communication module 311(the first near-field communication module 3111 and the second near-field communication module 3112), arrange module 321, judge module 322, near-field communication module 323 and Telephone Management Agency module 324 respectively with on-board telephone system 10 in vehicle-mounted near-field communication module 111(the first near-field communication module 1111 and the second near-field communication module 1112), module 121, judge module 122, near-field communication module 123 and Telephone Management Agency module 124 be set have identical or close technical characterictic, do not repeat them here.
When the vehicle-mounted equipment 31 of answering when setting up data transmission channel with mobile phone 32 in the near-field communication mode, bluetooth is answered module 312 and will be ignored the Bluetooth pairing process and set up bluetooth with mobile phone 32 and be connected.
Concrete, when mobile phone 32 near vehicle-mounted when answering equipment 31, bluetooth is answered pairing and the connection procedure that module 312 will be ignored the Bluetooth system complexity, finishes bluetooth by vehicle-mounted near-field communication module 311 in the mode of near-field communication and answers pairing and connection procedure between module 312 and the mobile phone 32.If Telephone Management Agency module 324 incoming call answerings and bluetooth are answered module 312 and mobile phone 32 when setting up bluetooth and being connected, then start the hands-free answer mode that bluetooth is answered module 312.
Although bluetooth is a kind of outstanding short-range data communication technology,, the shortcoming of its transport layer protocol is to be not easy to the user initial link circuit between the equipment is arranged.Simply link between bluetooth earphone and the mobile phone and will spend the 30 second time (under the poorest condition), even again link with the previous node of identifying and also often to require manual intervention.In the present embodiment, vehicle-mounted near-field communication module 311 and bluetooth are answered module 312 related uses, thereby checking, connection procedure that bluetooth is answered module 312 have been simplified, realize that with NFC initial " shaking hands " between the bluetooth equipment can not need user intervention, and almost can realize immediately the pairing of equipment, thereby realize mobile phone 32 and vehicle-mounted automatic startup of answering equipment 31 and be connected.
The vehicle-mounted vehicle-mounted near-field communication module 311 of answering equipment 31 of present embodiment can be built in the automobile electronic system according to the design needs, and the first near-field communication module 3111 and the second near-field communication module 3112 are built in respectively the diverse location in the automobile electronic system.
Fig. 3 is the flow chart of method the first embodiment of receiving calls in the car of the present invention.As shown in Figure 3, the method comprises the steps:
Step S201: after detecting the incoming call incoming call, judge whether answer mode is opened in the car;
When user's steering vehicle, incoming call is arranged during incoming call if detect mobile phone 12, Telephone Management Agency module 124 judges whether the interior answer mode of car is opened.
Step S202: the Ruo Chenei answer mode is opened, then sets up data transmission channel with near-field communication mode and vehicle-mounted near-field communication module 111, obtains command information by data transmission channel from vehicle-mounted near-field communication module 111;
In the present embodiment, data transmission channel comprises first data transmission passage and the second data transmission channel, and command information comprises command information and the ath command information of answering.Step S202 further comprises step:
Obtain by the first data transmission passage and to answer command information;
Obtain ath command information by the second data transmission channel.
Step S203: judge whether incoming call answering according to command information;
In the present embodiment, step S203 further comprises: the control command that prestores in command information and the mobile phone is compared, and judge whether incoming call answering according to comparative result.
Step S204: if be judged as incoming call answering, incoming call answering then;
Step S205: if fail to obtain command information or be judged as not incoming call answering, then not incoming call answering or hanging up calling;
Step S206: if incoming call answering then starts hands-free answer mode.
Fig. 4 is the flow chart of method one specific embodiment of receiving calls in the car of the present invention.As shown in Figure 4, the method comprises the steps:
Step S401: after detecting the incoming call incoming call, judge whether the interior answer mode of car of mobile phone is opened;
Step S402: if judge that answer mode is opened in the car, then open the read mode of near-field communication module;
Step S403: read vehicle-mounted near-field communication module tag content, and compare and judge whether to receive calls with the order that mobile phone writes in advance;
Step S404: if judge it is the order that receives calls, then this telephone order is answered in output, answers this phone,
Step S405: start the hand-free call pattern;
Step S406: if judge it is the order that do not receive calls, then this telephone order is hung up in output
By the way, the method that receives calls in on-board telephone system and the car is set up data transmission channel by near-field communication mode and vehicle-mounted near-field communication module, obtains command information by data transmission channel from vehicle-mounted near-field communication module; Judge whether incoming call answering according to command information; If fail to obtain command information, then not incoming call answering or hanging up calling.For the user that drives when hands-free the receiving calls, realize that on-board telephone system connects fast, and it is simple in structure, easy to use.
The above only is embodiments of the present invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.