CN105049607B - A kind of short message display method and mobile terminal - Google Patents

A kind of short message display method and mobile terminal Download PDF

Info

Publication number
CN105049607B
CN105049607B CN201510355360.8A CN201510355360A CN105049607B CN 105049607 B CN105049607 B CN 105049607B CN 201510355360 A CN201510355360 A CN 201510355360A CN 105049607 B CN105049607 B CN 105049607B
Authority
CN
China
Prior art keywords
short message
display box
message display
interface
runnable 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.)
Active
Application number
CN201510355360.8A
Other languages
Chinese (zh)
Other versions
CN105049607A (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

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses a kind of short message display method and mobile terminals.Wherein, this method includes:Mobile terminal is when receiving target message, it can judge in the target message with the presence or absence of the character string for meeting preset rules, if there is, include the short message display box of target message with regard to output, and the suspension of short message display box is shown in current runnable interface, for the current runnable interface for inputting the character string for meeting preset rules, which keeps short message display box suspension to be shown in the current runnable interface when detecting the input operation on runnable interface in this prior.It can be seen that, mobile terminal is when identifying identifying code short message, the identifying code short message can be suspended in the form of short message display box and be shown in current runnable interface, user operates the current runnable interface, the short message display box remains dispaly state, it ensures that user efficiently can correctly input identifying code in this way, promotes user experience.

Description

A kind of short message display method and mobile terminal
Technical field
The present invention relates to information technology fields, and in particular to a kind of short message display method and mobile terminal.
Background technology
Nowadays, the short message function of mobile terminal is often used in receiving various consumption, registration, activation, authentication are tested Code short message is demonstrate,proved, but user can check short message, then again from short message text after receiving short massage notice into short message interface In recognize identifying code, then the identifying code is input to verification interface, this series of steps is very cumbersome.Especially identifying code is defeated Enter interface when on the mobile terminal for receiving identifying code, for user when inputting identifying code, verification interface can be by short message interface Covering, therefore user needs to remember to verify digital content, if identifying code is more complicated, user would have to toggle short message circle Face and verification interface, this mode not only makes identifying code input efficiency relatively low, but also is easy to cause identifying code input error.
Invention content
The embodiment of the invention discloses a kind of short message display method and mobile terminals, are capable of the input verification of precise and high efficiency Code.
First aspect of the embodiment of the present invention discloses a kind of short message display method, including:
When receiving target message, judge in the target message with the presence or absence of the character string for meeting preset rules;
If there is the character string for meeting preset rules in the target message, output includes the short of the target message Believe display box, wherein the short message display box suspension is shown in current runnable interface, and the current runnable interface is for inputting institute State the character string for meeting preset rules;
When detecting the input operation on the current runnable interface, the short message display box suspension is kept to be shown in The current runnable interface.
Optionally, it is described output include the target message short message display box after, the method further includes:
For the move of short message display box input, the move includes the current runnable interface for detection Target area;
The move is responded, the short message display box is moved to the target area.
Optionally, when there is the character string for meeting preset rules in the target message, the method further includes:
Obtain the interface information of the current runnable interface of mobile terminal;
Judge whether the interface information matches with the content of the target message;
If the content matching of the interface information and the target message, it includes that the target is short to execute the output The step of short message display box of letter.
Optionally, it is described output include the target message short message display box after, the method further includes:
Receive the out code for short message display box input;
The out code is responded, the short message display box is closed.
Optionally, it is described output include the target message short message display box after, the method further includes:
Detect the display time that the short message display box suspension is shown in the current runnable interface;
When the display time being more than the default display time, the short message display box is closed.
Correspondingly, second aspect of the embodiment of the present invention discloses a kind of mobile terminal, including:
Judging unit, for when receiving target message, judging in the target message with the presence or absence of the default rule of satisfaction Character string then;
Output unit, for there is the character for meeting preset rules in judging the target message in the judging unit When string, output includes the short message display box of the target message, wherein the short message display box suspension is shown in current operation Interface, the current runnable interface is for inputting the character string for meeting preset rules;
Holding unit, for when detecting in the input operation on the current runnable interface, keeping the short message aobvious Show that frame suspension is shown in the current runnable interface.
Optionally, the mobile terminal further includes:
Detection unit, for detecting the move for short message display box input, the move includes institute State the target area of current runnable interface;
The short message display box is moved to the target area by mobile unit for responding the move.
Optionally, the mobile terminal further includes:
Acquiring unit, for there is the character for meeting preset rules in judging the target message in the judging unit When string, the interface information of the current runnable interface of mobile terminal is obtained;
The judging unit is additionally operable to judge whether the interface information matches with the content of the target message, if so, It then triggers the output unit and executes the operation that the output includes the short message display box of the target message.
Optionally, the mobile terminal further includes:
Receiving unit, for receiving the out code for short message display box input;
First closing unit closes the short message display box for responding the out code.
Optionally, the detection unit is additionally operable to detect the short message display box suspension and is shown in current operation circle The display time in face;
The mobile terminal further includes:
Second closing unit, for when the display time being more than the default display time, closing the short message display box.
Implement the embodiment of the present invention, has the advantages that:
In the embodiment of the present invention, mobile terminal can judge to whether there is in the target message when receiving target message Meet the character string of preset rules, if it does, include the short message display box of the target message with regard to output, and the short message is shown Frame suspension is shown in current runnable interface, and the current runnable interface is short exporting for inputting the character string for meeting preset rules After believing display box, when detecting the input operation on runnable interface in this prior, keeps the short message display box to suspend and show In the current runnable interface.It through the embodiment of the present invention, can will be where identifying code short message when identifying identifying code short message Short message display box suspend be shown in need input identifying code current runnable interface, even if being grasped to the current runnable interface Make, which remains dispaly state, ensure that user, will not be in short message circle when inputting identifying code in this way Face and verification interface toggle, and ensure the correctness of identifying code input, improve the input efficiency of identifying code, promote user's body It tests.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of flow diagram of short message display method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another short message display method disclosed by the embodiments of the present invention;
Fig. 3 is the interface schematic diagram that short message display box suspension disclosed by the embodiments of the present invention is shown in current runnable interface;
Fig. 4 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention;
Fig. 5 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts Embodiment shall fall within the protection scope of the present invention.
The embodiment of the invention discloses a kind of short message display method and mobile terminals, are capable of the input verification of precise and high efficiency Code.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of short message display method disclosed by the embodiments of the present invention.Wherein, scheme Method shown in 1 can be applied to smart mobile phone (such as Android phone, iOS mobile phones), tablet computer, palm PC and Mobile internet device (Mobile Internet Devices, MID), personal digital assistant (Personal Digital Assistant, PDA), media player, smart television, smartwatch, intelligent glasses, the mobile terminals such as Intelligent bracelet, the shifting Dynamic terminal can receive short message.As shown in Figure 1, the short message display method may comprise steps of:
S101, when receiving target message, mobile terminal judges in the target message with the presence or absence of meeting preset rules Character string, if so, executing step S102;If it is not, terminating this flow.
In the embodiment of the present invention, character string may include number, letter, symbol, Chinese character and arbitrary several combination, in advance If rule is the pre-stored rule of terminal, such as it is not less than four characters, is no more than 15 characters etc., the embodiment of the present invention is not done It limits.Further, the character string of the preset rules can also be " identifying code " three words.Target message can be movement end Any one short message received, the embodiment of the present invention is held not to limit.
In the embodiment of the present invention, user's register account number on the webpage of mobile terminal or client carries out authentication When, it needs therefore when mobile terminal receives short message, to judge to receive first to the phone number of binding transmission identifying code To short message whether there is and meet the character strings of preset rules, that is, judge whether the short message is identifying code short message.
As an example it is assumed that user opens a certain social network sites in the browser application of mobile phone, and register account number is needed, After user has filled in the data of phone number, prompt message will be exported on website and requires input identifying code, when user's point It hits after acquisition, the identifying code which will generate system at random is sent to the mobile phone where the phone number that user fills in On.Therefore, when mobile phone is when receiving target message this period, it will identify the content of the target message, judge the mesh With the presence or absence of the character string (may be the character string of identifying code) for meeting preset rules in mark short message.It is default if there is meeting The character string of rule indicates that the target message may be identifying code short message, and it includes the target message which, which just exports, Short message display box;If there is no the character string for meeting preset rules, it is identifying code short message to indicate that the target message not, because This, which does not just do any operation.
S102, mobile terminal output include the short message display box of the target message, wherein the short message display box suspends It is shown in current runnable interface.
In the embodiment of the present invention, when mobile terminal judges that the target message includes to meet the character string of preset condition After (judging that the target message may be identifying code short message), which will export a short message display box, this is short The target message is shown in letter display box, and the short message display box is the current runnable interface for suspending and being shown in mobile terminal 's.Wherein, which is mainly used for inputting the character string for meeting preset rules, that is, it is correct to be mainly used for input The runnable interface of identifying code.
In the embodiment of the present invention, it refers to that the mobile terminal is defeated that short message display box suspension, which is shown in current runnable interface, The short message display box will be directly displayed on current runnable interface when going out the short message display box.As shown in figure 3, Fig. 3 is this Short message display box disclosed in inventive embodiments, which suspends, is shown in the interface schematic diagram of current runnable interface.In figure 3, the short message is aobvious Show and show the identifying code short message including identifying code in frame, and the short message display box is shown on current runnable interface.
Further, what is shown in short message display box can be the full content of the target message, can also be only to show The string content for meeting preset rules in the target message can also be the full content for first showing the target message, when aobvious After showing a period of time, just only show that the string content for meeting preset rules in the target message, the embodiment of the present invention are not done It limits.
S103, when detect on runnable interface in this prior input operation when, which keeps the short message to show Frame suspension is shown in the current runnable interface, and terminates this flow.
In the embodiment of the present invention, when the mobile terminal by include target message short message display box suspension include current After runnable interface, which can operate the short message display box, can also be operated to current runnable interface.Example Such as, the identifying code in short message display box is inputted in the identifying code input frame of current runnable interface;Current runnable interface is dragged, The current runnable interface is set to scroll up and down;Mouse or finger click any position etc. of the current runnable interface.Therefore, work as inspection Measure user in this prior input operation on runnable interface when, which still can remain that the short message display box is outstanding Floating display is in this prior on runnable interface.That is, mobile terminal by include identifying code short message short message display box suspend It is shown in after current runnable interface, no matter to the current runnable interface, how to operate by user, which always show In this prior on runnable interface, it will not be hidden.
In the embodiment of the present invention, above-mentioned input operation can be clicking operation, slide, word input operation, interface Drag operation etc., the embodiment of the present invention does not limit.
For example, when user's register account number in a certain networking telephone client of mobile terminal, input is needed to test The phone number that card code is inputted with user bound, therefore, after obtaining identifying code when the user clicks, the networking telephone client is just Acquisition identifying code request and phone number input by user can be sent to the service corresponding to the networking telephone client The identifying code generated at random will be sent to this by device after server, which receives, obtains identifying code request in the form of short message On mobile terminal bound in phone number.Therefore, after mobile terminal receives short message, will be known according to identifying code rule Whether the short message is not identifying code short message, if so, in the form of short message display box will include in mobile terminal by the short message On the networking telephone client end interface being currently running.Therefore, user can than against the short message by identifying code precise and high efficiency It is input in the networking telephone client end interface.
As it can be seen that in the method described in Fig. 1, mobile terminal can judge the target message when receiving target message In with the presence or absence of meeting the character strings of preset rules, if it does, include the short message display box of the target message with regard to output, and Short message display box suspension is shown in current runnable interface, and the current runnable interface is for inputting the character for meeting preset rules String, when detecting the input operation on runnable interface in this prior, keeps the short message to show after exporting short message display box Frame suspension is shown in the current runnable interface.It through the embodiment of the present invention, can be by the verification when identifying identifying code short message Short message display box suspension where code short message is shown in the current runnable interface for needing to input identifying code, even if to the current operation Interface is operated, which remains dispaly state, ensures that user in this way when inputting identifying code, no It can be toggled at short message interface and verification interface, ensure the correctness of identifying code input, improve the input efficiency of identifying code, carry Rise user experience.
Referring to Fig. 2, Fig. 2 is the flow diagram of another short message display method disclosed by the embodiments of the present invention.Wherein, Method shown in Fig. 2 can be applied to smart mobile phone (such as Android phone, iOS mobile phones), tablet computer, palm PC with And mobile internet device (Mobile Internet Devices, MID), personal digital assistant (Personal Digital Assistant, PDA), media player, smart television, smartwatch, intelligent glasses, the mobile terminals such as Intelligent bracelet, the shifting Dynamic terminal can receive short message.As shown in Fig. 2, the short message display method may comprise steps of:
S201, when receiving target message, mobile terminal judges in the target message with the presence or absence of meeting preset rules Character string, if so, executing step S202;If it is not, terminating this flow.
The interface information of S202, the current runnable interface of the acquisition for mobile terminal.
In the embodiment of the present invention, when the mobile terminal judges there is the character string for meeting preset rules in the target message When, which can obtain the interface information of its current runnable interface first.Wherein, which can be to deserve preceding fortune Corresponding webpage in row interface etc., such as Alipay, Taobao, QQ, PPS, Jingdone district, Baidu, Sina.
As an example it is assumed that user's register account number just on Baidu's webpage, then the interface letter that current runnable interface includes Breath have Baidu mark or the network address corresponding to the current runnable interface include Baidu domain name etc..
S203, the mobile terminal judge whether the interface information matches with the content of the target message, if matching, executes step Rapid S204;If mismatching, terminate this flow.
In the embodiment of the present invention, after interface information of the acquisition for mobile terminal to current runnable interface, this can be obtained The content of target message, then judges whether the interface information matches with the content of the target message, that is, judges the current operation Whether whether interface is the character string input interface for meeting preset rules that the target message includes, i.e., be identifying code input circle Face.Usually, identifying code short message generally can all indicate the transmission main body of the short message, as Jingdone district server is sent, QQ servers Send etc..Therefore, the mobile terminal will judge the target message transmission main body whether the main body one with current runnable interface It causes.If so, including the short message display box of the target message with regard to output;If it is not, the short message display box can not be exported, After the short message display box can also be exported, user is prompted to be switched in the interface of input identifying code, the embodiment of the present invention is not done It limits.
As an example it is assumed that user's register account number just on the webpage of a certain networking telephone of mobile phone, when user's filling is tied up Fixed phone number and after clicking and obtaining identifying code, which receives a wechat, enters wechat interface.And at this point, The server of the networking telephone is by the identifying code short message sending to the mobile phone generated at random, and the mobile phone judges that the short message is Identifying code short message, then the mobile phone can obtain the interface information of current runnable interface, as wechat interface.When mobile phone gets this Identifying code short message is sent by the voip server, and therefore, which can judge the interface of the current runnable interface The content of information and the short message mismatches, and therefore, which can export prompt message prompt user and be switched to networking telephone circle Account registration is completed in face to input identifying code in real time.And if user and not entering wechat interface, but this is rested on always The register interface of the networking telephone, then the mobile phone will judge the transmission main body and the current runnable interface of the identifying code short message Interface information be consistent, therefore will directly runnable interface exports the identifying code in this prior in the form of short message display box Short message.
S204, mobile terminal output include the short message display box of the target message, wherein the short message display box suspends It is shown in current runnable interface.
The move that S205, mobile terminal detection are inputted for the short message display box.
In the embodiment of the present invention, move includes the target area of the current runnable interface, that is, is needed the short message The destination locations of display box movement.Therefore, after mobile terminal outputs the short message display box, user can show the short message Show that frame is moved, such as after user chooses short message display box (for the move of short message display box input), uses The short message display box can be arbitrarily moved to any one position of the current runnable interface by family.
In the embodiment of the present invention, which can be that user has selected the short message display box, and has selected movement It is generated after target area, can also be that user has selected just to generate after the short message display box, the embodiment of the present invention is not It limits.
S206, the mobile terminal respond the move, which is moved to target area.
In the embodiment of the present invention, after the mobile terminal detects the move inputted for the short message display box, The mobile terminal will respond the move, which is moved to the target area of the current runnable interface.
In the embodiment of the present invention, after user has selected the short message display box, it is aobvious which can control the short message Show the track that frame is slided with user's finger on current runnable interface to move, when user's finger leaves current runnable interface, The short message display box is just moved to the position that the finger leaves the current runnable interface.
For example, as shown in figure 3, when user's long-press short message display box on current runnable interface, the mobile terminal It will detect the move inputted for the short message display box, therefore, which can be according to user's finger Sliding trace movement on mobile terminal screen, and when the mobile terminal screen is left in the finger touch point of user, work as The location of preceding is exactly the destination locations moved required for the short message display box, i.e. target area on the current runnable interface Domain.
In the embodiment of the present invention, step S205~S206 can be executed after step S207, can also be in step It executes, can also be performed simultaneously with step S207, the embodiment of the present invention does not limit before S207.
In some feasible embodiments, the mobile terminal output include target message short message display box it Afterwards, following steps can also be performed:
Step 11) detects the display time that short message display box suspension is shown in the current runnable interface;
Step 12) closes the short message display box when the display time being more than the default display time.
In the specific implementation, the default display time can be 3 minutes, or 5 minutes, can also be 10 minutes, this hair Bright embodiment does not limit.After the mobile terminal exports the short message display box, it is aobvious which will detect the short message Show that frame suspends and show the display time of runnable interface in this prior, if the display time has been more than the default display time, such as should When effective verification time that short message includes, which will be automatically closed the short message display box, can prevent this in this way Short message verification code is revealed, and ensures privacy of user safety.
In other feasible embodiments, the mobile terminal output include target message short message display box Later, following steps can also be performed:
Step 21) receives the out code for short message display box input;
Step 22) responds the out code, closes the short message display box.
In the specific implementation, after the mobile terminal exports the short message display box, user can select to close the short message aobvious Show frame, that is, click the X buttons in short message display box as shown in Figure 3 upper right side, therefore, the mobile terminal is defeated when receiving user After the shutoff operation entered, the out code for closing the short message display box can be generated, then will respond the out code, directly Close the short message display box.
In the specific implementation, out code input by user can be run in this prior in short message display box suspension display Display time at interface is less than when budget shows the time and generates.Therefore, the operation of the short message display box is turned off manually in user Grade is higher than the operation grade that the short message display box is automatically closed in the mobile terminal.
S207, when detect on runnable interface in this prior input operation when, which keeps the short message to show Frame suspension is shown in the current runnable interface, and terminates this flow.
For example, also referring to Fig. 3, after mobile terminal receives target message, which will sentence Whether the target message of breaking includes identifying code, if including, which will obtain the mobile terminal and currently run boundary The interface information in face, and according to the interface information come judge the current runnable interface whether be the target message identifying code input Interface.If the current runnable interface is not the identifying code input interface of the target message, which can export Prompt message is to prompt user to switch interface;If the current runnable interface is the identifying code input interface of the target message, that The target message is just included in short message display box by the mobile terminal, and short message display box suspension display is run in this prior On interface.Therefore, user can also execute shutoff operation to giving end display box to execute moving operation.Also, work as the short message After display box shows runnable interface in this prior, the user can with reference to the target message content in the short message display box, Correct identifying code is inputted in the identifying code input frame below the short message display box, when user inputs completion and clicks determination Afterwards, which will be submitted to corresponding server by identifying code input by user, to be verified to the identifying code.
As it can be seen that in the method described in Fig. 2, which can determine that its current runnable interface and the target are short When the content matching of letter, just output includes the short message display box of the target message.And after exporting short message display box, use Family can move the short message display box, can also actively close the short message display box.It not only can ensure that this is short The position of letter the suspended display of display box will not block the identifying code input frame of the current runnable interface, it can also be ensured that in user Complete there can be larger operating space after the short message display box is closed in identifying code input.Certainly, which can be with The display time of the short message display box is set, and default display time, the mobile terminal will actively close this if more than Short message display box.In this way can user not complete identifying code input and have other things processing the case where, actively close including The short message display box for having identifying code improves verification safety to ensure the leakage of user's checking code.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of mobile terminal disclosed by the embodiments of the present invention.Wherein, the movement Terminal 400 is mainly used for implementing short message display method.The mobile terminal 400 may include smart mobile phone (such as Android phone, IOS mobile phones etc.), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), Personal digital assistant (Personal Digital Assistant, PDA), media player, smart television, smartwatch, intelligence Energy glasses, Intelligent bracelet etc., and the mobile terminal 400 can receive short message.As shown in figure 4, the mobile terminal can be with Including:
Judging unit 401, for when receiving target message, judging in the target message with the presence or absence of the default rule of satisfaction Character string then.
In the embodiment of the present invention, character string may include number, letter, symbol, Chinese character and arbitrary several combination, in advance If rule is the pre-stored rule of terminal, such as it is not less than four characters, is no more than 15 characters etc., the embodiment of the present invention is not done It limits.Further, the character string of the preset rules can also be " identifying code " three words.Target message can be movement end Any one short message that end 400 receives, the embodiment of the present invention do not limit.
In the embodiment of the present invention, user's register account number on the webpage of mobile terminal 400 or client carries out identity and tests When card, need to send identifying code to the phone number of binding, therefore, when mobile terminal 400 receives short message, judging unit 401 can judge that the short message received whether there is the character string for meeting preset rules first, that is, judge whether the short message is verification Code short message.
As an example it is assumed that user opens a certain social network sites in the browser application of mobile phone, and register account number is needed, After user has filled in the data of phone number, prompt message will be exported on website and requires input identifying code, when user's point It hits after acquisition, the identifying code which will generate system at random is sent to the mobile phone where the phone number that user fills in On.Therefore, when mobile phone is when receiving target message this period, it will identify the content of the target message, judge the mesh With the presence or absence of the character string (may be the character string of identifying code) for meeting preset rules in mark short message.It is default if there is meeting The character string of rule indicates that the target message may be identifying code short message, and it includes the target message which, which just exports, Short message display box;If there is no the character string for meeting preset rules, it is identifying code short message to indicate that the target message not, because This, which does not just do any operation.
Output unit 402 meets preset rules for existing in judging the target message in above-mentioned judging unit 401 When character string, output includes the short message display box of the target message, wherein short message display box suspension is shown in current operation Interface.
In the embodiment of the present invention, when judging unit 401 judges that the target message includes to meet the character of preset condition It goes here and there after (judging that the target message may be identifying code short message), output unit 402 will export a short message display box, should The target message is shown in short message display box, and the short message display box is the current runnable interface for suspending and being shown in mobile terminal 's.Wherein, which is mainly used for inputting the character string for meeting preset rules, that is, it is correct to be mainly used for input The runnable interface of identifying code.
In the embodiment of the present invention, it refers to that output unit 402 is defeated that short message display box suspension, which is shown in current runnable interface, The short message display box will be directly displayed on current runnable interface when going out the short message display box.As shown in figure 3, Fig. 3 is this Short message display box disclosed in inventive embodiments, which suspends, is shown in the interface schematic diagram of current runnable interface.In figure 3, the short message is aobvious Show and show the identifying code short message including identifying code in frame, and the short message display box is shown on current runnable interface.
Further, what is shown in short message display box can be the full content of the target message, can also be only to show The string content for meeting preset rules in the target message can also be the full content for first showing the target message, when aobvious After showing a period of time, just only show that the string content for meeting preset rules in the target message, the embodiment of the present invention are not done It limits.
Holding unit 403, for when detecting the input operation on runnable interface in this prior, the short message being kept to show Frame suspension is shown in the current runnable interface.
In the embodiment of the present invention, when output unit 402 by include target message short message display box suspension include working as After preceding runnable interface, which can operate the short message display box, can also be operated to current runnable interface. For example, inputting the identifying code in short message display box in the identifying code input frame of current runnable interface;The current operation circle of dragging Face makes the current runnable interface scroll up and down;Mouse or finger click any position etc. of the current runnable interface.Therefore, When mobile terminal 400 detects user's input operation on runnable interface in this prior, holding unit 403 still can be protected always Short message display box suspension is held to show on runnable interface in this prior.That is, output unit 402 will include that identifying code is short The short message display box suspension of letter is shown in after current runnable interface, and no matter to the current runnable interface, how to operate by user, protects It holds unit 403 and can control the short message display box and always show on runnable interface in this prior, will not be hidden.
In the embodiment of the present invention, above-mentioned input operation can be clicking operation, slide, word input operation, interface Drag operation etc., the embodiment of the present invention does not limit.
For example, it when user's register account number in a certain networking telephone client of mobile terminal 400, needs to input The phone number that identifying code is inputted with user bound, therefore, after obtaining identifying code when the user clicks, the networking telephone client The acquisition identifying code will be asked and phone number input by user is sent to the clothes corresponding to the networking telephone client The identifying code generated at random will be sent to by business device after server, which receives, obtains identifying code request in the form of short message On mobile terminal 400 bound in the phone number.Therefore, after mobile terminal 400 receives short message, judging unit 401 Will identify whether the short message is identifying code short message according to identifying code rule, if so, output unit 402 will by the short message with The form of short message display box is shown on the networking telephone client end interface that mobile terminal is currently running.Therefore, user Than the opposite short message being input to identifying code precise and high efficiency in the networking telephone client end interface.
As it can be seen that in the mobile terminal described in Fig. 4, which can judge the mesh when receiving target message With the presence or absence of the character string for meeting preset rules in mark short message, if it does, being shown with regard to the short message that output includes the target message Show frame, and short message display box suspension is shown in current runnable interface, which meets preset rules for inputting Character string, after exporting short message display box, when detect on runnable interface in this prior input operation when, keep this short Letter display box suspension is shown in the current runnable interface.Through the embodiment of the present invention, it when identifying identifying code short message, can incite somebody to action Short message display box suspension where the identifying code short message is shown in the current runnable interface for needing to input identifying code, even if to deserving Preceding runnable interface is operated, which remains dispaly state, ensures that user verifies in input in this way When code, it will not be toggled at short message interface and verification interface, ensure the correctness of identifying code input, improve the input of identifying code Efficiency promotes user experience.
Referring to Fig. 5, Fig. 5 is the structural schematic diagram of another mobile terminal disclosed by the embodiments of the present invention.Wherein, Fig. 5 Shown in mobile terminal 400 be to optimize to obtain on the basis of mobile terminal 400 shown in Fig. 4.As shown in figure 5, should Mobile terminal 400 can also include:
Acquiring unit 404 meets preset rules for existing in judging the target message in above-mentioned judging unit 401 When character string, the interface information of 400 current runnable interface of mobile terminal is obtained.
In the embodiment of the present invention, when judging unit 401 judges there is the character for meeting preset rules in the target message When string, acquiring unit 404 can obtain the interface information of its current runnable interface.Wherein, which can be to deserve preceding fortune Corresponding webpage in row interface etc., such as Alipay, Taobao, QQ, PPS, Jingdone district, Baidu, Sina.
As an example it is assumed that user's register account number just on Baidu's webpage, then the interface letter that current runnable interface includes Breath have Baidu mark or the network address corresponding to the current runnable interface include Baidu domain name etc..
In the embodiment of the present invention, above-mentioned judging unit 401 is additionally operable to get current operation circle in above-mentioned acquiring unit 404 When the interface information in face, judge whether the interface information matches with the content of the target message.
In the embodiment of the present invention, after acquiring unit 404 gets the interface information of current runnable interface, this can be obtained The content of target message, then judging unit 401 can judge whether the interface information matches with the content of the target message, that is, sentence Whether whether the current runnable interface that breaks is the character string input interface for meeting preset rules that the target message includes, i.e., be Identifying code input interface.Usually, identifying code short message generally can all indicate the transmission main body of the short message, as Jingdone district server is sent out Give, QQ servers send etc..Therefore, judging unit 401 will judge whether the transmission main body of the target message runs with current The main body at interface is consistent.If so, output unit 402 is with regard to the short message display box that output includes the target message;If it is not, Output unit 402 can not export the short message display box, after can also exporting the short message display box, prompt user to be switched to defeated In the interface for entering identifying code, the embodiment of the present invention does not limit.
As an example it is assumed that user's register account number just on the webpage of a certain networking telephone of mobile phone, when user's filling is tied up Fixed phone number and after clicking and obtaining identifying code, which receives a wechat, enters wechat interface.And at this point, The server of the networking telephone is by the identifying code short message sending to the mobile phone generated at random, and the mobile phone judges that the short message is Identifying code short message, then the mobile phone can obtain the interface information of current runnable interface, as wechat interface.When mobile phone gets this Identifying code short message is sent by the voip server, and therefore, which can judge the interface of the current runnable interface The content of information and the short message mismatches, and therefore, which can export prompt message prompt user and be switched to networking telephone circle Account registration is completed in face to input identifying code in real time.And if user and not entering wechat interface, but this is rested on always The register interface of the networking telephone, then the mobile phone will judge the transmission main body and the current runnable interface of the identifying code short message Interface information be consistent, therefore will directly runnable interface exports the identifying code in this prior in the form of short message display box Short message.
Detection unit 405, the mobile finger for detecting the short message display box input exported for above-mentioned output unit 402 It enables.
In the embodiment of the present invention, move includes the target area of the current runnable interface, that is, is needed the short message The destination locations of display box movement.Therefore, after output unit 402 outputs the short message display box, user can be short by this Letter display box is moved, such as when user choose the short message display box (for the move of short message display box input) it Afterwards, which can be arbitrarily moved to any one position of the current runnable interface by user.
In the embodiment of the present invention, which can be that user has selected the short message display box, and has selected movement It is generated after target area, can also be that user has selected just to generate after the short message display box, the embodiment of the present invention is not It limits.
Mobile unit 406, the move detected for responding above-mentioned detection unit 405, which is shown and is frameed shift It moves to target area.
In the embodiment of the present invention, after detection unit 405 detects the move inputted for the short message display box, Mobile unit 406 will respond the move, which is moved to the target area of the current runnable interface.
In the embodiment of the present invention, after user has selected the short message display box, it is aobvious that mobile unit 406 can control the short message Show the track that frame is slided with user's finger on current runnable interface to move, when user's finger leaves current runnable interface, The short message display box is just moved to the position that the finger leaves the current runnable interface.
For example, as shown in figure 3, when user's long-press short message display box on current runnable interface, detection unit 405 It will detect the move inputted for the short message display box, therefore, which can be according to user's finger Sliding trace movement on mobile terminal screen, and when the mobile terminal screen is left in the finger touch point of user, work as The location of preceding is exactly the destination locations moved required for the short message display box, i.e. target area on the current runnable interface Domain.
In the embodiment of the present invention, above-mentioned detection unit 405 is additionally operable to detect short message display box suspension, and to be shown in this current The display time of runnable interface.
In the embodiment of the present invention, which can also include:
Closing unit 407, for when above-mentioned detection unit 4052 detects that the display time is more than the default display time, Close the short message display box.
In the specific implementation, the default display time can be 3 minutes, or 5 minutes, can also be 10 minutes, this hair Bright embodiment does not limit.After output unit 402 exports the short message display box, detection unit 405 will detect the short message Display box, which suspends, shows the display time of runnable interface in this prior, if the display time has been more than the default display time, such as When effective verification time that the short message includes, the short message display box will be automatically closed in closing unit 407, can prevent in this way The short message verification code is revealed, and ensures privacy of user safety.
In the embodiment of the present invention, which can also include:
Receiving unit 408, the closing for receiving the short message display box input for being directed to the output of above-mentioned output unit 402 refer to It enables.
Above-mentioned closing unit 407 is additionally operable to respond the out code that above-mentioned receiving unit 408 receives, closes the short message Display box.
In the specific implementation, after output unit 402 exports the short message display box, it is aobvious that user can select to close the short message Show frame, that is, click the X buttons in short message display box as shown in Figure 3 upper right side, therefore, receiving unit 408, which is worked as, receives user After the shutoff operation of input, the out code for closing the short message display box can be generated, this will be responded by being then shut off unit 407 The short message display box is directly closed in out code.
In the specific implementation, out code input by user can be run in this prior in short message display box suspension display Display time at interface is less than when budget shows the time and generates.Therefore, the operation of the short message display box is turned off manually in user Grade is higher than the operation grade that the short message display box is automatically closed in the mobile terminal.
For example, also referring to Fig. 3, after mobile terminal 400 receives target message, judging unit 401 is just It can judge whether the target message includes identifying code, if including, acquiring unit 404 will obtain the mobile terminal 400 and work as The interface information of preceding runnable interface, judging unit 401 simultaneously judge whether the current runnable interface is this according to the interface information The identifying code input interface of target message.If the current runnable interface is not the identifying code input interface of the target message, that The mobile terminal 400 can export prompt message to prompt user to switch interface;If the current runnable interface is the mesh The identifying code input interface for marking short message, then the target message is just included the short message in short message display box by output unit 402 Display box, which suspends, to be shown on runnable interface in this prior.Therefore, user can be to giving end display box to execute moving operation, can also Execute shutoff operation.Also, after the short message display box shows runnable interface in this prior, which can be short with reference to this Believe the target message content in display box, correct identifying code inputted in the identifying code input frame below the short message display box, After user, which inputs, completes and click determining, which will be submitted to corresponding service by identifying code input by user Device, to be verified to the identifying code.
As it can be seen that in the mobile terminal described in Fig. 5, which can determine its current runnable interface and the mesh When marking the content matching of short message, just output includes the short message display box of the target message.And output short message display box it Afterwards, user can move the short message display box, can also actively close the short message display box.It not only can ensure The position of the suspended display of short message display box will not block the identifying code input frame of the current runnable interface, it can also be ensured that User completes can have larger operating space after the short message display box is closed in identifying code input.Certainly, the mobile terminal is also The display time of the short message display box can be set, and default display time, the mobile terminal will actively close if more than This short message display box.Identifying code input can not be completed in user in this way and have the case where other things processing, actively closed Include the short message display box of identifying code, to ensure the leakage of user's checking code, improves verification safety.
One of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer read/write memory medium In, the program is when being executed, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (8)

