CN105472173A - Instant message sending method and device, and mobile terminal - Google Patents
Instant message sending method and device, and mobile terminal Download PDFInfo
- Publication number
- CN105472173A CN105472173A CN201610038413.8A CN201610038413A CN105472173A CN 105472173 A CN105472173 A CN 105472173A CN 201610038413 A CN201610038413 A CN 201610038413A CN 105472173 A CN105472173 A CN 105472173A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- acquisition
- vibration signal
- instant communication
- preset strategy
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 39
- 238000004891 communication Methods 0.000 claims description 89
- 238000001228 spectrum Methods 0.000 description 14
- 238000004458 analytical method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- XUIMIQQOPSSXEZ-UHFFFAOYSA-N Silicon Chemical compound [Si] XUIMIQQOPSSXEZ-UHFFFAOYSA-N 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 229910052710 silicon Inorganic materials 0.000 description 1
- 239000010703 silicon Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 230000005236 sound signal Effects 0.000 description 1
- 238000012731 temporal analysis Methods 0.000 description 1
- 238000000700 time series analysis Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/7243—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
- H04M1/72436—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/58—Message adaptation for wireless communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72418—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services
- H04M1/72421—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting emergency services with automatic activation of emergency service functions, e.g. upon sensing an alarm
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Emergency Management (AREA)
- Human Computer Interaction (AREA)
- General Business, Economics & Management (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention provides an instant message sending method and device, and a mobile terminal. The method comprises: when a mobile terminal is in a standby state, obtaining a first vibration signal generated by a user knocking the mobile terminal; determining whether the first vibration signal accords with a preset strategy; if the first vibration signal accords with a preset strategy, generating a message obtaining instruction corresponding to the first vibration signal; according to the message obtaining instruction, obtaining a corresponding instant message; and sending the obtained instant message to a pre-bonded mobile terminal. Through knocking the mobile terminal, the method and device can send an obtained instant message to a pre-bonded mobile terminal, and realize small, hidden and fast mobile terminal operation action, thereby achieving the purposes of emergency contact and emergency alarm in a mode imperceptible by lawless persons. The method and device are simpler to operate, and can substantially save user time, improve processing efficiency, and provide great convenience for user operation.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of sending method of instant communication information, device and mobile terminal.
Background technology
Along with the development of the communication technology, it is more and more universal that terminal also becomes, and its institute's role in people's life also becomes more and more for important.By terminal, people not only can carry out communication, but also can carry out doing shopping or the various activities such as amusement.At some in particular cases, such as, when user is in and is kidnaped or is plundered, at this moment user as usual sportingly can not take out mobile phone to make a phone call or sends note, reports to the police.User, in particular cases this, preferably uses the action of mobile phone little, hidden and quick, allows the mode that lawless person can not find, to reach emergency contact, and the object of emergency alarm.
Therefore, be necessary to propose a kind of new technical scheme, to solve the problems of the technologies described above.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of sending method of instant communication information, device and mobile terminal, the action of its operating mobile terminal is little, hidden and quick, thus allow the mode that lawless person can not find, and to reach emergency contact, the object of emergency alarm.
For solving the problems of the technologies described above, embodiments provide following technical scheme:
Embodiments provide a kind of sending method of instant communication information, the sending method of described instant communication information, comprises the following steps:
Under mobile terminal is in holding state, obtain the first vibration signal that user produces by knocking described mobile terminal;
Judge whether described first vibration signal meets preset strategy;
If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding;
According to described acquisition of information instruction, obtain corresponding instant communication information;
The instant communication information of acquisition is sent to the mobile terminal bound in advance.
For solving the problems of the technologies described above, the embodiment of the present invention additionally provides following technical scheme:
The embodiment of the present invention additionally provides a kind of dispensing device of instant communication information, and the dispensing device of described instant communication information comprises:
First acquisition module, under being in holding state at mobile terminal, obtains the first vibration signal that user produces by knocking described mobile terminal;
Judge module, for judging whether described first vibration signal meets preset strategy;
Directive generation module, if for meeting preset strategy, generates the acquisition of information instruction that described first vibration signal is corresponding;
Data obtaining module, for according to described acquisition of information instruction, obtains corresponding instant communication information;
Sending module, for being sent to the mobile terminal bound in advance by the instant communication information of acquisition.
For solving the problems of the technologies described above, the embodiment of the present invention additionally provides following technical scheme:
The embodiment of the present invention additionally provides a kind of mobile terminal comprising the dispensing device of instant communication information described above.
Relative to prior art, the sending method of instant communication information of the present invention and device, under being in holding state at mobile terminal, obtain the first vibration signal that user produces by knocking described mobile terminal; Judge whether described first vibration signal meets preset strategy; If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding; According to described acquisition of information instruction, obtain corresponding instant communication information; The instant communication information of acquisition is sent to the mobile terminal bound in advance.The invention enables user under special circumstances, just the instant communication information of acquisition can be realized to be sent to the mobile terminal bound in advance by knocking mobile terminal, the action of its operating mobile terminal is little, hidden and quick, thus allow the mode that lawless person can not find, to reach emergency contact, the object of emergency alarm.Therefore, the present invention not only operates more easy, and greatly can save user time, can improve treatment effeciency, bring great convenience to user operation.
Accompanying drawing explanation
Fig. 1 is the realization flow schematic diagram of the sending method of the instant communication information that the embodiment of the present invention one provides;
Fig. 2 is the realization flow schematic diagram of the sending method of the instant communication information that the embodiment of the present invention two provides;
Fig. 3 is the realization flow schematic diagram of the sending method of the instant communication information that the embodiment of the present invention three provides;
Fig. 4 is the realization flow schematic diagram of the sending method of the instant communication information that the embodiment of the present invention four provides;
Fig. 5 is the module diagram of the dispensing device of the instant communication information that the embodiment of the present invention five provides;
Fig. 6 is the detailed module diagram of the dispensing device of the instant communication information that the embodiment of the present invention provides.
Embodiment
What please refer in accompanying drawing is graphic, and wherein identical element numbers represents identical assembly, and principle of the present invention implements to illustrate in a suitable computing environment.The following description is based on exemplified specific embodiments of the invention, and it should not be regarded as limiting the present invention not at other specific embodiment that this describes in detail.
The principle of the invention illustrates with above-mentioned word, and it is not represented as a kind of restriction, and those skilled in the art can recognize that the plurality of step of the following stated and operation also may be implemented in the middle of hardware.Principle of the present invention uses other wide usages many or specific purpose computing, communication environment or configuration to operate.
Embodiment one
Refer to Fig. 1, be depicted as the sending method of the instant communication information that the embodiment of the present invention provides.
The sending method of described instant communication information, is applied in mobile terminal device, specifically comprises the steps:
In step S101, under mobile terminal is in holding state, obtain the first vibration signal that user produces by knocking described mobile terminal;
In embodiments of the present invention, such as, under mobile terminal is in holding state, on the screen of the mobile terminal or back knock, then now, this mobile terminal just can get corresponding vibration information, etc.
Wherein, this knocking generally can produce by directly knocking mobile mobile terminal optional position with hand, or, also can be by other hard object, such as knock mobile mobile terminal with penholder, key etc. and generate; When knocking, position can be not construed as limiting, and can be such as screen, the back side or frame etc. of knocking mobile terminal.
Because mobile terminal generally has microphone, loud speaker and receiver, therefore, the microphone that mobile terminal can be utilized to carry or loud speaker or receiver are to identify this special voice signal, and this voice signal is converted into vibration signal, that is, step " the first vibration signal that acquisition user produces by knocking mobile terminal " can comprise:
The first vibration signal that user produces by knocking mobile terminal is obtained by the microphone of mobile terminal or loud speaker or receiver.
Wherein, this microphone can comprise various types of microphone, such as electret microphone, silicon microphone etc., and loud speaker also can comprise various types of loud speaker.If simulation microphone or analog speakers, then first can obtaining the analog signal that user produces by knocking mobile terminal, then by D/A converter module, this analog signal being converted to digital signal, obtaining vibration signal; And if digital microphone or digital loudspeaker, then can direct output digit signals, without the need to carrying out digital-to-analogue conversion.
It should be noted that, except microphone and loud speaker or receiver, the device of any sound-electric conversion can also be comprised, do not repeat them here.
In step s 102, judge whether described first vibration signal meets preset strategy;
Such as, preset strategy is: carry out knocking on mobile terminal screen, and so mobile terminal performs and obtains corresponding instant communication information, and the instant communication information of acquisition is sent to the mobile terminal bound in advance.But, be understandable that, can require that sets itself number of taps correspondence performs according to user and obtain corresponding instant communication information, and the instant communication information of acquisition is sent to the relative strategy of the mobile terminal bound in advance.
In step s 103, if meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding;
In embodiments of the present invention, described first vibration signal is mated with the sample in presetting database; If coupling, obtain the acquisition of information instruction corresponding to sample matched.Otherwise if this first vibration signal does not mate with the sample in presetting database, then determine that this first vibration signal does not meet preset strategy, flow process terminates, and now, can point out user it fails to match.
Wherein, due to this vibration signal be a kind of knock vibrations mobile terminal time the voice signal that produces, the hammer action time is very of short duration, and carry out solid propagation by mobile terminal, therefore, this voice signal is a kind of special voice signal, such as, from the time, this voice signal very short (millisecond rank); From signal amplitude size relatively, being the microphone or the loud speaker that directly shake mobile terminal during owing to knocking, is that solid is propagated, and therefore, the intensity of the more general voice signal of its intensity is larger, and the level produced is also relatively large; Further, from frequency spectrum, the whole recording frequency range of the frequency coverage of this voice signal, and the amplitude difference of each frequency is little, so the sound also from general is different; Some is known based on above-mentioned, even if at noisy environment, also can by this voice signal, and namely vibration signal recognizes.
Such as, this vibration signal can be carried out Fourier transform (FFT), to convert frequency spectrum to, and then analyze, such as can analyze respectively time, frequency and amplitude, etc.; Namely " mated with the sample in presetting database by this first vibration signal " specifically can be as follows for step:
Determine the frequency spectrum of this first vibration signal, respectively time of this frequency spectrum, frequency and amplitude are analyzed, obtain analysis result, this analysis result is mated with the sample in presetting database.
Wherein, this presetting database can be arranged in advance by system, also can be arranged voluntarily by user, namely before this first vibration signal " mates with the sample in presetting database " by step, the sending method of this instant communication information can also comprise:
The instruction receiving user arranges request, arranges the mapping relations that sample and acquisition of information instruction are set up in request, these mapping relations be saved in presetting database according to this instruction.
In embodiments of the present invention, the frequency spectrum of described first vibration signal is determined; Respectively time of described frequency spectrum, frequency and amplitude are analyzed, obtain analysis result; Specifically can be as follows:
(1) Fourier transform (FFT) is carried out to this first vibration signal, obtain frequency spectrum.
(2) this frequency spectrum is analyzed, such as can analyze respectively time, frequency and amplitude, to export current action signal, i.e. analysis result, specifically can be as follows:
Time (Time) is analyzed: can determine whether the time cycle of this frequency spectrum exceedes preset time period [T1, T2] scope, if so, then illustrates it is not normal hammer action, is filtered to export to represent undesirable signal, such as NC signal; If meet in this preset time period [T1, T2] scope, then illustrate and meet the requirements, can export and represent satisfactory signal, such as OK signal.Wherein, this preset time period [T1, T2] can be arranged based on the design feature of the feature of hammer action and mobile terminal, and such as, knock the recorded audio signals analysis of mobile phone according to actual finger first, T1 is generally not more than 5ms, and T2 is not more than 20ms.
Frequency (Frequency) distributional analysis: provide output signal by the distribution situation of each frequency of adding up this frequency spectrum, if frequency distribution continuously and frequency band broadness, exports and represents satisfactory signal, such as OK signal; Otherwise represent undesirable signal, such as NC signal.From reality contrast, especially between 6Khz to highest frequency (sample rate frequency is divided by 2), frequency distribution is continuous.
Amplitude (Amplitude) is analyzed: the signal energy analyzing the whole frequency range of this frequency spectrum, if signal energy mean value is higher than the value of setting, exports and represent satisfactory signal, such as export OK signal, otherwise export the undesirable signal of expression, such as export NC signal.
Statistics identifies: determine whether current be hammer action, such as, if be all OK signal according to the analysis result that time series analysis, frequency analysis and amplitude analysis obtain, then be expressed as hammer action, and if NG signal, then represent it is not hammer action, etc.; Then, add up the interval of knocking, if connected action of knocking for twice is too short, such as lower than T3 (such as 50ms), consider that the action of people is so not fast, can determine that this section of frequency spectrum is undesirable, not export current action signal; If be connected, the time of twice action is longer than T4 (such as 500ms), then think that last action does not belong to the action of first N time, namely determine that the frequency spectrum corresponding to last action does not belong to this current actuating signal, so, signal before only exporting several times corresponding to action, as this current actuating signal; If all action intervals all meet in [T3, T4], then think that this is some actions of specifying, the frequency spectrum namely corresponding to this action all belongs to this current actuating signal.
In step S104, according to described acquisition of information instruction, obtain corresponding instant communication information;
In step S105, the instant communication information of acquisition is sent to the mobile terminal bound in advance.
In embodiments of the present invention, the contact number of sending object corresponding to instant communication information is pre-set.
As from the foregoing, the sending method of the instant communication information that the present embodiment one provides, under being in holding state at mobile terminal, obtains the first vibration signal that user produces by knocking described mobile terminal; Judge whether described first vibration signal meets preset strategy; If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding; According to described acquisition of information instruction, obtain corresponding instant communication information; The instant communication information of acquisition is sent to the mobile terminal bound in advance.The invention enables user under special circumstances, just the instant communication information of acquisition can be realized to be sent to the mobile terminal bound in advance by knocking mobile terminal, the action of its operating mobile terminal is little, hidden and quick, thus allow the mode that lawless person can not find, to reach emergency contact, the object of emergency alarm.Therefore, the present invention not only operates more easy, and greatly can save user time, can improve treatment effeciency, bring great convenience to user operation.
As one embodiment of the present invention, after the described instant communication information by acquisition is sent to the step of the mobile terminal bound in advance, also comprise:
1, obtain the second vibration signal that user produces by knocking described mobile terminal;
The above-mentioned associated description describing " obtaining the first vibration signal that user produces by knocking mobile terminal " in detail, in like manner, it is also identical for obtaining user by the principle of the second vibration signal knocking described mobile terminal and produce, and therefore, repeats no more.
2, according to described second vibration signal, generate open command corresponding to described second vibration signal and out code;
3, according to described open command, open call mode;
4, according to described out code, mute speaker.
Such as, under mobile terminal is in holding state, carry out knocking two times in the optional position of mobile terminal, so mobile terminal performs and opens call mode, and performs mute speaker.
As from the foregoing, the preferred embodiment makes user under special circumstances, just can realize opening call mode by knocking mobile terminal, and perform mute speaker, like this, to the sound of current environment can hearing local terminal, contribute to the other user like this and can understand the current residing environment of this end subscriber, and the loud speaker due to local terminal is cut out, the script for story-telling end that so the other user says cannot be heard, lawless person can not be allowed like this to become suspicious, the action of its operating mobile terminal of this preferred embodiment is little, hidden, and it is quick, thus allow the mode that lawless person can not find, to reach emergency contact, the object of emergency alarm.Therefore, the present invention not only operates more easy, and greatly can save user time, can improve treatment effeciency, bring great convenience to user operation.
Embodiment two
Refer to Fig. 2, be depicted as the sending method of the instant communication information that the embodiment of the present invention provides.
The sending method of described instant communication information, is applied in mobile terminal device, specifically comprises the steps:
In step s 201, under mobile terminal is in holding state, obtain the first vibration signal that user produces by knocking described mobile terminal;
In embodiment one, describing the associated description of " obtaining the first vibration signal that user produces by knocking mobile terminal " in detail, therefore, repeating no more.
In step S202, judge whether described first vibration signal meets the first preset strategy;
In embodiments of the present invention, such as, the first preset strategy is: carry out knocking in the optional position of mobile terminal, and so mobile terminal performs the note obtaining and preset, and the preset SMS of acquisition is sent to the mobile terminal bound in advance.But, be understandable that, can require that sets itself number of taps correspondence performs the note obtaining and preset according to user, and the preset SMS of acquisition is sent to the relative strategy of the mobile terminal bound in advance.And for example, can be carry out knocking two times in the optional position of mobile terminal, so mobile terminal performs the note obtaining and preset, and the preset SMS of acquisition is sent to the operation of the mobile terminal bound in advance.
In step S203, if meet the first preset strategy, generate note corresponding to described first preset strategy and obtain instruction;
In step S204, obtain instruction according to described note, obtain the note preset;
In step S205, the preset SMS of acquisition is sent to the mobile terminal bound in advance.
Such as, under mobile terminal is in holding state, carry out knocking in the optional position of mobile terminal, so mobile terminal performs the note obtaining and preset, and the preset SMS of acquisition is sent to the mobile terminal bound in advance.
As from the foregoing, the sending method of the instant communication information that the present embodiment two provides, under being in holding state at mobile terminal, obtains the first vibration signal that user produces by knocking described mobile terminal; Judge whether described first vibration signal meets the first preset strategy; If meet the first preset strategy, generate note corresponding to described first preset strategy and obtain instruction; Obtain instruction according to described note, obtain the note preset; The preset SMS of acquisition is sent to the mobile terminal bound in advance.The invention enables user under special circumstances, just the default note of automatic acquisition can be realized by knocking mobile terminal, and the preset SMS of acquisition is sent to the mobile terminal bound in advance, the action of its operating mobile terminal is little, hidden and quick, thus allow the mode that lawless person can not find, and to reach emergency contact, the object of emergency alarm.Therefore, the present invention not only operates more easy, and greatly can save user time, can improve treatment effeciency, bring great convenience to user operation.
Embodiment three
Refer to Fig. 3, be depicted as the sending method of the instant communication information that the embodiment of the present invention provides.
The sending method of described instant communication information, is applied in mobile terminal device, specifically comprises the steps:
In step S301, under mobile terminal is in holding state, obtain the first vibration signal that user produces by knocking described mobile terminal;
In embodiment one, describing the associated description of " obtaining the first vibration signal that user produces by knocking mobile terminal " in detail, therefore, repeating no more.
In step s 302, judge whether described first vibration signal meets the second preset strategy;
In embodiments of the present invention, such as, second preset strategy is: carry out knocking in the optional position of mobile terminal, so mobile terminal performs and obtains the current residing positional information of described mobile terminal, and current for the mobile terminal of acquisition residing positional information is sent to the mobile terminal bound in advance.But, be understandable that, sets itself number of taps correspondence can be required to perform according to user and obtain the current residing positional information of described mobile terminal, and current for the mobile terminal of acquisition residing positional information is sent to the relative strategy of the mobile terminal bound in advance.And for example, can be carry out knocking two times in the optional position of mobile terminal, so mobile terminal performs and obtains the current residing positional information of described mobile terminal, and current for the mobile terminal of acquisition residing positional information is sent to the operation of the mobile terminal bound in advance.
In step S303, if meet the second preset strategy, generate the position acquisition instruction that described second preset strategy is corresponding;
In step s 304, according to described position acquisition instruction, obtain the current residing positional information of described mobile terminal;
In step S305, current for the mobile terminal of acquisition residing positional information is sent to the mobile terminal bound in advance.
Such as, under mobile terminal is in holding state, carry out knocking in the optional position of mobile terminal, so mobile terminal performs and obtains the current residing positional information of described mobile terminal, and current for the mobile terminal of acquisition residing positional information is sent to the mobile terminal bound in advance.
As from the foregoing, the sending method of the instant communication information that the present embodiment three provides, under being in holding state at mobile terminal, obtains the first vibration signal that user produces by knocking described mobile terminal; Judge whether described first vibration signal meets the second preset strategy; If meet the second preset strategy, generate the position acquisition instruction that described second preset strategy is corresponding; According to described position acquisition instruction, obtain the current residing positional information of described mobile terminal; Current for the mobile terminal of acquisition residing positional information is sent to the mobile terminal bound in advance.The invention enables user under special circumstances, just the current residing positional information of mobile terminal described in automatic acquisition can be realized by knocking mobile terminal, and current for the mobile terminal of acquisition residing positional information is sent to the mobile terminal bound in advance, the action of its operating mobile terminal is little, hidden and quick, thus allow the mode that lawless person can not find, and to reach emergency contact, the object of emergency alarm.Therefore, the present invention not only operates more easy, and greatly can save user time, can improve treatment effeciency, bring great convenience to user operation.
Embodiment four
Refer to Fig. 4, be depicted as the sending method of the instant communication information that the embodiment of the present invention provides.
The sending method of described instant communication information, is applied in mobile terminal device, specifically comprises the steps:
In step S401, under mobile terminal is in holding state, obtain the first vibration signal that user produces by knocking described mobile terminal;
In embodiment one, describing the associated description of " obtaining the first vibration signal that user produces by knocking mobile terminal " in detail, therefore, repeating no more.
In step S402, judge whether described first vibration signal meets the 3rd preset strategy;
In embodiments of the present invention, such as, the 3rd preset strategy is: carry out knocking in the optional position of mobile terminal, and so mobile terminal performs the voice content obtaining and prerecord; And the voice content prerecorded obtained is sent to the mobile terminal bound in advance.But, be understandable that, can require that sets itself number of taps correspondence performs the voice content obtaining and prerecord according to user; And the voice content prerecorded obtained is sent to the relative strategy of the mobile terminal bound in advance.And for example, can be carry out knocking two times in the optional position of mobile terminal, so mobile terminal performs the voice content obtaining and prerecord; And the voice content prerecorded obtained is sent to the operation of the mobile terminal bound in advance.
In step S403, if meet the 3rd preset strategy, generate voice corresponding to described 3rd preset strategy and obtain instruction;
In step s 404, obtain instruction according to described voice, obtain the voice content prerecorded;
In step S405, the voice content prerecorded obtained is sent to the mobile terminal bound in advance.
Such as, under mobile terminal is in holding state, carry out knocking in the optional position of mobile terminal, so mobile terminal performs the voice content obtaining and prerecord; And the voice content prerecorded obtained is sent to the mobile terminal bound in advance.
As from the foregoing, the sending method of the instant communication information that the present embodiment four provides, under being in holding state at mobile terminal, obtains the first vibration signal that user produces by knocking described mobile terminal; Judge whether described first vibration signal meets the 3rd preset strategy; If meet the 3rd preset strategy, generate voice corresponding to described 3rd preset strategy and obtain instruction according to described voice acquisition instruction, obtain the voice content prerecorded; The voice content prerecorded obtained is sent to the mobile terminal bound in advance.The invention enables user under special circumstances, just can realize by knocking mobile terminal the voice content that automatic acquisition prerecords; And the voice content prerecorded obtained is sent to the mobile terminal bound in advance, and the action of its operating mobile terminal is little, hidden and quick, thus allow the mode that lawless person can not find, to reach emergency contact, the object of emergency alarm.Therefore, the present invention not only operates more easy, and greatly can save user time, can improve treatment effeciency, bring great convenience to user operation.
Embodiment five
See also Fig. 5 and Fig. 6, the module diagram of the dispensing device of the instant communication information provided for the embodiment of the present invention five; For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The dispensing device of described instant communication information comprises: the first acquisition module 101, judge module 102, directive generation module 103, data obtaining module 104, sending module 105.The dispensing device of described instant communication information can be the unit of the software unit be built in mobile terminal, hardware cell or software and hardware combining.
First acquisition module 101, under being in holding state at mobile terminal, obtains the first vibration signal that user produces by knocking described mobile terminal;
Judge module 102, for judging whether described first vibration signal meets preset strategy;
Directive generation module 103, if for meeting preset strategy, generates the acquisition of information instruction that described first vibration signal is corresponding;
Data obtaining module 104, for according to described acquisition of information instruction, obtains corresponding instant communication information;
Sending module 105, for being sent to the mobile terminal bound in advance by the instant communication information of acquisition.
As one embodiment of the present invention, in order to allow sound to the current environment can hearing local terminal, contribute to the other user like this and can understand the current residing environment of this end subscriber, and the loud speaker due to local terminal is cut out, the script for story-telling end that so the other user says cannot be heard, lawless person can not be allowed like this to become suspicious, and the dispensing device of described instant communication information also comprises:
Second acquisition module 106, for obtaining the second vibration signal that user produces by knocking described mobile terminal;
Open command generation module 107, for according to described second vibration signal, generates the open command that described second vibration signal is corresponding;
Out code generation module 108, for according to described second vibration signal, generates the out code that described second vibration signal is corresponding;
Opening module 109, for according to described open command, opens call mode;
Closing module 110, for according to described out code, mute speaker.
As one embodiment of the invention, described judge module 102 comprises: the first judge module 1021; Described directive generation module 103 comprises: note obtains directive generation module 1031; Described data obtaining module 104 comprises: note acquisition module 1041;
Described first judge module 1021, for judging whether described first vibration signal meets the first preset strategy;
Described note obtains directive generation module 1031, if for meeting the first preset strategy, generating note corresponding to described first preset strategy and obtaining instruction;
Described note acquisition module 1041, for obtaining instruction according to described note, obtains the note preset;
Described sending module 105, specifically for being sent to the mobile terminal bound in advance by the preset SMS of acquisition.
As another embodiment of the present invention, described judge module 102 comprises: the second judge module 1022; Described directive generation module 103 comprises: position acquisition directive generation module 1032; Described data obtaining module 104 comprises: position acquisition module 1042;
Second judge module 1022, for judging whether described first vibration signal meets the second preset strategy;
Position acquisition directive generation module 1032, if for meeting the second preset strategy, generates the position acquisition instruction that described second preset strategy is corresponding;
Position acquisition module 1042, for according to described position acquisition instruction, obtains the current residing positional information of described mobile terminal;
Described sending module 105, specifically for being sent to current for the mobile terminal of acquisition residing positional information the mobile terminal bound in advance.
As further embodiment of this invention, described judge module 102 comprises: the 3rd judge module 1023; Described directive generation module 103 comprises: voice obtain directive generation module 1033; Described data obtaining module 104 comprises: voice acquisition module 1043;
3rd judge module 1023, for judging whether described first vibration signal meets the 3rd preset strategy;
Voice obtain directive generation module 1033, if for meeting the 3rd preset strategy, generating voice corresponding to described 3rd preset strategy and obtaining instruction;
Voice acquisition module 1043, for obtaining instruction according to described voice, obtains the voice content prerecorded;
Described sending module 105, specifically for being sent to the voice content prerecorded obtained the mobile terminal bound in advance.
The embodiment of the present invention additionally provides a kind of mobile terminal comprising the dispensing device of instant communication information described above.The above-mentioned dispensing device having described described instant communication information in detail, therefore, repeats no more.
In sum, the sending method of instant communication information of the present invention and device, under being in holding state at mobile terminal, obtain the first vibration signal that user produces by knocking described mobile terminal; Judge whether described first vibration signal meets preset strategy; If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding; According to described acquisition of information instruction, obtain corresponding instant communication information; The instant communication information of acquisition is sent to the mobile terminal bound in advance.The invention enables user under special circumstances, just the instant communication information of acquisition can be realized to be sent to the mobile terminal bound in advance by knocking mobile terminal, the action of its operating mobile terminal is little, hidden and quick, thus allow the mode that lawless person can not find, to reach emergency contact, the object of emergency alarm.Therefore, the present invention not only operates more easy, and greatly can save user time, can improve treatment effeciency, bring great convenience to user operation.
The sending method of the instant communication information that the embodiment of the present invention provides and device belong to same design, and its specific implementation process refers to specification in full, repeats no more herein.
In sum; although the present invention discloses as above with preferred embodiment; but above preferred embodiment is also not used to limit the present invention; those of ordinary skill in the art; without departing from the spirit and scope of the present invention; all can do various change and retouching, the scope that therefore protection scope of the present invention defines with claim is as the criterion.
Claims (12)
1. a sending method for instant communication information, is characterized in that, the sending method of described instant communication information, comprises the following steps:
Under mobile terminal is in holding state, obtain the first vibration signal that user produces by knocking described mobile terminal;
Judge whether described first vibration signal meets preset strategy;
If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding;
According to described acquisition of information instruction, obtain corresponding instant communication information;
The instant communication information of acquisition is sent to the mobile terminal bound in advance.
2. the sending method of instant communication information as claimed in claim 1, is characterized in that, judge whether described first vibration signal meets preset strategy; If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding; According to described acquisition of information instruction, obtain corresponding instant communication information; The instant communication information of acquisition is sent to the step of the mobile terminal bound in advance, comprises:
Judge whether described first vibration signal meets the first preset strategy;
If meet the first preset strategy, generate note corresponding to described first preset strategy and obtain instruction;
Obtain instruction according to described note, obtain the note preset;
The preset SMS of acquisition is sent to the mobile terminal bound in advance.
3. the sending method of instant communication information as claimed in claim 1, is characterized in that, judge whether described first vibration signal meets preset strategy; If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding; According to described acquisition of information instruction, obtain corresponding instant communication information; The instant communication information of acquisition is sent to the step of the mobile terminal bound in advance, comprises:
Judge whether described first vibration signal meets the second preset strategy;
If meet the second preset strategy, generate the position acquisition instruction that described second preset strategy is corresponding;
According to described position acquisition instruction, obtain the current residing positional information of described mobile terminal;
Current for the mobile terminal of acquisition residing positional information is sent to the mobile terminal bound in advance.
4. the sending method of instant communication information as claimed in claim 1, is characterized in that, judge whether described first vibration signal meets preset strategy; If meet preset strategy, generate the acquisition of information instruction that described first vibration signal is corresponding; According to described acquisition of information instruction, obtain corresponding instant communication information; The instant communication information of acquisition is sent to the step of the mobile terminal bound in advance, comprises:
Judge whether described first vibration signal meets the 3rd preset strategy;
If meet the 3rd preset strategy, generate voice corresponding to described 3rd preset strategy and obtain instruction;
Obtain instruction according to described voice, obtain the voice content prerecorded;
The voice content prerecorded obtained is sent to the mobile terminal bound in advance.
5. the sending method of instant communication information as claimed in claim 1, is characterized in that, after the described instant communication information by acquisition is sent to the step of the mobile terminal bound in advance, also comprise:
Obtain the second vibration signal that user produces by knocking described mobile terminal;
According to described second vibration signal, generate open command corresponding to described second vibration signal and out code;
According to described open command, open call mode;
According to described out code, mute speaker.
6. the sending method of instant communication information as claimed in claim 1, is characterized in that, described acquisition user, by the step of the first vibration signal of knocking mobile terminal and producing, specifically comprises:
The first vibration signal that user produces by knocking mobile terminal is obtained by the microphone of mobile terminal, loud speaker or receiver.
7. a dispensing device for instant communication information, is characterized in that, the dispensing device of described instant communication information comprises:
First acquisition module, under being in holding state at mobile terminal, obtains the first vibration signal that user produces by knocking described mobile terminal;
Judge module, for judging whether described first vibration signal meets preset strategy;
Directive generation module, if for meeting preset strategy, generates the acquisition of information instruction that described first vibration signal is corresponding;
Data obtaining module, for according to described acquisition of information instruction, obtains corresponding instant communication information;
Sending module, for being sent to the mobile terminal bound in advance by the instant communication information of acquisition.
8. the dispensing device of instant communication information as claimed in claim 7, it is characterized in that, described judge module comprises: the first judge module; Described directive generation module comprises: note obtains directive generation module; Described data obtaining module comprises: note acquisition module;
Described first judge module, for judging whether described first vibration signal meets the first preset strategy;
Described note obtains directive generation module, if for meeting the first preset strategy, generating note corresponding to described first preset strategy and obtaining instruction;
Described note acquisition module, for obtaining instruction according to described note, obtains the note preset;
Described sending module, specifically for being sent to the mobile terminal bound in advance by the preset SMS of acquisition.
9. the dispensing device of instant communication information as claimed in claim 7, it is characterized in that, described judge module comprises: the second judge module; Described directive generation module comprises: position acquisition directive generation module; Described data obtaining module comprises: position acquisition module;
Second judge module, for judging whether described first vibration signal meets the second preset strategy;
Position acquisition directive generation module, if for meeting the second preset strategy, generates the position acquisition instruction that described second preset strategy is corresponding;
Position acquisition module, for according to described position acquisition instruction, obtains the current residing positional information of described mobile terminal;
Described sending module, specifically for being sent to current for the mobile terminal of acquisition residing positional information the mobile terminal bound in advance.
10. the dispensing device of instant communication information as claimed in claim 7, it is characterized in that, described judge module comprises: the 3rd judge module; Described directive generation module comprises: voice obtain directive generation module; Described data obtaining module comprises: voice acquisition module;
3rd judge module, for judging whether described first vibration signal meets the 3rd preset strategy;
Voice obtain directive generation module, if for meeting the 3rd preset strategy, generating voice corresponding to described 3rd preset strategy and obtaining instruction;
Voice acquisition module, for obtaining instruction according to described voice, obtains the voice content prerecorded;
Described sending module, specifically for being sent to the voice content prerecorded obtained the mobile terminal bound in advance.
The dispensing device of 11. instant communication informations as claimed in claim 7, it is characterized in that, the dispensing device of described instant communication information also comprises:
Second acquisition module, for obtaining the second vibration signal that user produces by knocking described mobile terminal;
Open command generation module, for according to described second vibration signal, generates the open command that described second vibration signal is corresponding;
Out code generation module, for according to described second vibration signal, generates the out code that described second vibration signal is corresponding;
Opening module, for according to described open command, opens call mode;
Closing module, for according to described out code, mute speaker.
12. 1 kinds of mobile terminals comprising the dispensing device of the instant communication information described in any one of claim 7 to 11.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610038413.8A CN105472173A (en) | 2016-01-20 | 2016-01-20 | Instant message sending method and device, and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610038413.8A CN105472173A (en) | 2016-01-20 | 2016-01-20 | Instant message sending method and device, and mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105472173A true CN105472173A (en) | 2016-04-06 |
Family
ID=55609414
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610038413.8A Pending CN105472173A (en) | 2016-01-20 | 2016-01-20 | Instant message sending method and device, and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105472173A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106572441A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Position information obtaining method, position information obtaining device and terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877751A (en) * | 2009-04-29 | 2010-11-03 | 英华达(上海)电子有限公司 | Safety alarm device and method for mobile equipment |
CN102436345A (en) * | 2011-10-31 | 2012-05-02 | 广州市动景计算机科技有限公司 | Method for interface operation and control of mobile device and implement device |
EP2876538A1 (en) * | 2013-11-22 | 2015-05-27 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
CN104811510A (en) * | 2014-10-24 | 2015-07-29 | 纳米新能源(唐山)有限责任公司 | Security alarming device used for cell phone |
CN104933826A (en) * | 2015-04-30 | 2015-09-23 | 惠州Tcl移动通信有限公司 | Method and system of protecting life and property safety based on wearable device |
-
2016
- 2016-01-20 CN CN201610038413.8A patent/CN105472173A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101877751A (en) * | 2009-04-29 | 2010-11-03 | 英华达(上海)电子有限公司 | Safety alarm device and method for mobile equipment |
CN102436345A (en) * | 2011-10-31 | 2012-05-02 | 广州市动景计算机科技有限公司 | Method for interface operation and control of mobile device and implement device |
EP2876538A1 (en) * | 2013-11-22 | 2015-05-27 | Lg Electronics Inc. | Mobile terminal and method for controlling the same |
CN104811510A (en) * | 2014-10-24 | 2015-07-29 | 纳米新能源(唐山)有限责任公司 | Security alarming device used for cell phone |
CN104933826A (en) * | 2015-04-30 | 2015-09-23 | 惠州Tcl移动通信有限公司 | Method and system of protecting life and property safety based on wearable device |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106572441A (en) * | 2016-10-31 | 2017-04-19 | 珠海市魅族科技有限公司 | Position information obtaining method, position information obtaining device and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108521621B (en) | Signal processing method, device, terminal, earphone and readable storage medium | |
CN102800323B (en) | Method and device for reducing noises of voice of mobile terminal | |
CN101496096A (en) | Voice and text communication system, method and apparatus | |
US20140004909A1 (en) | Electronic Terminal and Ring Prompt Method of the Electronic Terminal | |
CN106302997A (en) | A kind of output control method, electronic equipment and system | |
CN104883437A (en) | Method and system for adjusting the volume of warning tone through environment-based voice analysis | |
CN104023302A (en) | Programmable digital hearing aid system and method thereof | |
CN103905646A (en) | Communication terminal and voice processing method thereof | |
CN109862178A (en) | A kind of wearable device and its voice control communication method | |
CN202384000U (en) | Voice processing device and vehicle-mounted terminal equipment | |
CN105704839B (en) | A kind of Bluetooth connecting method and device | |
CN105682258B (en) | A kind of switching method and apparatus of subscriber identification card | |
CN111787169B (en) | Three-party call terminal for mobile man-machine cooperation calling robot | |
CN105472173A (en) | Instant message sending method and device, and mobile terminal | |
CN105549744B (en) | A kind of screen luminance of terminal adjusting method and device | |
CN203278971U (en) | Remote multimedia fusion communication conference terminal | |
CN108436910A (en) | A kind of the mobile robot communication system and method for remote control | |
CN104902084A (en) | Intelligent conversation method, device and equipment | |
CN204014059U (en) | Programmable digital hearing assistance system | |
CN105611065A (en) | Application switching method and device | |
CN105721678A (en) | Calling processing method and calling processing device | |
CN105704840B (en) | A kind of cut-in method and device of wireless access point | |
CN103037098A (en) | Call reminding method, device and mobile thermal | |
CN105721679A (en) | Conversation switching method and conversation switching device | |
CN105718144B (en) | A kind of icon processing method and processing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160406 |
|
RJ01 | Rejection of invention patent application after publication |