CN105049607A - Text message display method and mobile terminal - Google Patents

Text message display method and mobile terminal Download PDF

Info

Publication number
CN105049607A
CN105049607A CN201510355360.8A CN201510355360A CN105049607A CN 105049607 A CN105049607 A CN 105049607A CN 201510355360 A CN201510355360 A CN 201510355360A CN 105049607 A CN105049607 A CN 105049607A
Authority
CN
China
Prior art keywords
note
display box
mobile terminal
note display
interface
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.)
Granted
Application number
CN201510355360.8A
Other languages
Chinese (zh)
Other versions
CN105049607B (en
Inventor
周先平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510355360.8A priority Critical patent/CN105049607B/en
Publication of CN105049607A publication Critical patent/CN105049607A/en
Application granted granted Critical
Publication of CN105049607B publication Critical patent/CN105049607B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a text message display method and a mobile terminal. The method is performed as follows. When the mobile terminal receives a targeted text message, the mobile terminal determines if any character string in the text message satisfies pre-set rules. If so, the mobile terminal outputs a text message display frame containing the targeted text message, and the text message display frame is displayed in a floating manner on the currently running interface. The currently running interface is used to input the character string which satisfies pre-set rules. When the mobile terminal detects that inputting action is performed on the currently running interface, the mobile terminal keeps the text message display frame displayed on the currently running interface in a floating manner. Therefore, it is noted that when recognizing a verification code text message, the mobile terminal can display the verification code text message in a floating manner on the currently running interface in the form of the text message display frame. A user can therefore operate the currently running interface because the text message display frame is kept always at a display state. In this manner, a user can effectively input correct confirming code, thereby improving user experience.

Description

A kind of short message display method and mobile terminal
Technical field
The present invention relates to areas of information technology, be specifically related to a kind of short message display method and mobile terminal.
Background technology
Nowadays, the short message function of mobile terminal is through being commonly used to the identifying code note receiving various consumption, registration, activation, authentication, but user is after receiving SMS notification, note interface can be entered and check note, and then identifying code is recognized from short message text, this identifying code is input to checking interface, this series of steps is very loaded down with trivial details again.Especially when identifying code inputting interface is on the mobile terminal of Receipt Validation code, user is when input validation code, note interface can cover by checking interface, therefore user needs to remember identifying code content, if identifying code more complicated, user just has to switch note interface and checking interface back and forth, and this mode not only makes identifying code input efficiency lower, but also easily causes identifying code input error.
Summary of the invention
The embodiment of the invention discloses a kind of short message display method and mobile terminal, can the input validation code of precise and high efficiency.
Embodiment of the present invention first aspect discloses a kind of short message display method, comprising:
When receiving target note, judge whether there is the character string meeting preset rules in described target note;
If there is the character string meeting preset rules in described target note, then export and comprise the note display box stating target note to some extent, wherein, described note display box suspends and is shown in current runnable interface, and described current runnable interface is for inputting the described character string meeting preset rules;
When the input operation on described current runnable interface being detected, keeping described note display box to suspend and being shown in described current runnable interface.
Optionally, after described output comprises the note display box stating target note to some extent, described method also comprises:
Detect the move for described note display box input, described move comprises the target area of described current runnable interface;
Respond described move, described note display box is moved to described target area.
Optionally, when existence in described target note meets the character string of preset rules, described method also comprises:
Obtain the interface information of the current runnable interface of mobile terminal;
Judge whether described interface information mates with the content of described target note;
If the content matching of described interface information and described target note, then perform the step that described output comprises the note display box stating target note to some extent.
Optionally, after described output comprises the note display box stating target note to some extent, described method also comprises:
Receive the out code for described note display box input;
Respond described out code, close described note display box.
Optionally, after described output comprises the note display box stating target note to some extent, described method also comprises:
Detect the displaying time that the suspension of described note display box is shown in described current runnable interface;
When described displaying time exceedes default displaying time, close described note display box.
Accordingly, embodiment of the present invention second aspect discloses a kind of mobile terminal, comprising:
Judging unit, for when receiving target note, judges whether there is the character string meeting preset rules in described target note;
Output unit, when meeting the character string of preset rules for judging at described judging unit to exist in described target note, export and comprise the note display box stating target note to some extent, wherein, described note display box suspends and is shown in current runnable interface, and described current runnable interface is for inputting the described character string meeting preset rules;
Holding unit, for when the input operation on described current runnable interface being detected, keeping described note display box to suspend and being shown in described current runnable interface.
Optionally, described mobile terminal also comprises:
Detecting unit, for detecting the move for described note display box input, described move comprises the target area of described current runnable interface;
Mobile unit, for responding described move, moves to described target area by described note display box.
Optionally, described mobile terminal also comprises:
Acquiring unit, when meeting the character string of preset rules for judging at described judging unit to exist in described target note, obtains the interface information of the current runnable interface of mobile terminal;
Described judging unit, also for judging whether described interface information mates with the content of described target note, if so, then triggering described output unit and performing the operation that described output comprises the note display box stating target note to some extent.
Optionally, described mobile terminal also comprises:
Receiving element, for receiving the out code for described note display box input;
First closing unit, for responding described out code, closes described note display box.
Optionally, described detecting unit, is also shown in the displaying time of described current runnable interface for detecting the suspension of described note display box;
Described mobile terminal also comprises:
Second closing unit, for when described displaying time exceedes default displaying time, closes described note display box.
Implement the embodiment of the present invention, there is following beneficial effect:
In the embodiment of the present invention, mobile terminal is when receiving target note, can judge whether there is the character string meeting preset rules in this target note, if existed, just export the note display box including this target note, and the suspension of this note display box is shown in current runnable interface, this current runnable interface is for inputting the character string meeting preset rules, after output note display box, when the input operation on runnable interface in this prior being detected, keeping this note display box to suspend and being shown in this current runnable interface.Pass through the embodiment of the present invention, when identifying identifying code note, the note display box at this identifying code note place can be suspended and be shown in the current runnable interface needing input validation code, even if operate this current runnable interface, this note display box remains show state, so just can ensure that user is when input validation code, can not switch back and forth at note interface and checking interface, ensure the correctness of identifying code input, improve the input efficiency of identifying code, promote Consumer's Experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet of a kind of short message display method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of short message display method disclosed in the embodiment of the present invention;
Fig. 3 is the interface schematic diagram that disclosed in the embodiment of the present invention, the suspension of note display box is shown in current runnable interface;
Fig. 4 is the structural representation of a kind of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of mobile terminal disclosed in the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the invention discloses a kind of short message display method and mobile terminal, can the input validation code of precise and high efficiency.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of short message display method disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 1 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), personal digital assistant (PersonalDigitalAssistant, PDA), the mobile terminal such as media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet, this mobile terminal can receive short message.As shown in Figure 1, this short message display method can comprise the following steps:
S101, when receiving target note, mobile terminal judges whether there is the character string meeting preset rules in this target note, if so, performs step S102; If not, process ends.
In the embodiment of the present invention, character string can comprise numeral, letter, symbol, Chinese character and combinations several arbitrarily, and preset rules is the rule that terminal prestores, and as being not less than four characters, be no more than 15 characters etc., the embodiment of the present invention does not limit.Further, the character string of this preset rules can also be " identifying code " three words.Target note can be any note that this mobile terminal receives, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, user is when on the webpage or client of mobile terminal, register account number carries out authentication, the phone number to binding is needed to send identifying code, therefore, when mobile terminal receives note, first can judge whether the note received exists the character string meeting preset rules, namely judge whether this note is identifying code note.
For example, suppose that user opens a certain social network sites in the browser application of mobile phone, and need register account number, after user has filled in the data of phone number, website will export information and require input validation code, after user clicks acquisition, the identifying code of system stochastic generation will be sent on the mobile phone at the phone number place that user fills in by this website.Therefore, when mobile phone receives target note in this time period, the content of this target note will be identified, judge in this target note, whether to there is the character string (namely may be the character string of identifying code) meeting preset rules.If there is the character string meeting preset rules, just show that this target note may be identifying code note, this mobile phone just exports the note display box including this target note; If there is no meet the character string of preset rules, just show that this target note is not identifying code note, therefore, this mobile phone does not just do any operation.
S102, this mobile terminal export the note display box including this target note, and wherein, this note display box suspends and is shown in current runnable interface.
In the embodiment of the present invention, after mobile terminal judges that this target note includes and meets pre-conditioned character string (namely judging that this target note may be identifying code note), this mobile terminal will export a note display box, show this target note in this note display box, and this note display box suspends to be presented at the current runnable interface of mobile terminal.Wherein, this current runnable interface is mainly used in inputting the character string meeting preset rules, is namely mainly used in the runnable interface inputting correct identifying code.
In the embodiment of the present invention, the suspension of this note display box is presented at current runnable interface and refers to, this note display box will directly be presented on current runnable interface when exporting this note display box by this mobile terminal.As shown in Figure 3, Fig. 3 is the interface schematic diagram that disclosed in the embodiment of the present invention, the suspension of note display box is shown in current runnable interface.In figure 3, in this note display box, show the identifying code note comprising identifying code, and this note display box is presented on current runnable interface.
Further, what show in note display box can be the full content of this target note, also can be only show the string content meeting preset rules in this target note, it can also be the full content first showing this target note, after display a period of time, just only show the string content meeting preset rules in this target note, the embodiment of the present invention does not limit.
S103, when the input operation on runnable interface in this prior being detected, this mobile terminal keeps this note display box to suspend being shown in this current runnable interface, and process ends.
In the embodiment of the present invention, after the note display box suspension including target note is presented at current runnable interface by this mobile terminal, this user can operate this note display box, also can operate current runnable interface.Such as, the identifying code in note display box is inputted in the identifying code input frame of current runnable interface; Drag current runnable interface, make this current runnable interface scroll-up/down; Mouse or finger click the optional position etc. of this current runnable interface.Therefore, when the input operation of user in this prior on runnable interface being detected, this mobile terminal still can remain that this note display box suspends and show in this prior on runnable interface.That is, after the note display box including identifying code note suspends and is presented at current runnable interface by mobile terminal, no matter to this current runnable interface, how to operate for user, and this note display box shows in this prior on runnable interface all the time, can not be hidden.
In the embodiment of the present invention, above-mentioned input operation can be clicking operation, slide, text event detection operation, interface drag operation etc., and the embodiment of the present invention does not limit.
For example, when user is in a certain networking telephone client of mobile terminal during register account number, need the phone number that input validation code inputs with user bound, therefore, after user clicks acquisition identifying code, the phone number that this acquisition identifying code request and user input will be sent to the server corresponding to this networking telephone client by this networking telephone client, after server receives and obtains identifying code request, the identifying code of stochastic generation will be sent on the mobile terminal that this phone number binds with note form.Therefore, after mobile terminal receives note, will identify whether this note be identifying code note according to identifying code rule, if so, this note will be presented on the networking telephone client end interface that mobile terminal running with the form of note display box.Therefore, user just can than facing toward this note being input to identifying code precise and high efficiency in this networking telephone client end interface.
Visible, in the method described by Fig. 1, mobile terminal is when receiving target note, can judge whether there is the character string meeting preset rules in this target note, if existed, just export the note display box including this target note, and the suspension of this note display box is shown in current runnable interface, this current runnable interface is for inputting the character string meeting preset rules, after output note display box, when the input operation on runnable interface in this prior being detected, keeping this note display box to suspend and being shown in this current runnable interface.Pass through the embodiment of the present invention, when identifying identifying code note, the note display box at this identifying code note place can be suspended and be shown in the current runnable interface needing input validation code, even if operate this current runnable interface, this note display box remains show state, so just can ensure that user is when input validation code, can not switch back and forth at note interface and checking interface, ensure the correctness of identifying code input, improve the input efficiency of identifying code, promote Consumer's Experience.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of another kind of short message display method disclosed in the embodiment of the present invention.Wherein, method shown in Fig. 2 can be applied to smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), personal digital assistant (PersonalDigitalAssistant, PDA), the mobile terminal such as media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet, this mobile terminal can receive short message.As shown in Figure 2, this short message display method can comprise the following steps:
S201, when receiving target note, mobile terminal judges whether there is the character string meeting preset rules in this target note, if so, performs step S202; If not, process ends.
The interface information of S202, the current runnable interface of this acquisition for mobile terminal.
In the embodiment of the present invention, when this mobile terminal judges that in this target note, existence meets the character string of preset rules, first this mobile terminal can obtain the interface information of its current runnable interface.Wherein, this interface information can be the webpage etc. that before deserving, runnable interface is corresponding, as Alipay, Taobao, QQ, PPS, Jingdone district, Baidu, Sina etc.
For example, suppose user's just register account number on Baidu's webpage, the interface information that so current runnable interface comprises has the mark of Baidu, or this network address corresponding to current runnable interface comprises the domain name etc. of Baidu.
S203, this mobile terminal judge whether this interface information mates with the content of this target note, if coupling, perform step S204; If do not mate, process ends.
In the embodiment of the present invention, when this acquisition for mobile terminal to current runnable interface interface information after, the content of this target note can be obtained, then judge whether this interface information mates with the content of this target note, namely judge whether this current runnable interface is the character string inputting interface meeting preset rules that this target note comprises, and whether is namely identifying code inputting interface.As a rule, identifying code note generally all can indicate the transmission main body of this note, as the transmission of Jingdone district server, the transmission of QQ server etc.Therefore, this mobile terminal will judge that whether the transmission main body of this target note is consistent with the main body of current runnable interface.If so, the note display box including this target note is just exported; If not, can not export this note display box, after also can exporting this note display box, prompting user is switched in the interface of input validation code, and the embodiment of the present invention does not limit.
For example, suppose user's just register account number on the webpage of a certain networking telephone of mobile phone, the phone number clicking inserting binding as user obtains after identifying code, and this user receives a micro-letter, enters micro-letter interface.And now, the server of this networking telephone by the identifying code short message sending of stochastic generation on this mobile phone, and this mobile phone to judge this note be identifying code note, so this mobile phone can obtain the interface information of current runnable interface, is micro-letter interface.Sent by this voip server when mobile phone gets this identifying code note, therefore, this mobile phone can judge that the interface information of this current runnable interface does not mate with the content of this note, therefore, this mobile phone can export information prompting user and be switched to this networking telephone interface, so that input validation code completes account registration in real time.And if user does not enter micro-letter interface, but rest on the register interface of this networking telephone always, so this mobile phone will judge that the transmission main body of this identifying code note is consistent with the interface information of this current runnable interface, therefore will export this identifying code note with the direct runnable interface in this prior of the form of note display box.
S204, this mobile terminal export the note display box including this target note, and wherein, this note display box suspends and is shown in current runnable interface.
S205, this mobile terminal detect the move for the input of this note display box.
In the embodiment of the present invention, move includes the target area of this current runnable interface, namely needs the destination locations of this note display box movement.Therefore, after mobile terminal outputs this note display box, this note display box can move by user, as chosen this note display box (move for the input of this note display box) as user after, this note display box arbitrarily can be moved to any one position of this current runnable interface by user.
In the embodiment of the present invention, this move can be that user have selected this note display box, and generate after have selected the target area of movement, also can be just generate after user have selected this note display box, the embodiment of the present invention limit.
S206, this mobile terminal respond this move, and this note display box is moved to target area.
In the embodiment of the present invention, after this mobile terminal detects the move for the input of this note display box, this mobile terminal will respond this move, this note display box is moved to the target area of this current runnable interface.
In the embodiment of the present invention, after user have selected this note display box, this mobile terminal can control this note display box and point with user the track slided on current runnable interface and move, when user's finger leaves current runnable interface, this note display box just moves to the position that this finger leaves this current runnable interface.
For example, as shown in Figure 3, when length is by note display box on current runnable interface for user, this mobile terminal will detect the move for the input of this note display box, therefore, this note display box just can move according to the sliding trace of user's finger on mobile terminal screen, and when the finger touch point of user leaves this mobile terminal screen, its current residing position is exactly the destination locations of the required movement of this note display box, the target area namely on this current runnable interface.
In the embodiment of the present invention, step S205 ~ S206 performs after step S207, and also can be performed before step S207, can also perform with step S207, the embodiment of the present invention limit simultaneously.
In the execution mode that some are feasible, this mobile terminal, after outputing the note display box including target note, can also perform following steps:
Step 11) detect the displaying time that the suspension of this note display box is shown in this current runnable interface;
Step 12) when this displaying time exceedes default displaying time, close this note display box.
In specific implementation, default displaying time can be 3 minutes, and also can be 5 minutes, can also be 10 minutes, the embodiment of the present invention limit.After this mobile terminal exports this note display box, this mobile terminal will detect the displaying time that the suspension of this note display box shows runnable interface in this prior, if this displaying time has exceeded default displaying time, during the effective proving time comprised as this note, this mobile terminal will close this note display box automatically, can prevent this short message verification code from revealing like this, ensure privacy of user safety.
In the execution mode that other are feasible, this mobile terminal, after outputing the note display box including target note, can also perform following steps:
Step 21) receive the out code inputted for this note display box;
Step 22) respond this out code, close this note display box.
In specific implementation, after this mobile terminal exports this note display box, user can select to close this note display box, namely the top-right X button of note display box as shown in Figure 3 is clicked, therefore, this mobile terminal, after the shutoff operation receiving user's input, can generate the out code of closing this note display box, then will respond this out code, directly close this note display box.
In specific implementation, the out code of user's input can be generate when the displaying time that the suspension of this note display box shows runnable interface does not in this prior exceed budget displaying time.Therefore, the operation grade of this note display box of user's manual-lock is higher than the operation grade that this mobile terminal closes this note display box automatically.
S207, when the input operation on runnable interface in this prior being detected, this mobile terminal keeps this note display box to suspend being shown in this current runnable interface, and process ends.
For example, see also Fig. 3, after mobile terminal receives target note, this mobile terminal will judge whether this target note includes identifying code, if comprised, this mobile terminal will obtain the interface information of the current runnable interface of this mobile terminal, and judges that whether this current runnable interface is the identifying code inputting interface of this target note according to this interface information.If this current runnable interface is not the identifying code inputting interface of this target note, so this mobile terminal can export information to point out user's interface switching; If this current runnable interface is the identifying code inputting interface of this target note, so this target note is just presented in note display box by this mobile terminal, and this note display box suspends and shows in this prior on runnable interface.Therefore, user can perform move operation to giving end display box, also can perform shutoff operation.And, when this note display box shows in this prior after runnable interface, this user just can with reference to the target short message content in this note display box, correct identifying code is inputted in identifying code input frame below this note display box, after user has inputted and has clicked and determine, the identifying code that user inputs will be submitted to corresponding server, to verify this identifying code by this mobile terminal.
Visible, in the method described by Fig. 2, this mobile terminal when determining the content matching of its current runnable interface and this target note, can just export the note display box including this target note.And after output note display box, user can move this note display box, initiatively can also close this note display box.So not only can ensure this note display box the position of the display that suspends can not block the identifying code input frame of this current runnable interface, can also ensure to complete after this note display box is closed in identifying code input user to have larger operating space.Certainly, this mobile terminal can also arrange the displaying time of this note display box, if exceeded default displaying time, this mobile terminal initiatively will close this note display box.Can not complete user the situation that identifying code input has again other thing process like this, initiatively close the note display box including identifying code, to ensure the leakage of user rs authentication code, improve authenticating security.
Refer to Fig. 4, Fig. 4 is the structural representation of a kind of mobile terminal disclosed in the embodiment of the present invention.Wherein, this mobile terminal 400 is mainly used in implementing short message display method.This mobile terminal 400 can comprise smart mobile phone (as Android phone, iOS mobile phone etc.), panel computer, palmtop PC and mobile internet device (MobileInternetDevices, MID), personal digital assistant (PersonalDigitalAssistant, PDA), media player, intelligent television, intelligent watch, intelligent glasses, Intelligent bracelet etc., and this mobile terminal 400 can receive short message.As shown in Figure 4, this mobile terminal can comprise:
Judging unit 401, for when receiving target note, judges whether there is the character string meeting preset rules in this target note.
In the embodiment of the present invention, character string can comprise numeral, letter, symbol, Chinese character and combinations several arbitrarily, and preset rules is the rule that terminal prestores, and as being not less than four characters, be no more than 15 characters etc., the embodiment of the present invention does not limit.Further, the character string of this preset rules can also be " identifying code " three words.Target note can be any note that this mobile terminal 400 receives, and the embodiment of the present invention does not limit.
In the embodiment of the present invention, user is when on the webpage or client of mobile terminal 400, register account number carries out authentication, the phone number to binding is needed to send identifying code, therefore, when mobile terminal 400 receives note, first judging unit 401 can judge whether the note received exists the character string meeting preset rules, namely judges whether this note is identifying code note.
For example, suppose that user opens a certain social network sites in the browser application of mobile phone, and need register account number, after user has filled in the data of phone number, website will export information and require input validation code, after user clicks acquisition, the identifying code of system stochastic generation will be sent on the mobile phone at the phone number place that user fills in by this website.Therefore, when mobile phone receives target note in this time period, the content of this target note will be identified, judge in this target note, whether to there is the character string (namely may be the character string of identifying code) meeting preset rules.If there is the character string meeting preset rules, just show that this target note may be identifying code note, this mobile phone just exports the note display box including this target note; If there is no meet the character string of preset rules, just show that this target note is not identifying code note, therefore, this mobile phone does not just do any operation.
Output unit 402, when meeting the character string of preset rules for judging at above-mentioned judging unit 401 to exist in this target note, export the note display box including this target note, wherein, this note display box suspends and is shown in current runnable interface.
In the embodiment of the present invention, after judging unit 401 judges that this target note includes and meets pre-conditioned character string (namely judging that this target note may be identifying code note), output unit 402 will export a note display box, show this target note in this note display box, and this note display box suspends to be presented at the current runnable interface of mobile terminal.Wherein, this current runnable interface is mainly used in inputting the character string meeting preset rules, is namely mainly used in the runnable interface inputting correct identifying code.
In the embodiment of the present invention, the suspension of this note display box is presented at current runnable interface and refers to, this note display box will directly be presented on current runnable interface when exporting this note display box by output unit 402.As shown in Figure 3, Fig. 3 is the interface schematic diagram that disclosed in the embodiment of the present invention, the suspension of note display box is shown in current runnable interface.In figure 3, in this note display box, show the identifying code note comprising identifying code, and this note display box is presented on current runnable interface.
Further, what show in note display box can be the full content of this target note, also can be only show the string content meeting preset rules in this target note, it can also be the full content first showing this target note, after display a period of time, just only show the string content meeting preset rules in this target note, the embodiment of the present invention does not limit.
Holding unit 403, for when the input operation on runnable interface in this prior being detected, keeping this note display box to suspend and being shown in this current runnable interface.
In the embodiment of the present invention, after the note display box suspension including target note is presented at current runnable interface by output unit 402, this user can operate this note display box, also can operate current runnable interface.Such as, the identifying code in note display box is inputted in the identifying code input frame of current runnable interface; Drag current runnable interface, make this current runnable interface scroll-up/down; Mouse or finger click the optional position etc. of this current runnable interface.Therefore, when mobile terminal 400 detects the input operation of user in this prior on runnable interface, holding unit 403 still can remain that this note display box suspends and show in this prior on runnable interface.That is, after the note display box including identifying code note suspends and is presented at current runnable interface by output unit 402, no matter to this current runnable interface, how to operate for user, and holding unit 403 can control this note display box and show all the time in this prior on runnable interface, can not be hidden.
In the embodiment of the present invention, above-mentioned input operation can be clicking operation, slide, text event detection operation, interface drag operation etc., and the embodiment of the present invention does not limit.
For example, when user is in a certain networking telephone client of mobile terminal 400 during register account number, need the phone number that input validation code inputs with user bound, therefore, after user clicks acquisition identifying code, the phone number that this acquisition identifying code request and user input will be sent to the server corresponding to this networking telephone client by this networking telephone client, after server receives and obtains identifying code request, the identifying code of stochastic generation will be sent on the mobile terminal 400 that this phone number binds with note form.Therefore, after mobile terminal 400 receives note, according to identifying code rule, judging unit 401 will identify whether this note is identifying code note, if so, this note will be presented on the networking telephone client end interface that mobile terminal running with the form of note display box by output unit 402.Therefore, user just can than facing toward this note being input to identifying code precise and high efficiency in this networking telephone client end interface.
Visible, in the mobile terminal described by Fig. 4, this mobile terminal is when receiving target note, can judge whether there is the character string meeting preset rules in this target note, if existed, just export the note display box including this target note, and the suspension of this note display box is shown in current runnable interface, this current runnable interface is for inputting the character string meeting preset rules, after output note display box, when the input operation on runnable interface in this prior being detected, keeping this note display box to suspend and being shown in this current runnable interface.Pass through the embodiment of the present invention, when identifying identifying code note, the note display box at this identifying code note place can be suspended and be shown in the current runnable interface needing input validation code, even if operate this current runnable interface, this note display box remains show state, so just can ensure that user is when input validation code, can not switch back and forth at note interface and checking interface, ensure the correctness of identifying code input, improve the input efficiency of identifying code, promote Consumer's Experience.
Refer to Fig. 5, Fig. 5 is the structural representation of another kind of mobile terminal disclosed in the embodiment of the present invention.Wherein, the mobile terminal 400 shown in Fig. 5 is optimized to obtain on the basis of the mobile terminal 400 shown in Fig. 4.As shown in Figure 5, this mobile terminal 400 can also comprise:
Acquiring unit 404, when meeting the character string of preset rules for judging at above-mentioned judging unit 401 to exist in this target note, obtains the interface information of the current runnable interface of mobile terminal 400.
In the embodiment of the present invention, when judging unit 401 judges that in this target note, existence meets the character string of preset rules, acquiring unit 404 can obtain the interface information of its current runnable interface.Wherein, this interface information can be the webpage etc. that before deserving, runnable interface is corresponding, as Alipay, Taobao, QQ, PPS, Jingdone district, Baidu, Sina etc.
For example, suppose user's just register account number on Baidu's webpage, the interface information that so current runnable interface comprises has the mark of Baidu, or this network address corresponding to current runnable interface comprises the domain name etc. of Baidu.
In the embodiment of the present invention, above-mentioned judging unit 401 also for when above-mentioned acquiring unit 404 gets the interface information of current runnable interface, judges whether this interface information mates with the content of this target note.
In the embodiment of the present invention, after acquiring unit 404 gets the interface information of current runnable interface, the content of this target note can be obtained, then judging unit 401 can judge whether this interface information mates with the content of this target note, namely judge whether this current runnable interface is the character string inputting interface meeting preset rules that this target note comprises, and whether is namely identifying code inputting interface.As a rule, identifying code note generally all can indicate the transmission main body of this note, as the transmission of Jingdone district server, the transmission of QQ server etc.Therefore, judging unit 401 will judge that whether the transmission main body of this target note is consistent with the main body of current runnable interface.If so, output unit 402 just exports the note display box including this target note; If not, output unit 402 can not export this note display box, and after also can exporting this note display box, prompting user is switched in the interface of input validation code, and the embodiment of the present invention does not limit.
For example, suppose user's just register account number on the webpage of a certain networking telephone of mobile phone, the phone number clicking inserting binding as user obtains after identifying code, and this user receives a micro-letter, enters micro-letter interface.And now, the server of this networking telephone by the identifying code short message sending of stochastic generation on this mobile phone, and this mobile phone to judge this note be identifying code note, so this mobile phone can obtain the interface information of current runnable interface, is micro-letter interface.Sent by this voip server when mobile phone gets this identifying code note, therefore, this mobile phone can judge that the interface information of this current runnable interface does not mate with the content of this note, therefore, this mobile phone can export information prompting user and be switched to this networking telephone interface, so that input validation code completes account registration in real time.And if user does not enter micro-letter interface, but rest on the register interface of this networking telephone always, so this mobile phone will judge that the transmission main body of this identifying code note is consistent with the interface information of this current runnable interface, therefore will export this identifying code note with the direct runnable interface in this prior of the form of note display box.
Detecting unit 405, for detecting the move of this note display box input exported for above-mentioned output unit 402.
In the embodiment of the present invention, move includes the target area of this current runnable interface, namely needs the destination locations of this note display box movement.Therefore, after output unit 402 outputs this note display box, this note display box can move by user, as chosen this note display box (move for the input of this note display box) as user after, this note display box arbitrarily can be moved to any one position of this current runnable interface by user.
In the embodiment of the present invention, this move can be that user have selected this note display box, and generate after have selected the target area of movement, also can be just generate after user have selected this note display box, the embodiment of the present invention limit.
Mobile unit 406, for responding the move that above-mentioned detecting unit 405 detects, moves to target area by this note display box.
In the embodiment of the present invention, after detecting unit 405 detects the move for the input of this note display box, mobile unit 406 will respond this move, this note display box is moved to the target area of this current runnable interface.
In the embodiment of the present invention, after user have selected this note display box, mobile unit 406 can control this note display box and point with user the track slided on current runnable interface and move, when user's finger leaves current runnable interface, this note display box just moves to the position that this finger leaves this current runnable interface.
For example, as shown in Figure 3, when length is by note display box on current runnable interface for user, detecting unit 405 will detect the move for the input of this note display box, therefore, this note display box just can move according to the sliding trace of user's finger on mobile terminal screen, and when the finger touch point of user leaves this mobile terminal screen, its current residing position is exactly the destination locations of the required movement of this note display box, the target area namely on this current runnable interface.
In the embodiment of the present invention, above-mentioned detecting unit 405 is also shown in the displaying time of this current runnable interface for detecting the suspension of this note display box.
In the embodiment of the present invention, this mobile terminal 400 can also comprise:
Closing unit 407, for when above-mentioned detecting unit 4052 detects that this displaying time exceedes default displaying time, closes this note display box.
In specific implementation, default displaying time can be 3 minutes, and also can be 5 minutes, can also be 10 minutes, the embodiment of the present invention limit.After output unit 402 exports this note display box, detecting unit 405 will detect the displaying time that the suspension of this note display box shows runnable interface in this prior, if this displaying time has exceeded default displaying time, during the effective proving time comprised as this note, closing unit 407 will close this note display box automatically, can prevent this short message verification code from revealing like this, ensure privacy of user safety.
In the embodiment of the present invention, this mobile terminal can also comprise:
Receiving element 408, for receiving the out code of this note display box input exported for above-mentioned output unit 402.
Above-mentioned closing unit 407, also for responding the out code that above-mentioned receiving element 408 receives, closes this note display box.
In specific implementation, after output unit 402 exports this note display box, user can select to close this note display box, namely the top-right X button of note display box as shown in Figure 3 is clicked, therefore, receiving element 408, after the shutoff operation receiving user's input, can generate the out code of closing this note display box, then closing unit 407 will respond this out code, directly closes this note display box.
In specific implementation, the out code of user's input can be generate when the displaying time that the suspension of this note display box shows runnable interface does not in this prior exceed budget displaying time.Therefore, the operation grade of this note display box of user's manual-lock is higher than the operation grade that this mobile terminal closes this note display box automatically.
For example, see also Fig. 3, after mobile terminal 400 receives target note, judging unit 401 will judge whether this target note includes identifying code, if comprised, acquiring unit 404 will obtain the interface information of the current runnable interface of this mobile terminal 400, according to this interface information, judging unit 401 also judges that whether this current runnable interface is the identifying code inputting interface of this target note.If this current runnable interface is not the identifying code inputting interface of this target note, so this mobile terminal 400 just can export information to point out user's interface switching; If this current runnable interface is the identifying code inputting interface of this target note, so this target note is just presented in note display box by output unit 402, and this note display box suspends and shows in this prior on runnable interface.Therefore, user can perform move operation to giving end display box, also can perform shutoff operation.And, when this note display box shows in this prior after runnable interface, this user just can with reference to the target short message content in this note display box, correct identifying code is inputted in identifying code input frame below this note display box, after user has inputted and has clicked and determine, the identifying code that user inputs will be submitted to corresponding server, to verify this identifying code by this mobile terminal.
Visible, in the mobile terminal described by Fig. 5, this mobile terminal when determining the content matching of its current runnable interface and this target note, can just export the note display box including this target note.And after output note display box, user can move this note display box, initiatively can also close this note display box.So not only can ensure this note display box the position of the display that suspends can not block the identifying code input frame of this current runnable interface, can also ensure to complete after this note display box is closed in identifying code input user to have larger operating space.Certainly, this mobile terminal can also arrange the displaying time of this note display box, if exceeded default displaying time, this mobile terminal initiatively will close this note display box.Can not complete user the situation that identifying code input has again other thing process like this, initiatively close the note display box including identifying code, to ensure the leakage of user rs authentication code, improve authenticating security.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
Above disclosedly be only present pre-ferred embodiments, certainly can not limit the interest field of the present invention with this, therefore according to the equivalent variations that the claims in the present invention are done, still belong to the scope that the present invention is contained.