1. a kind of short message display method, which is characterized in that including:
When receiving target message, judge in the target message with the presence or absence of the character string for meeting preset rules;
If there is the character string for meeting preset rules in the target message, the interface letter of the current runnable interface of mobile terminal is obtained It ceases and judges whether the interface information matches with the content of the target message, if the interface information and the target are short The content matching of letter then export include the target message short message display box, if the interface information and the target message Content mismatch, then do not export the short message display box, or reresent user after the output short message display box and be switched to It inputs in the interface of identifying code, wherein the short message display box suspension is shown in current runnable interface, the current runnable interface For inputting the character string for meeting preset rules, the full content of the target message is shown in the short message display box, Or first show the full content of the target message, after showing a period of time, just only shows in the target message and meet in advance If the string content of rule;
When detecting input operation on the current runnable interface and to the operation of the short message display box, institute is kept It states the suspension of short message display box and is shown in the current runnable interface, the operation to short message display box includes that the short message is shown Frame is moved to any one position in current runnable interface target area, and the operation to the current runnable interface includes input institute It states identifying code, the dragging runnable interface, click the runnable interface.
2. according to the method described in claim 1, it is characterized in that, the short message that the output includes the target message is shown After frame, the method further includes:
For the move of short message display box input, the move includes the mesh of the current runnable interface for detection Mark region;
The move is responded, the short message display box is moved to the target area.
3. according to claim 1 or claim 2, which is characterized in that the output includes the short of the target message After believing display box, the method further includes:
Receive the out code for short message display box input;
The out code is responded, the short message display box is closed.
4. according to claim 1 or claim 2, which is characterized in that the output includes the short of the target message After believing display box, the method further includes:
Detect the display time that the short message display box suspension is shown in the current runnable interface;
When the display time being more than the default display time, the short message display box is closed.
5. a kind of mobile terminal, which is characterized in that including:
Judging unit meets preset rules for when receiving target message, judging to whether there is in the target message Character string;
Output unit, for there is the character string for meeting preset rules in judging the target message in the judging unit When, output includes the short message display box of the target message, wherein the short message display box suspension is shown in current operation circle Face, the current runnable interface is for inputting the character string for meeting preset rules, in the short message display box described in display The full content of target message, or first show the full content of the target message, after showing a period of time, just only show Meet the string content of preset rules in the target message;
Acquiring unit, for there is the character string for meeting preset rules in judging the target message in the judging unit When, obtain the interface information of the current runnable interface of mobile terminal;
The judging unit is additionally operable to judge whether the interface information matches with the content of the target message, if so, touching It sends out output unit described and executes the operation that the output includes the short message display box of the target message, if the interface information It mismatches, is not then exported after the short message display box, or the output short message display box again with the content of the target message Prompt user is switched in the interface of input identifying code;
Holding unit, for detect on the current runnable interface input operation and to the short message display box When operation, the short message display box suspension is kept to be shown in the current runnable interface, the operation packet to short message display box It includes the short message display box and is moved to any one position in current runnable interface target area, to the current runnable interface Operation includes the input identifying code, the dragging runnable interface, clicks the runnable interface.
6. mobile terminal according to claim 5, which is characterized in that the mobile terminal further includes:
Detection unit, for detecting the move for short message display box input, the move includes described works as The target area of preceding runnable interface;
The short message display box is moved to the target area by mobile unit for responding the move.
7. according to the mobile terminal described in claim 5 or 6, which is characterized in that the mobile terminal further includes:
Receiving unit, for receiving the out code for short message display box input;
First closing unit closes the short message display box for responding the out code.
8. according to the mobile terminal described in claim 5 or 6, which is characterized in that
The detection unit, when being additionally operable to detect the short message display box suspension and being shown in the display of the current runnable interface Between;
The mobile terminal further includes:
Second closing unit, for when the display time being more than the default display time, closing the short message 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 CN105049607A (en) 2015-11-11
CN105049607B true 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)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512542B (en) * 2015-12-10 2018-09-04 小米科技有限责任公司 Data inputting method and device
CN109040010A (en) 2015-12-31 2018-12-18 华为技术有限公司 A kind of identifying code acquisition methods, device and terminal
CN105792150B (en) * 2016-02-26 2019-03-08 周奇 The judgment method and device of short message verification 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
CN106101451A (en) * 2016-08-18 2016-11-09 中国联合网络通信集团有限公司 SMS processing method, mobile terminal
EP3618347B1 (en) * 2017-05-10 2021-07-21 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
CN114691257A (en) * 2020-12-30 2022-07-01 中兴通讯股份有限公司 Screen display method, terminal and computer readable storage medium
CN113259525A (en) * 2021-05-11 2021-08-13 苏州工业园区服务外包职业学院 Verification code shift display device and method
CN114968003B (en) * 2022-04-20 2023-08-11 中电信数智科技有限公司 Verification code input method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101735613B1 (en) * 2010-07-05 2017-05-24 엘지전자 주식회사 Mobile terminal and operation control method thereof
CN103546877B (en) * 2013-10-30 2018-10-12 上海斐讯数据通信技术有限公司 A kind of method, system and mobile terminal obtaining simultaneously input content code
CN103902740B (en) * 2014-04-22 2017-07-18 锤子科技(北京)有限公司 The staying method and device of short message identifying code
CN104683963A (en) * 2015-02-15 2015-06-03 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN105049607A (en) 2015-11-11

