Summary of the invention
The object of the invention is to propose a kind of note transmission method, device and mobile terminal.
For reaching this purpose, the present invention by the following technical solutions:
A kind of note transmission method, described method comprises:
Need to send if note detected, detect whether receive press key message or touch screen message, if so, the note that is ready for sending is normally sent;
If press key message or touch screen message do not detected, detect the note transmission and whether initiated by the application program of registering in the application program trust list, if so, the note that is ready for sending is normally sent.
Further, described note transmission method also comprises:
If do not receive press key message or touch screen message, and described note to send be not to be initiated by the application program of registering in the application program trust list, the non-security application program of prompting user need to send note;
And whether the inquiry user is willing to be intended to the described application program of registration in described application program trust list, if the user is chosen in the described application program of registration in described application program trust list, the note that is ready for sending is normally sent, and register described application program in described application program trust list, otherwise cancel the transmission of described note.
Further, described press key message is to be sent by operating system, and the expression user supresses the message of mobile phone key.
Further, described touch screen message is to be sent by operating system, and the expression user has contacted the message of mobile phone screen.
Further, described application program trust list is the list for registrer application, the application program of registering in described application program trust list is considered to safe, and the application program of not registering in described application program trust list is considered to not be safe.
Corresponding, the invention allows for a kind of note dispensing device, described device comprises:
Button or touch screen message-detection 201 are used for detecting whether receive press key message or touch screen message when note having been detected and need to send, and if so, the note that is ready for sending are normally sent;
Whether notesource detection module 202 is used for when press key message or touch screen message not detected, detect the note transmission and initiated by the application program of registering in the application program trust list, if so, the note that is ready for sending is normally sent.
Further, described note dispensing device also comprises:
User prompt module 203 is used for not receiving press key message or touch screen message, and described note to send be not to be initiated by the application program of registering in the application program trust list, the non-security application program of prompting user need to send note;
User's query and applicationprogram Registering modules 204, whether the inquiry user is willing to be intended to the described application program of registration in described application program trust list, if the user is chosen in the described application program of registration in described application program trust list, described user's prompting and application program Registering modules normally send the note that is ready for sending, and register described application program in described application program trust list, otherwise cancel the transmission of described note.
Further, described press key message is to be sent by operating system, and the expression user supresses the message of mobile phone key.
Further, described touch screen message is to be sent by operating system, and the expression user has contacted the message of mobile phone screen.
Further, described application program trust list is the list for registrer application, the application program of registering in described application program trust list is considered to safe, and the application program of not registering in described application program trust list is considered to not be safe.
Corresponding, the invention allows for a kind of mobile terminal, described mobile terminal comprises described note dispensing device.
The beneficial effect of note transmission method, device and mobile terminal that the present invention proposes is; the malice note that described method, device and mobile terminal can detect mobile terminal in real time sends; and stop; the cellphone subscriber's who effectively protects personal information security; prevent that other cellphone subscribers from suffering the infringement of malice note, and stopped unnecessary the deducting fees that cause because the malice note sends.
Embodiment
Further illustrate technical scheme of the present invention below in conjunction with accompanying drawing and by specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the first embodiment of the present invention.
Fig. 1 is the flow chart of the note transmission method that provides of first embodiment of the invention.The below describes in detail the flow process of described embodiment according to Fig. 1.
It will be understood by those of skill in the art that note transmission method of the present invention only just is activated when having note to be sent out.
In step S101, detect whether receive press key message or touch screen message, if so, execution in step S102, otherwise execution in step S103.
When note having been detected and need to send, should judge that at first the described note that needs to send is manually sent by the cellphone subscriber, still there is the application program of installing in mobile phone automatically to send.If described note is to be sent by the virtual send key of pressing on physics send key on cell phone keyboard or mobile phone screen by the cellphone subscriber, so described note is not the malice note; If described note is automatically to be sent by the application program of installing in mobile phone, described note might be the malice note.
Press key message and touch screen message are that the user operates rear two kinds of message that sent by the bottom of operating system to mobile phone.Press key message is to send after the user presses physical button on cell phone keyboard.Touch screen message is to send after the user touches mobile phone screen.Therefore, whether detection of handset operating system was sent and can be judged in described two kinds of message whether the user has pressed physics send key on the cell phone keyboard or the virtual send key on mobile phone screen.
When note having been detected and need to send, detect and whether receive press key message or touch screen message.If press key message or touch screen message detected, illustrate that described note is manually sent by the cellphone subscriber, not the malice note, so should execution in step S102; If press key message or touch screen message do not detected, illustrate that described note is to have the application program of installing in mobile phone automatically to send, might be the malice note, thereby should execution in step S103.
In step S102, the note that needs are sent normally sends.
Through the judgement in step S101, if do not receive press key message or touch screen message, illustrate that described note is manually sent by the user, not the malice note.Therefore, described note normally should be sent.
Described normal transmission refers to the measure that stops is not taked in the transmission of described note, and the script content of described note is sent.
In step S103, detect and to want note whether to send by the application program initiation of registering in the application program trust list, if so, execution in step S102, otherwise execution in step S104.
If the described note of judgement is sent automatically by application program in step S102, need to determine that the application program of the described note of transmission is safety.Be considered to safe if send the application program of described note, described note is safe, can be sent out; Be considered to dangerous if send the application program of described note, what described note neither be safe, its transmission must be cancelled.
In order to carry out above-mentioned judgement, the present invention has adopted the application program trust list.Described application program trust list is the list that creates and safeguard in order to realize method of the present invention, is used to the registered user in described list and thinks safe application program.
When press key message or touch screen message not detected, detect the application program that sends note and whether be registered in described application program trust list, thought safe application program by the user.If described application program was registered in described application program trust list, described note is safe, execution in step S102, otherwise execution in step S104.
In step S104, the non-security application program of prompting user need to send note.
Through computing and the judgement of step S101 to step 103, can determine that described note is automatically to be sent by the application program of installing in mobile phone, and described application program was not registered in described application program trust list, was the mistrustful application program of user.
The note that is manually sent by the cellphone subscriber is all that cellphone subscriber oneself is edited, sends to household, friend or colleague's note, so this class note is not the malice note.Because the application program of registering is all through cellphone subscriber's authentication, be considered to safe, so neither the malice note by the note of this class application program transmission in described application program trust list.So, the malice note is present in the note that is automatically sent by the application program of not registering in described application program trust list.That is to say, need note to be processed to have certain danger in step S104.Should give the cellphone subscriber prompting about this class note danger to having dangerous note.
In step S105, whether the inquiry user is willing to be intended in described application program trust list the described application program of registration, if the user is chosen in the described application program of registration in described application program trust list, and execution in step S106, otherwise execution in step S107.
For the note that is automatically sent by the application program of not registering in described application program trust list, if the user thinks that described application program is safe, can register in described application program trust list, so described note is also safe, should normally be sent; Should not be in if the user thinks that described application program is dangerous or suspicious and register in described application program trust list, so described note is dangerous, and the transmission of described note should be cancelled.
After the danger of the note that the program prompts user who realizes method of the present invention is ready for sending, described program inquires by dialog box whether the user is willing to be intended to the described application program of registration in described application program trust list.If user's above-mentioned selection certainly register described application program according to user's input in described application program trust list, and the note that will need to send sends normally; If the user negates above-mentioned selection, the transmission of described note is cancelled.
In step S106, the described application program of registration in described application program trust list, and the note that will need to send normally sends.
Through the processing in step S105, the user has confirmed the described application program of registration in described application program trust list, therefore, and in step S106, the described application program of registration in described application program trust list, and the note that will need to send normally sends.
In step S107, the transmission of described note is cancelled.
Through the processing in step S105, the user moves and denies the described application program of registration in described application program trust list.That is to say, the user thinks that described application program is not safe.So, neither be safe by the automatic note that sends of described application program.Therefore, cancel the transmission of described note.
Fig. 2 shows the second embodiment of the present invention.
Fig. 2 is the structural representation of note dispensing device according to a second embodiment of the present invention.The below describes in detail the structure of described embodiment according to Fig. 2.
Described note dispensing device comprises button or touch screen message-detection 201, notesource detection module 202,user prompt module 203 and user's query and trustsprogram registration module 204.
Described button or touch screen message-detection 201 are used to detect whether receive press key message or touch screen message.
Described press key message is sent by mobile phone operating system, and the expression user supresses the message of mobile phone key.Described touch screen message is sent by mobile phone operating system, and the expression user has contacted the message of mobile phone screen.If received press key message or touch screen message, illustrate that described note is manually sent by the cellphone subscriber, described note is not the malice note.
Described button or touch screen message-detection 201 detect whether receive described press key message or described touch screen message.If received press key message or touch screen message, described note is normally sent thedetection module 203 otherwise the startup note is originated.
Described notesource detection module 202 be used to confirm note be not the user manually send after detect the application program that the note that needs transmission is registered in whether coming comfortable described application program trust list.
Described application program trust list is the list that creates and safeguard in order to realize method of the present invention, is thought that by the user safe application program registers in described list.Described notesource detection module 202 detects the source application that comes of described note, if described note is initiated by the application program of registering in described application program trust list, described note is normally sent, otherwise starts userprompt module 203.
Described userprompt module 203 is used to point out the user to have the note from non-security application program to need to send.
Note from non-security application program might be the malice note, has certain danger.Therefore should point out the user transmission of this class note before sending this class note.The mode that ejects dialog box is used in the prompting that the malice note sends.
Described user's query and trustprogram registration module 204 and be used in the dangerous rear line inquiry of the described note of the prompting user described application program of registration in described application program trust list whether, and determine whether to send described note and the described application program of registration in described application program trust list whether according to user's input.
In order further to guarantee the described fail safe that needs the note of transmission, need to whether register described application program in described application program trust list to user's query.The mode that ejects dialog box is used in inquiry to the user.
If the user is chosen in described trust list the described application program of registration, register described application program according to user's input in described trust list, and the note that will need to send sends normally, otherwise stop the transmission of described note.
obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with general calculation element, they can concentrate on single calculation element, perhaps be distributed on the network that a plurality of calculation elements form, alternatively, they can realize with the executable program code of computer installation, carried out by calculation element thereby they can be stored in storage device, perhaps they are made into respectively each integrated circuit modules, perhaps a plurality of modules in them or step being made into the single integrated circuit module realizes.Like this, the present invention is not restricted to the combination of any specific hardware and software.
Note, above-mentioned is only preferred embodiment of the present invention and institute's application technology principle.Skilled person in the art will appreciate that to the invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious variations, readjust and substitute and can not break away from protection scope of the present invention.Therefore, although by above embodiment, the present invention is described in further detail, the present invention is not limited only to above embodiment, in the situation that do not break away from the present invention's design, can also comprise more other equivalent embodiment, and scope of the present invention is determined by appended claim scope.