Claims (10)

1. a short message display method, is characterized in that, comprising:
When receiving target note, judge whether there is the character string meeting preset rules in described target note;
If there is the character string meeting preset rules in described target note, then export and comprise the note display box stating target note to some extent, wherein, described note display box suspends and is shown in current runnable interface, and described current runnable interface is for inputting the described character string meeting preset rules;
When the input operation on described current runnable interface being detected, keeping described note display box to suspend and being shown in described current runnable interface.
2. method according to claim 1, is characterized in that, after described output comprises the note display box stating target note to some extent, described method also comprises:
Detect the move for described note display box input, described move comprises the target area of described current runnable interface;
Respond described move, described note display box is moved to described target area.
3. method according to claim 1 and 2, is characterized in that, when existence in described target note meets the character string of preset rules, described method also comprises:
Obtain the interface information of the current runnable interface of mobile terminal;
Judge whether described interface information mates with the content of described target note;
If the content matching of described interface information and described target note, then perform the step that described output comprises the note display box stating target note to some extent.
4. method according to claim 3, is characterized in that, after described output comprises the note display box stating target note to some extent, described method also comprises:
Receive the out code for described note display box input;
Respond described out code, close described note display box.
5. method according to claim 3, is characterized in that, after described output comprises the note display box stating target note to some extent, described method also comprises:
Detect the displaying time that the suspension of described note display box is shown in described current runnable interface;
When described displaying time exceedes default displaying time, close described note display box.
6. a mobile terminal, is characterized in that, comprising:
Judging unit, for when receiving target note, judges whether there is the character string meeting preset rules in described target note;
Output unit, when meeting the character string of preset rules for judging at described judging unit to exist in described target note, export and comprise the note display box stating target note to some extent, wherein, described note display box suspends and is shown in current runnable interface, and described current runnable interface is for inputting the described character string meeting preset rules;
Holding unit, for when the input operation on described current runnable interface being detected, keeping described note display box to suspend and being shown in described current runnable interface.
7. mobile terminal according to claim 6, is characterized in that, described mobile terminal also comprises:
Detecting unit, for detecting the move for described note display box input, described move comprises the target area of described current runnable interface;
Mobile unit, for responding described move, moves to described target area by described note display box.
8. the mobile terminal according to claim 6 or 7, is characterized in that, described mobile terminal also comprises:
Acquiring unit, when meeting the character string of preset rules for judging at described judging unit to exist in described target note, obtains the interface information of the current runnable interface of mobile terminal;
Described judging unit, also for judging whether described interface information mates with the content of described target note, if so, then triggering described output unit and performing the operation that described output comprises the note display box stating target note to some extent.
9. mobile terminal according to claim 8, is characterized in that, described mobile terminal also comprises:
Receiving element, for receiving the out code for described note display box input;
First closing unit, for responding described out code, closes described note display box.
10. mobile terminal according to claim 8, is characterized in that,
Described detecting unit, is also shown in the displaying time of described current runnable interface for detecting the suspension of described note display box;
Described mobile terminal also comprises:
Second closing unit, for when described displaying time exceedes default displaying time, closes described note display box.
CN201510355360.8A 2015-06-24 2015-06-24 A kind of short message display method and mobile terminal Active CN105049607B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510355360.8A CN105049607B (en) 2015-06-24 2015-06-24 A kind of short message display method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510355360.8A CN105049607B (en) 2015-06-24 2015-06-24 A kind of short message display method and mobile terminal

