Summary of the invention
The object of this invention is to provide a kind of Emmergency call method based on headset and system, can short calling be carried out.
Technical scheme provided by the invention is as follows:
Based on an Emmergency call method for headset, it comprises:
Step 1: the voice transfer data circuit between headset and mobile phone is switched to fingerprint transmitted data line;
Step 2: obtain finger print information;
Step 3: comparison finger print information also obtains the associated person information corresponding with described finger print information;
Step 4: described fingerprint transmitted data line is switched back described voice transfer data circuit;
Step 5: the associated person information in described step 3 is called out.
Preferably, before described step 1, first judge current whether in call, if so, then directly call; Otherwise, perform step 1.
Preferably, before the acquisition finger print information described in described step 2, first start fingerprint and obtain function.
Preferably, described step 2 comprises: obtain finger print information within the predetermined time.
Preferably, before described step 3, judge that the information received is voice messaging or finger print information;
When being judged as voice messaging, carry out speech action;
When being judged as finger print information, perform described step 3.
Preferably, in described step 3, the finger print information obtain described step 2 and multiple finger print information are compared, and in described multiple finger print information, the associated person information that each finger print information is corresponding different.
Present invention also offers a kind of emergencycallboxsystem based on headset, it applies Emmergency call method as the aforementioned, and described emergencycallboxsystem comprises:
Headset, it is for obtaining voice messaging;
Finger print acquisition module, it is integrated on described headset, and for gathering finger print information;
Mobile phone, it receives the voice messaging of described headset transmission or the finger print information of described finger print acquisition module transmission;
Described mobile phone comprises fingerprint base, fingerprint comparison module, call module, processor;
Wherein, described fingerprint base is for prestoring the finger print information of user's typing and the associated person information corresponding with this finger print information;
The finger print information that described fingerprint comparison module is used for storing in the finger print information of described finger print acquisition module collection that received by described mobile phone and described fingerprint base is compared, and obtains the associated person information corresponding with the finger print information that described finger print acquisition module gathers;
Call module, it is called out for the associated person information obtained to described fingerprint comparison module;
Processor, it is for controlling the voice transfer data circuit between described headset and described mobile phone, the switching between both fingerprint transmitted data line; And the associated person information obtained according to described fingerprint comparison module for controlling described call module is called out.
Preferably, described emergencycallboxsystem comprises fingerprint further and obtains function on switch, gathers the function of fingerprint for starting described finger print acquisition module.
Preferably, described mobile phone comprises judge module further, and it is voice messaging or finger print information for the information come from headset transmission judging that mobile phone receives;
When being judged as voice messaging, carry out speech action;
When being judged as finger print information, the finger print information in this finger print information and described fingerprint base is compared by described fingerprint comparison module.
Preferably, in described fingerprint base, be previously stored with multiple finger print information, and with multiple finger print information multiple associated person information one to one.
By the Emmergency call method based on headset provided by the invention and system, following at least one beneficial effect can be brought:
1, short calling can be carried out.Mobile phone need be combined with headset by the present invention, can when not drawing out mobile phone, is dialed number and calls out, be highly suitable for emergency, realize quick urgent call by the input of fingerprint and comparison.Particularly, voice transfer data circuit between headset and mobile phone is first switched to fingerprint transmitted data line by the present invention, gather fingerprint by the finger print acquisition module that headset place is integrated again, by fingerprint transmitted data line, the finger print information of collection is transferred to mobile phone afterwards.Finger print information and the finger print information associated person information corresponding with finger print information has been previously stored with in the fingerprint base of mobile phone, mobile phone is after the finger print information receiving finger print acquisition module collection, finger print information in itself and fingerprint base is compared, thus obtain the associated person information corresponding with the finger print information that finger print acquisition module gathers, then carry out call conversation by call module to this associated person information.
2, also multiple finger print information can be stored in fingerprint base of the present invention, and with the plurality of finger print information associated person information one to one, thus when fingerprint capturer gathers different fingerprints, can call to different contact persons, namely realize the function of being called out different contact person by different fingerprints.
Embodiment
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, contrast accompanying drawing is illustrated the specific embodiment of the present invention 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 prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings, and obtain other execution mode.
For making simplified form, only schematically show part related to the present invention in each figure, they do not represent its practical structures as product.In addition, be convenient to make simplified form understand, there are the parts of same structure or function in some figure, only schematically depict one of them, or only marked one of them.In this article, " one " not only represents " only this ", also can represent the situation of " more than one ".
The invention provides a kind of Emmergency call method based on headset, see Fig. 1, comprise following flow process:
Step 101: the voice transfer data circuit between headset and mobile phone is switched to fingerprint transmitted data line;
Step 102: obtain finger print information;
Step 103: comparison finger print information also obtains the associated person information corresponding with described finger print information;
Step 104: fingerprint transmitted data line is switched back voice transfer data circuit;
Step 105: the associated person information in step 103 is called out.
Data circuit between headset and mobile phone can be wired, also can be wireless, wherein wirelessly can be realized by bluetooth module.In a step 101, the switching of data circuit can be triggered by button and realize, and after trigger key, processor control circuit switches.Step 102 can be realized by push type fingerprint sensor, is integrated on headset, after having gathered finger print information, finger print information is transferred to mobile phone by push type fingerprint sensor.Mobile phone performs comparison process in step 103, the finger print information of collection and the fingerprint base being previously stored with finger print information (can be multiple) are compared, also store the associated person information corresponding with finger print information in fingerprint base simultaneously, after comparison is complete, obtain an associated person information.Now, processor control data circuit switching returns voice transfer data circuit, performs the action to contact person's calling afterwards again.
On the basis of aforementioned emergency method of calling, the invention allows for following several embodiment:
Embodiment one
With reference to Fig. 2, the embodiment one of method comprises following flow process:
Step 201: judge current whether in call, if so, perform step 202, otherwise, perform step 203;
Step 202: direct calling;
Step 203: start fingerprint and obtain function;
Step 204: the voice transfer data circuit between headset and mobile phone is switched to fingerprint transmitted data line;
Step 205: obtain finger print information;
Step 206: comparison finger print information also obtains the associated person information corresponding with described finger print information;
Step 207: fingerprint transmitted data line is switched back voice transfer data circuit;
Step 208: the associated person information in step 206 is called out.
Embodiment a pair aforesaid embodiment is supplemented, and adds step 201, step 202, step 203.Wherein, whether step 201 first judged current in call before switch data circuit, if so, then performed step 202 and directly called; Otherwise can switch voice transfer data circuit is fingerprint transmitted data line, and carries out the collection of fingerprint.The judgement of step 201 can be realized by processor.The startup fingerprint that step 203 increases obtains function first can start fingerprint sensor by button, in order to avoid the function obtaining fingerprint is misapplied before collection fingerprint.
Embodiment two
With reference to Fig. 3, the embodiment two of method comprises following flow process:
Step 301: judge current whether in call, if so, perform step 302, otherwise, perform step 303;
Step 302: direct calling;
Step 303: start fingerprint and obtain function;
Step 304: the voice transfer data circuit between headset and mobile phone is switched to fingerprint transmitted data line;
Step 305: obtain finger print information;
Step 306: judge mobile phone receive headset transmission information be voice messaging or finger print information; When for voice messaging, perform step 307; When for finger print information, perform step 308;
Step 307: carry out speech action;
Step 308: comparison finger print information also obtains the associated person information corresponding with described finger print information;
Step 309: fingerprint transmitted data line is switched back voice transfer data circuit;
Step 310: the associated person information in step 308 is called out.
Embodiment two adds step 306 and 307 on the basis of embodiment one, what judge to be transmitted from headset one end by data circuit is voice messaging or finger print information, when for voice messaging, then continue the phonetic function of phone, such as, make a phone call or the voice-enabled chat etc. of social software; When for finger print information, then carry out fingerprint comparison, whether the finger print information that search comparison transmission comes from fingerprint base is present in fingerprint base.
In the embodiment of method, can also arrange and obtain finger print information within the predetermined time, when exceed predetermined time do not get fingerprint time, then recovering data circuit is voice transfer data circuit, after can avoiding misoperation that voice transfer data circuit is switched to fingerprint transmitted data line like this, to taking for a long time of voice transfer data circuit.Can be realized by timing recovery module, when the scheduled time does not get fingerprint, timing recovery module will recover the unobstructed of voice transfer data circuit.
In the embodiment of method, can also prestore multiple finger print information in fingerprint base, multiple finger print information is a corresponding contact person simultaneously, is convenient to call out same contact person when emergency by arbitrary finger print information; Or the corresponding same contact person of the partial fingerprints in multiple finger print information, other fingerprints another contact person corresponding; Or the corresponding mutually different contact person of each finger print information, realizes the function of being called out different contact person by different fingerprint.
In the embodiment of method, if fingerprint comparison is unsuccessful, then gets back to the step obtaining fingerprint and again obtain fingerprint.In such cases, if fingerprint comparison is unsuccessful, reminding user can be carried out by arranging a prompting module by vibrating alert or voice reminder.When for voice reminder, user can be transferred to by headset.
Present invention also offers a kind of emergencycallboxsystem of application of aforementioned Emmergency call method, the embodiment of emergencycallboxsystem shown in Figure 4, comprising:
Headset 1, it is for obtaining voice messaging;
Finger print acquisition module 2, it is integrated on headset 1, and for gathering finger print information;
Mobile phone 3, it receives the voice messaging of headset transmission or the finger print information of finger print acquisition module transmission;
Mobile phone comprises fingerprint comparison module 3a, fingerprint base 3b, call module 3c, processor 3d;
Wherein, fingerprint base 3b is for prestoring the finger print information of user's typing and the associated person information corresponding with this finger print information;
The finger print information that fingerprint comparison module 3a is used for storing in finger print information that the finger print acquisition module 2 that received by mobile phone gathers and fingerprint base 3b is compared, and obtains the associated person information corresponding with the finger print information that finger print acquisition module 2 gathers;
Call module 3c, it is called out for the associated person information obtained to fingerprint comparison module 3a;
Processor 3d, it is for controlling the voice transfer data circuit between headset 1 and mobile phone 3, the switching between both fingerprint transmitted data line; And the associated person information obtained according to fingerprint comparison module 3a for controlling call module 3c is called out.
In the present embodiment, headset can be wired headset or earphone-microphone, when for earphone-microphone, is carried out the transmission of data between headset and mobile phone by bluetooth module.
Finger print acquisition module can be push type fingerprint sensor, and is integrated on headset, such as earplug place.
Mobile phone can use common smart mobile phone, and wherein, fingerprint base, fingerprint comparison module, call module, processor are all integrated on the chip of interior of mobile phone, and fingerprint base need shift to an earlier date typing finger print information by the fingerprint sensor on mobile phone or headset; Fingerprint comparison module, processor all can by the Implement of Function Modules of write software; Call module is realized by call function module original on mobile phone.
In the present embodiment, one controller can also be set at headset place, control the switching between voice transfer data circuit and fingerprint transmitted data line by controller, replace the function of processor this respect.
On the basis of aforementioned emergency calling system, the invention allows for the embodiment of following refinement:
With reference to Fig. 5, on the basis of aforementioned emergency calling system embodiment, embodiment adds fingerprint and obtain function on switch 4, gathering the function of fingerprint for starting finger print acquisition module 2.Meanwhile, the present embodiment also adds judge module 3e in mobile phone 3, and it is voice messaging or finger print information for the information come from headset transmission judging that mobile phone receives; When being judged as voice messaging, carry out speech action (information goes to call module); When being judged as finger print information, the finger print information in this finger print information and fingerprint base 3b is compared by fingerprint comparison module 3a.
In the present embodiment, fingerprint is obtained function on switch and can be realized by a push type button, and this push type button can be connected with processor communication, and after pressing switch, the fingerprint that Trigger processor opens finger print acquisition module obtains function.
In the present embodiment, judge module by the Implement of Function Module of a write software, and can be connected with call module, fingerprint comparison module communication.
In the embodiment of system, can also prestore multiple finger print information in fingerprint base, multiple finger print information is a corresponding contact person simultaneously, is convenient to call out same contact person when emergency by arbitrary finger print information; Or the corresponding same contact person of the partial fingerprints in multiple finger print information, other fingerprints another contact person corresponding; Or the corresponding mutually different contact person of each finger print information, realizes the function of being called out different contact person by different fingerprint.
The invention allows for a kind of specific embodiment of headset, with reference to Fig. 6, the present invention adds a Fingerprint Identification Unit on traditional headset, is controlled microphone and Fingerprint Identification Unit time-sharing multiplex one data lines of headset by controller.Function of the present invention can be realized like this on the basis of not revising earphone microphone interface.Its middle controller can realize data path multiplexing for microphone/fingerprint is switched on the equipment of specifying, such as, be switched to microphone, be still switched to Fingerprint Identification Unit.Controller there is a button, fingerprint recognition can be triggered and start.
The time-sharing multiplex of voice transfer data circuit, fingerprint transmitted data line can be passed through by the present invention, realize the function by fingerprint recognition call contact, thus mobile phone need not be drawn out then can call, be particularly useful for use in emergency circumstances.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can have been come by the hardware that program command is relevant, aforesaid program can be stored in a read/write memory medium, this program, when performing, performs the step comprising said method embodiment; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
It should be noted that above-described embodiment all can independent assortment as required.The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the premise without departing from the principles of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.