Realize the quiet system and method for closing and opening according to the distance difference in the mobile phone communication process
Technical field
The present invention relates to mobile phone, what be specifically related to is to realize the quiet system and method for closing and opening according to the distance difference in a kind of mobile phone communication process, be mainly used in solving need in cellphone subscriber's communication process with near the third party carry out communication, and don't wish the problem that partner is heard.
Background technology
Along with the quick universal and development of mobile phone, interpersonal communication way is more and more convenient, and when the user carries out the mobile phone communication, some problems also occurred thereupon.
At present when mobile phone communication, usually can run into partner asks about information or understands the situation of concrete thing to the user, if the user does not know the situation of this information or concrete event, may understand to third party in its vicinity, this moment, the user can be blocked earpiece, in case stop-pass words the other side hears; More especially in client's Please ring for assistance price or when understanding the situation of event handling progress, if own unclear, need near colleague or friend's inquiry, heard by the client and the content of inquiry is also inconvenient, just need to be set to quiet or block by mobile phone this moment, but this mode of operation is very inconvenient, and effect is also also bad.
Summary of the invention
For this reason, the object of the present invention is to provide in a kind of mobile phone communication process and realize the quiet system and method for closing and opening according to the distance difference, with solve need in cellphone subscriber's communication process with near the third party carry out communication, and don't wish the problem that partner is heard.
The objective of the invention is to be achieved through the following technical solutions.
Realize the quiet system that closes and open according to the distance difference in a kind of mobile phone communication process, comprise mobile phone body, be arranged on wiring board and display screen in mobile phone body, be provided with CPU, microprocessor, infrared distance sensor and quiet module on described wiring board, described infrared distance sensor is connected with microprocessor, distance for detection of mobile phone and human body, described microprocessor is connected with CPU, CPU is connected with quiet module, and described quiet module controls according to cpu instruction that mobile phone is quiet to be closed and open.
Preferably, this system also includes a memory, and this memory is connected with microprocessor, is used for the distance boundary threshold value between memory mobile phone and human body.
Preferably, this system also includes a communication module, and this communication module is connected with CPU.
In addition, the present invention also provides different according to distance in a kind of mobile phone communication process and has realized the quiet method of closing and opening, and comprises step:
A, infrared distance sensor detect the distance of obtaining between mobile phone and human body;
B, microprocessor are with comparing apart from the boundary threshold value in above-mentioned distance and memory, if greater than distance boundary threshold value, enter step C; If less than distance boundary threshold value, enter step D;
C, mobile phone CPU control quiet module and start, and make mobile phone communication be in mute state;
D, mobile phone CPU control quiet module and close, and make mobile phone communication be in normal condition.
Preferably, comprise before steps A: the distance boundary threshold value between mobile phone and human body is set, and when making distance between mobile phone and human body surpass this apart from the boundary threshold value, mobile phone communication is in quiet opening;
Preferably, comprise before steps A: the distance boundary threshold value between mobile phone and human body is set, and less than this during apart from the boundary threshold value, mobile phone communication is in quiet closed condition when the distance between mobile phone and human body.
Preferably, steps A comprises:
Infrared distance sensor detects the distance of obtaining between mobile phone and human body, and this distance is sent to microprocessor, converts distance values to.
Preferably, step B comprises:
Microprocessor calls the distance boundary threshold value in memory, and will compare from distance values and this distance threshold of infrared distance sensor, if larger than distance boundary threshold value from the distance values of infrared distance sensor, enters step C; If the distance values from infrared distance sensor is less than distance boundary threshold value, enter step D.
Preferably, step C comprises:
If the distance values from infrared distance sensor is larger than distance boundary threshold value, corresponding generation of microprocessor makes mobile phone communication be in quiet command information, correspondence sends to CPU, and CPU controls quiet module according to this command information and starts, and makes mobile phone communication be in mute state.
Preferably, step D comprises:
If the distance values from infrared distance sensor is less than distance boundary threshold value, corresponding generation of microprocessor makes mobile phone communication be in the command information of normal talking, and correspondence sends to CPU, and CPU controls quiet module according to this command information and closes, and makes mobile phone communication be in the normal talking state.
Realize the quiet system and method for closing and opening according to the distance difference in mobile phone communication process provided by the invention, sense distance between mobile phone and human body ear by being arranged on infrared distance-sensor correspondence in mobile phone, when distance is demarcated threshold value greater than the distance that arranges, represent the user with mobile phone away from ear, need to exchange with near third party, need to make this moment conversation quiet, avoid exchanging content and heard by the other side; When distance is demarcated threshold value less than the distance that arranges, represent that the user with the close ear of mobile phone, needs to proceed conversation with partner, need to make quiet the closing of conversing at this moment.Compared with prior art, it is different according to distance that the present invention adopts infrared distance-sensor to make in the mobile phone communication process, and reach the quiet purpose of closing and opening of automatic realization conversation, when having protected privacy of user, improved user's operating experience.
Description of drawings
Fig. 1 is system principle diagram of the present invention.
Fig. 2 is operation principle flow chart of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
See also shown in Figure 1ly, Fig. 1 is system principle diagram of the present invention.The invention provides in a kind of mobile phone communication process and realize the quiet system that closes and open according to the distance difference, be mainly used in solving need in cellphone subscriber's communication process with near the third party carry out communication, and don't wish the problem that partner is heard, when reaching privacy of user, improved the purpose of user's operating experience.
Realize that according to the distance difference the quiet system that closes and open comprises mobile phone body, is arranged on wiring board and display screen in mobile phone body in wherein said mobile phone communication process, be provided with CPU, microprocessor, infrared distance sensor, quiet module, memory and communication module on described wiring board, described infrared distance sensor is connected with microprocessor, distance for detection of mobile phone and human body, described microprocessor is connected with CPU, CPU is connected with quiet module, and described quiet module controls according to cpu instruction that mobile phone is quiet to be closed and open; Described memory is connected with microprocessor, is used for the distance boundary threshold value between memory mobile phone and human body; Described communication module is connected with CPU, is used for setting up conversation.
operation principle of the present invention is: at first set up conversation by communication module, distance in communication process between infrared distance-sensor meeting Real-Time Monitoring mobile phone and user's ear, and the range data correspondence that produces is sent to microprocessor, if during conversation, the other side inquires the problem that some can't be answered, need to neighbouring other people seek advice from when talk, the user can take away mobile phone, away from user's ear, the distance that this moment, infrared distance-sensor detected changes, if actual range has surpassed the distance boundary threshold value that sets in advance, represent that the user does not wish that the other side hears one's own side's chat script, this moment, quiet module started, make mobile phone communication keep quiet, if one's own side talks end, with the close ear of mobile phone, the actual range numerical value that this moment, infrared distance sensor detected represents that less than distance boundary threshold value the user wishes to continue and the other side carries out mobile phone communication, corresponding quiet module is closed, and makes mobile phone be in normal talking state.
Be more than to the explanations that realize the quiet system that close and open different from distance in mobile phone communication process of the present invention, realize that below in conjunction with different according to distance in 2 pairs of mobile phone communication processes of the present invention of accompanying drawing the quiet method of closing and opening is further described.
The present invention also provides different according to distance in a kind of mobile phone communication process and has realized the quiet method of closing and opening, and comprises step:
A, infrared distance sensor detect the distance of obtaining between mobile phone and human body;
Comprise before steps A:
Distance boundary threshold value between mobile phone and human body is set, and when making distance between mobile phone and human body surpass this apart from the boundary threshold value, mobile phone communication is in quiet opening; When the distance between mobile phone and human body less than this apart from boundary during threshold value, mobile phone communication is in quiet closed condition.
Steps A comprises:
Infrared distance sensor detects the distance of obtaining between mobile phone and human body, and this distance is sent to microprocessor, converts distance values to.
B, microprocessor are with comparing apart from the boundary threshold value in above-mentioned distance and memory, if greater than distance boundary threshold value, enter step C; If less than distance boundary threshold value, enter step D;
Step B comprises:
Microprocessor calls the distance boundary threshold value in memory, and will compare from distance values and this distance threshold of infrared distance sensor, if larger than distance boundary threshold value from the distance values of infrared distance sensor, enters step C; If the distance values from infrared distance sensor is less than distance boundary threshold value, enter step D.
C, mobile phone CPU control quiet module and start, and make mobile phone communication be in mute state;
Step C comprises:
If the distance values from infrared distance sensor is larger than distance boundary threshold value, corresponding generation of microprocessor makes mobile phone communication be in quiet command information, correspondence sends to CPU, and CPU controls quiet module according to this command information and starts, and makes mobile phone communication be in mute state.
D, mobile phone CPU control quiet module and close, and make mobile phone communication be in normal condition.
Step D comprises:
If the distance values from infrared distance sensor is less than distance boundary threshold value, corresponding generation of microprocessor makes mobile phone communication be in the command information of normal talking, and correspondence sends to CPU, and CPU controls quiet module according to this command information and closes, and makes mobile phone communication be in the normal talking state.
By method of the present invention; can be in important commercial affairs conversation; make the user carry out quiet to conversation easily or recover from the distance of face or ear by controlling mobile phone; thereby carry out efficiently and effectively commercial consultations and negotiations, and also can offer convenience and protect user's privacy to the user in other similar occasions.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.