Publications (2)

Publication Number Publication Date
CN105049607A true CN105049607A (en) 2015-11-11
CN105049607B CN105049607B (en) 2018-09-04

Family

ID=54455799

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510355360.8A Active CN105049607B (en) 2015-06-24 2015-06-24 A kind of short message display method and mobile terminal

Country Status (1)

Country Link
CN (1) CN105049607B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512542A (en) * 2015-12-10 2016-04-20 小米科技有限责任公司 Information inputting method and system
CN105700845A (en) * 2016-02-26 2016-06-22 努比亚技术有限公司 Method and device for displaying digit arithmetic result in document
CN105792150A (en) * 2016-02-26 2016-07-20 周奇 Method and device for judging short message authentication code
CN106101451A (en) * 2016-08-18 2016-11-09 中国联合网络通信集团有限公司 SMS processing method, mobile terminal
WO2017113350A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Method and apparatus for acquiring verification code, and terminal
WO2017147890A1 (en) * 2016-03-04 2017-09-08 华为技术有限公司 Verification code short message display method and mobile terminal
CN107992243A (en) * 2017-11-29 2018-05-04 珠海市魅族科技有限公司 A kind of information displaying method and device, terminal, readable storage medium storing program for executing
CN108702413A (en) * 2017-05-10 2018-10-23 华为技术有限公司 A kind of input method and device of identifying code
CN113259525A (en) * 2021-05-11 2021-08-13 苏州工业园区服务外包职业学院 Verification code shift display device and method
CN114968003A (en) * 2022-04-20 2022-08-30 中电信数智科技有限公司 Verification code input method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005589A1 (en) * 2010-07-05 2012-01-05 Seohyun Han Mobile terminal and method for controlling the operation of the mobile terminal
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103902740A (en) * 2014-04-22 2014-07-02 锤子科技(北京)有限公司 Short message authentication code residing method and device
CN104683963A (en) * 2015-02-15 2015-06-03 联想(北京)有限公司 Information processing method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120005589A1 (en) * 2010-07-05 2012-01-05 Seohyun Han Mobile terminal and method for controlling the operation of the mobile terminal
CN103546877A (en) * 2013-10-30 2014-01-29 上海斐讯数据通信技术有限公司 Method and system for obtaining and inputting content code and mobile terminal
CN103902740A (en) * 2014-04-22 2014-07-02 锤子科技(北京)有限公司 Short message authentication code residing method and device
CN104683963A (en) * 2015-02-15 2015-06-03 联想(北京)有限公司 Information processing method and electronic equipment

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512542A (en) * 2015-12-10 2016-04-20 小米科技有限责任公司 Information inputting method and system
CN105512542B (en) * 2015-12-10 2018-09-04 小米科技有限责任公司 Data inputting method and device
WO2017113350A1 (en) * 2015-12-31 2017-07-06 华为技术有限公司 Method and apparatus for acquiring verification code, and terminal
US11864068B2 (en) 2015-12-31 2024-01-02 Huawei Technologies Co., Ltd. Verification code obtaining method and apparatus, and terminal
US11317257B2 (en) 2015-12-31 2022-04-26 Huawei Technologies Co., Ltd. Verification code obtaining method and apparatus, and terminal
US10841754B2 (en) 2015-12-31 2020-11-17 Huawei Technologies Co., Ltd. Verification code obtaining method and apparatus, and terminal
CN105792150B (en) * 2016-02-26 2019-03-08 周奇 The judgment method and device of short message verification code
CN105792150A (en) * 2016-02-26 2016-07-20 周奇 Method and device for judging short message authentication code
CN105700845A (en) * 2016-02-26 2016-06-22 努比亚技术有限公司 Method and device for displaying digit arithmetic result in document
CN107615294A (en) * 2016-03-04 2018-01-19 华为技术有限公司 A kind of identifying code short message display method and mobile terminal
WO2017147890A1 (en) * 2016-03-04 2017-09-08 华为技术有限公司 Verification code short message display method and mobile terminal
CN106101451A (en) * 2016-08-18 2016-11-09 中国联合网络通信集团有限公司 SMS processing method, mobile terminal
CN108702413A (en) * 2017-05-10 2018-10-23 华为技术有限公司 A kind of input method and device of identifying code
EP3618347A4 (en) * 2017-05-10 2020-03-04 Huawei Technologies Co., Ltd. Method and device for inputting verification code
CN107992243A (en) * 2017-11-29 2018-05-04 珠海市魅族科技有限公司 A kind of information displaying method and device, terminal, readable storage medium storing program for executing
CN113259525A (en) * 2021-05-11 2021-08-13 苏州工业园区服务外包职业学院 Verification code shift display device and method
CN114968003A (en) * 2022-04-20 2022-08-30 中电信数智科技有限公司 Verification code input method and device
CN114968003B (en) * 2022-04-20 2023-08-11 中电信数智科技有限公司 Verification code input method and device

