A kind of environment audio record alarming method
[technical field]
The present invention relates to the mobile phone application software method, a kind of environment audio record alarming method particularly, certainly, the method is equally applicable to the Hand held communication device of landline telephone, other types etc.
[background technology]
Development along with economic level, mobile phone has become indispensable important communication tool in people's work and life, along with developing rapidly of science and technology, Intelligent mobile communication terminal such as smart mobile phone have also obtained universal rapidly, corresponding act of espionage is also spread unchecked rapidly, some lawless persons are in order to reach hidden purpose, or on targeted customer's terminal, spyware is installed, or send the viruses such as specific instruction such as wooden horse to the user, carry out ambience listening, environment recording, thereby steal user's privacy, business secret.
So-called environment recording refer in mobile phone certain day after tomorrow program in the unwitting situation of user, started phonographic recorder, ambient sound around the admission terminal equipment, and audio file is sent to place beyond intelligent terminal, but do not have any state variation on target terminal, as jingle bell, vibration, screen flicker etc., therefore, the user can't discover.Such behavior has not only affected the use of user to terminal, and can cause irreparable damage to the user.
[summary of the invention]
Purpose of the present invention solves the problems of the prior art exactly, propose a kind of environment audio record alarming method, can effectively monitor the environment recording behavior of mobile phone, and the user is reported to the police, and with the malfeasance log, avoid environment recording behavior to cause damage to the user.
For achieving the above object, the present invention proposes a kind of environment audio record alarming method, in turn include the following steps:
Recording detects determining step: detect the situation that phonographic recorder is opened;
Talking state determining step: detect user mobile phone whether in conversation;
Handset program sound-recording function detecting step: whether the program with the interface that the detection user is moving has sound-recording function;
Warning reminding step: by the man-machine interactive system of phone, the user is carried out the calling record telephone call and remind.
As preferably, specifically in turn include the following steps:
A) judge whether phonographic recorder is opened, if do not open, enter b) step; If open, enter c) step;
B) through T time of delay
1, re-start a) step;
C) after the signal of receiving the phonographic recorder unlatching, judge whether mobile phone is in talking state, enter g if be in talking state) step, carry out the calling record judgement; If be not in talking state, enter d) step;
D) judging c) whether mobile phone interface has recorded program in step, if recorded program is arranged, finish; If there is no recorded program, enter e) step;
E) carrying out the environment telegraphone by the man-machine interactive system of phone reports to the police;
F) according to e) alarm call in step records alarm log, warning message is kept in phone, and charges to environment telegraphone blacklist, then finish;
G) to b) conversation that is in talking state in step carries out the calling record judgement, judge the situation whether user exists conversation to be recorded, then end.
As preferably, described time of delay, T1 was provided with default value before phone dispatches from the factory, and default value is 1.5~3.5s, also is provided with the change option in menu call, and the user can reset T
1Numerical value.
As preferably, described g) step specifically comprises following operation:
G1) registration has the telephone rings radio receiver that can receive jingle bell message, can receive the closing of the circuit radio receiver of connecting message and can receive the phone of hanging up message and hang up radio receiver;
G2) phone receives call incoming;
G3) if the user is arranged to silent mode, carry out screen display; If the user is not arranged to silent mode, in screen display, also carries out jingle bell and remind and/or vibrating alert;
G4) user connects phone;
G5) enter T time of delay
2, described T
2Be 1s~3s;
G6) whether the judgement conversation finishes, if conversation finishes, finishes, and phone is hung up; If conversation does not finish, enter g7) step;
G7) judge whether phonographic recorder is opened, if phonographic recorder is not opened, enter g11) step; If phonographic recorder is opened, enter g8) step;
G8) judge whether to open phonographic recorder by user oneself, if open phonographic recorder by user oneself, enter g5) step, if not open phonographic recorder by user oneself, enter g9) step;
G9) receive g8) signal in step, carry out the calling record telephone call by the man-machine interactive system of phone to the user and remind;
G10) receiving g9) after calling record in step reports to the police, record alarm log, warning message is kept in phone, and sets up calling record phone blacklist;
G11) complete g10) after the step record alarm log, hang up the telephone, finish.
As preferably, described g5) in step, T
2Be 2s.
As preferably, described man-machine interactive system adopts at least a in user interface, light, loud speaker.
Beneficial effect of the present invention: the present invention carries out Real-Time Monitoring by the mobile phone private treasured to user's mobile phone, whether the monitoring phonographic recorder is activated, and judge that the program with the interface has or not sound-recording function, if do not have, carry out the environment audio record alarming, and calling record is judged, prevent that effectively the user is not conversation/privacy, secret are stolen under call scenarios, and with the environment behavior record daily record of recording, avoid environment recording behavior to cause damage to the user.
Feature of the present invention and advantage will be elaborated by reference to the accompanying drawings by embodiment.
[description of drawings]
Fig. 1 is the flow chart of a kind of environment audio record alarming method of the present invention;
Fig. 2 is the flow chart of calling record determining step in a kind of environment audio record alarming method of the present invention.
[embodiment]
Consult Fig. 1, a kind of environment audio record alarming method of the present invention in turn includes the following steps:
Recording detects determining step: detect the situation that phonographic recorder is opened;
Talking state determining step: detect user mobile phone whether in conversation;
Handset program sound-recording function detecting step: whether the program with the interface that the detection user is moving has sound-recording function;
Warning reminding step: by the man-machine interactive system of phone, the user is carried out the calling record telephone call and remind.
Specifically in turn include the following steps:
A) judge whether phonographic recorder is opened, if do not open, enter b) step; If open, enter c) step;
B) through T time of delay
1, re-start a) step; Time of delay T
1Be provided with default value before phone dispatches from the factory, default value is 1.5~3.5s, also is provided with the change option in menu call, and the user can reset T
1Numerical value;
C) after the signal of receiving the phonographic recorder unlatching, judge whether mobile phone is in talking state, enter g if be in talking state) step, carry out the calling record judgement; If be not in talking state, enter d) step;
D) judging c) whether mobile phone interface has recorded program in step, if recorded program is arranged, finish; If there is no recorded program, enter e) step;
E) carrying out the environment telegraphone by the man-machine interactive system of phone reports to the police;
F) according to e) alarm call in step records alarm log, warning message is kept in phone, and charges to environment telegraphone blacklist, then finish;
G) to b) conversation that is in talking state in step carries out the calling record judgement, judge the situation whether user exists conversation to be recorded, then end.
Consult Fig. 2, described g) step specifically comprises following operation:
G1) registration has the telephone rings radio receiver that can receive jingle bell message, can receive the closing of the circuit radio receiver of connecting message and can receive the phone of hanging up message and hang up radio receiver;
G2) phone receives call incoming;
G3) if the user is arranged to silent mode, carry out screen display; If the user is not arranged to silent mode, in screen display, also carries out jingle bell and remind and/or vibrating alert;
G4) user connects phone;
G5) enter T time of delay
2, described T
2Be 1s~3s; The best is made as 2s;
G6) whether the judgement conversation finishes, if conversation finishes, finishes; If conversation does not finish, enter g7) step;
G7) judge whether phonographic recorder is opened, if phonographic recorder is not opened, enter g11) step; If phonographic recorder is opened, enter g8) step;
G8) judge whether to open phonographic recorder by user oneself, if open phonographic recorder by user oneself, enter g5) step, if not open phonographic recorder by user oneself, enter g9) step;
G9) receive g8) signal in step, carry out the calling record telephone call by the man-machine interactive system of phone to the user and remind; Described man-machine interactive system adopts at least a in user interface, light, loud speaker;
G10) receiving g9) after calling record in step reports to the police, record alarm log, warning message is kept in phone, and sets up calling record phone blacklist;
G11) complete g10) after the step record alarm log, hang up the telephone, finish.
under normal circumstances, it is that the cellie starts by interface program that phonographic recorder is activated, like this, program with the interface will exist in the mobile phone interface storehouse, if the program in the interface does not have recorded program, prove that sound-recording function is the program start of not being with the interface, not namely that the equipment user initiates self, the background program that is other starts, and other background program can not show abnormality usually, therefore, the user will not know that the mobile phone of oneself recorded by environment, cellie's privacy and secret will stolen close person be stolen, and the present invention, the mobile phone private treasured can monitor phonographic recorder and be activated, and then judge that the program with the interface has or not sound-recording function, if the mobile phone interface program does not have sound-recording function, expression has background program that mobile phone is recorded, the mobile phone private treasured will carry out alarm behavior.
Above-described embodiment is to explanation of the present invention, is not limitation of the invention, any scheme after simple transformation of the present invention is all belonged to protection scope of the present invention.