Similar Documents

Publication Publication Date Title
CN105049607B (en) A kind of short message display method and mobile terminal
CN109918892A (en) Verification code generation method, device and storage medium, computer equipment
US20140258986A1 (en) Identifying Implicit Assumptions Associated with a Software Product
CN109040010A (en) A kind of identifying code acquisition methods, device and terminal
US20170083495A1 (en) Method for Modifying Webpage and Apparatus for Modifying Webpage
CN104252479A (en) Method, device and system for processing information
CN103324674B (en) Web page contents choosing method and device
CN108011868A (en) One kind slides verification method and mobile terminal
Chaudhry et al. 2015 Interpretation and Application of International Financial Reporting Standards
US20190146900A1 (en) Method and system for context based testing of software application vulnerabilities
CN110022399B (en) Message display method and device, user terminal and readable storage medium
CN104063657A (en) Method and device for starting private browsing, browser and electronic equipment
CN108804885A (en) Man-machine verification method and device, storage medium and processor
US11099840B2 (en) Adaptation of a web application for use by a mobile device
CN104750805B (en) A kind of information processing method and electronic equipment
US9357388B2 (en) Symbol selection for swipe based authentication
CN114036501A (en) APP detection method, system, device, equipment and storage medium
CN104182479B (en) A kind of method and device handling information
CN107315947A (en) Pay class application management method, device and mobile terminal
CN104281370B (en) A kind of web page windows method for closing and device
CN106249912A (en) A kind of information of mobile terminal input method and mobile terminal
CN106897012A (en) User instruction is recognized and processing method, device
Bradley et al. Assessing the inclusivity of digital interfaces-a proposed method
CN106933666B (en) Method for calling information input program and electronic equipment
CN106548068A (en) Short website information display system and method

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

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.

CP01 Change in the name or title of a patent holder