Also Published As

Publication number Publication date
CN105049607B (en) 2018-09-04

Similar Documents

Publication Publication Date Title
CN105049607A (en) Text message display method and mobile terminal
Habib et al. An Empirical Analysis of Data Deletion and {Opt-Out} Choices on 150 Websites
Serra et al. Accessibility evaluation of e-government mobile applications in Brazil
US20200314192A1 (en) Providing user control of tracking user behavior
KR102355973B1 (en) Apparatus and method for detecting smishing message
CN103891242A (en) System and method for profile based filtering of outgoing information in a mobile environment
CN104639721A (en) Method and device for providing application information in mobile terminal device
CN110442712B (en) Risk determination method, risk determination device, server and text examination system
CN108566399B (en) Phishing website identification method and system
CN104580117A (en) Authentication method, device and system
CN104980404B (en) Method and system for protecting account information security
US20140136967A1 (en) Method of providing predictive text
CN103646211A (en) Method and device for loading payment webpage in browser
US20190146900A1 (en) Method and system for context based testing of software application vulnerabilities
CN104484407A (en) Method and system for recognizing fraud information
US11755830B2 (en) Utilizing natural language processing to automatically perform multi-factor authentication
CN103324674A (en) Method and device for selecting webpage content
CN109902459A (en) Man-machine identification verification method, system, equipment and the storage medium of WEB page
CN104683963A (en) Information processing method and electronic equipment
US11099840B2 (en) Adaptation of a web application for use by a mobile device
CN107018232A (en) A kind of identifying code rendering method and terminal
CN111125704B (en) Webpage Trojan horse recognition method and system
CN104468616A (en) Picture verification code generation method and client side
CN107239405A (en) A kind of automated testing method based on many browser kernels of Android
Sultan Improving cybersecurity awareness in underserved populations

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.