CN103699369B - A kind of message display method and device of mobile terminal - Google Patents

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

Info

Publication number
CN103699369B
CN103699369B CN201210369783.1A CN201210369783A CN103699369B CN 103699369 B CN103699369 B CN 103699369B CN 201210369783 A CN201210369783 A CN 201210369783A CN 103699369 B CN103699369 B CN 103699369B
Authority
CN
China
Prior art keywords
layer region
suspension layer
mobile terminal
message
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
CN201210369783.1A
Other languages
Chinese (zh)
Other versions
CN103699369A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210369783.1A priority Critical patent/CN103699369B/en
Publication of CN103699369A publication Critical patent/CN103699369A/en
Application granted granted Critical
Publication of CN103699369B publication Critical patent/CN103699369B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

Embodiment of the present invention proposes a kind of message display method and device of mobile terminal.Method includes:The attribute information and suspension layer region that suspension layer region is arranged show trigger condition;Message is shown from network side or the acquisition for mobile terminal;Judge that suspension layer region shows whether trigger condition meets, if so, showing suspension layer region in the top using figure layer of interface of mobile terminal according to the attribute information of suspension layer region, and displaying message is presented in suspension layer region.After embodiment of the present invention, message display region is positioned over to the three-dimensional position on the vision upper layer of specific interface two dimensional surface, it will not occupy any position on the interface two dimensional surface, save user interface space, improve user interface space availability ratio.Embodiment of the present invention can also be applied in various terminals, and can be used with cross-platform cross terminal, the scope of application is very extensive.

Description

A kind of message display method and device of mobile terminal
Technical field
Embodiment of the present invention is related to technical field of information processing, more particularly, to a kind of message exhibition of mobile terminal Show method and apparatus.
Background technology
In the current information age, various information equipments come into being:It is useful for fixed-line telephone, the movement of Tone Via Phone;Be useful for information resources share, processing server and PC;It is useful for the various television sets that video data is shown Etc..These equipment generate all in specific area to solve actual demand.With E-consumer, computer, lead to Letter(3C)Attention has been put into has been integrated to the information equipment of each different field more and more by the arrival of fusion, people In the research utilized, preferably serviced for people with making full use of existing resource equipment.
For existing various mobile terminal devices, the message display in its user interface is exactly one such extensive Using.In the prior art, the general scheme for carrying out message display to user in the application program of mobile terminal device is main Including:For there is the message of specific function range, certain in the two dimensional surface of the specific interface involved by the message fix or Interim position provides prompting message region to the user.For the global effective message in application program, in application program It provides individual fixed position to the user, all such message is shown to concentrate.
However, due in the two dimensional surface of specific interface(No matter fix or interim)Message display region is placed, then Necessarily lead to the region for certain area that the message display region permanently or temporarily occupies in interface, this will make mobile terminal Visible area area in rare interface is further reduced originally in equipment, to waste user interface space, is reduced User interface space availability ratio, but also user interface can be planned and bring difficulty.
In addition, if a certain position in the application carries out concentration displaying to all message, do not have arbitrary Interface carries out user the flexibility of message notifying, therefore the restricted application of the technical solution, is only capable of to of overall importance effective Message reminded, and this scheme can equally occupy visible area area, waste user interface space, reduce use Family interface shape utilization rate.
Invention content
Embodiment of the present invention proposes that a kind of message display method of mobile terminal carries to save user's interface shape High user interface space availability ratio.
Embodiment of the present invention also proposes a kind of message display device of mobile terminal, to save user's interface shape, Improve user interface space availability ratio.
The concrete scheme of embodiment of the present invention is as follows:
A kind of message display method of mobile terminal, which is characterized in that this method includes:
The attribute information and suspension layer region that suspension layer region is arranged show trigger condition;
Message is shown from network side or acquisition for mobile terminal;
Judge that the suspension layer region shows whether trigger condition meets, if so, according to the category of the suspension layer region Property information show suspension layer region using the top of figure layer in interface of mobile terminal, and present in the suspension layer region The displaying message.
A kind of message display device of mobile terminal, the device include setting unit, displaying message retrieval unit and displaying Message display unit, wherein:
Setting unit, attribute information and suspension layer region for suspension layer region to be arranged show trigger condition;
Message retrieval unit is shown, for showing message from network side or acquisition for mobile terminal;
Message display unit is shown, for judging that the suspension layer region shows whether trigger condition meets, if so, root According to the attribute information of the suspension layer region suspension layer region is shown using the top of figure layer in interface of mobile terminal, and The displaying message is presented in the suspension layer region.
It can be seen from the above technical proposal that in embodiments of the present invention, be arranged the attribute information of suspension layer region with And suspension layer region shows trigger condition;Message is shown from network side or acquisition for mobile terminal;Judge that the suspension layer region is aobvious Show whether trigger condition meets, if so, according to the attribute information of the suspension layer region interface of mobile terminal application drawing The top of layer shows suspension layer region, and the displaying message is presented in the suspension layer region.It can be seen that application is originally After invention embodiment, message display region is positioned over to the three-dimensional position on the vision upper layer of specific interface two dimensional surface, because This its will not occupy any position on the interface two dimensional surface, saved user interface space, improved user interface space Utilization rate.
Moreover, embodiment of the present invention can also flexibly show message display region according to specific condition, set at interface Timing considers the position in message display region without independent, therefore also reduces the complexity of interface.In addition, of the invention Message display region can be made to be located at the three-dimensional position on arbitrary interface upper layer in embodiment, therefore can not only carry out of overall importance disappear The prompting of breath is shown, while also having great flexibility, can be directed to specific webpage progress differentiation message and be shown.
Furthermore it is possible to which embodiment of the present invention can be applied in various terminals, this can be used with cross-platform cross terminal Invention embodiment, the scope of application are very extensive.
Description of the drawings
Fig. 1 is the message display method flow chart according to the mobile terminal of embodiment of the present invention;
Fig. 2 is the message display interface schematic diagram according to embodiment of the present invention;
Fig. 3 is the message display interface schematic diagram according to another embodiment of the present invention;
Fig. 4 is the message display device structure chart according to the mobile terminal of embodiment of the present invention.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, the present invention is made below in conjunction with the accompanying drawings further Detailed description.
In embodiments of the present invention, by suspension layer region be placed in user interface the vision upper layer of two dimensional surface three-dimensional Message is carried out at position to show, therefore will not occupy the position on the interface two dimensional surface, and can be according to the spirit of specific condition Appearance living considers suspension layer region, so as to also reduce the complexity of interface in interface without independent Property.
Fig. 1 is the message display method flow chart according to the mobile terminal of embodiment of the present invention.
As shown in Figure 1, that the method comprising the steps of is as follows:
Step 101:The attribute information and suspension layer region that suspension layer region is arranged show trigger condition.
Herein, the attribute information and suspension layer region that can be directed to interface of mobile terminal setting suspension layer region are shown Trigger condition.
For example, mobile terminal may include but be not limited to:Functional mobile phone, smart mobile phone, palm PC, PC (PC), tablet computer or personal digital assistant(PDA), etc..
The attribute information of suspension layer region is used to provide the display properties of suspension layer region, such as on interface of mobile terminal The physical form of superposed layer, size, display location, transparency etc.;Suspension layer region shows trigger condition for judging The suspension layer region is shown under which kind of situation.Suspension layer region is to suspend in the user interface of terminal, that is, is placed in user circle Face is at the three-dimensional position on the vision upper layer of two dimensional surface.
Specifically, the attribute information of suspension layer region may include:The transparence information of suspension layer region, suspension layer region Physical form information, etc. relative to the location information of interface of mobile terminal, superposed layer.It can be based on superposed layer attribute information Setting, in the application program of user interface some relative to display screen possess fixed relative position and not with user circle Superposed layer is placed in the variation in face and the region changed.
Step 102:Message is shown from network side or acquisition for mobile terminal.
Herein, displaying message is the message being finally presented in superposed layer, can be used for issuing the user with prompting function.
Displaying message can be obtained from positioned at the various entities of network side, these entities are including but not limited to various Network element, network server, access server, etc..Displaying message can be pre-set in these network entities, or is based on Specific application environment dynamic generation in these network entities shows message.Alternatively it is also possible to by mobile terminal itself Displaying message is generated in advance in corresponding module or unit, or is based on specific application environment dynamic generation by these modules or unit Show message.
Preferably, the data acquisition interface of suspension layer region can be further pre-set, then by the suspension layer region Displaying message is directly acquired by the data acquisition interface.It can be obtained by data acquisition interface when there is new display message New display message, and show the new information in superposed layer.Alternatively it is also possible to without new display message(Or meet certain condition When)When not flex suspension layer, ability flex suspension layer when having new display message;Or has and newly show message and without exhibition when newly showing message The pattern shown is different, and embodiment of the present invention is to this and is not limited.
Step 103:Judge that suspension layer region shows whether trigger condition meets, if so, according to the suspension layer region Attribute information show suspension layer region using the top of figure layer in interface of mobile terminal, and in the suspension layer region The displaying message is presented.
In embodiments of the present invention, it can be triggered by specific time in any page and show suspension layer region.Such as:It is right In certain message display types related with specific time(Such as use " Night " function using prompting message user), Then once reaching specific time, no matter any interface of the display in the application program in current screen, equal layers on the surface Show the superposed layer to show message in three dimensions.
Embodiment of the present invention can also be triggered by specific time in specific interface and show suspension layer region.Such as:For Certain interfaces need to show to user's progress message in particular point in time or time range(Such as when user's maiden visit is certain When specific interface, when needing prompting message occur that user is prompted or guided), then only in the certain specific times set Show the superposed layer to show message in the three dimensions on the specific interface upper layer.
Embodiment of the present invention can also be triggered by specific webpage at any time.Such as:Certain specific interfaces are needed When carrying out message display within the scope of the permanent or long period(Such as include more hiding advanced work(in certain specific interfaces When energy)As long as then screens switch shown in the three dimensions on the specific interface upper layer to the specific interface superposed layer with Show message.
In one embodiment, setting suspension layer region shows that trigger condition is specifically as follows:Setting displaying message is touched Send out the time.
At this point, judging that suspension layer region shows whether trigger condition meets and is:Judging the displaying message-triggering event is It is no to come.Namely:Judge to show whether message-triggering event is come, if so, according to the attribute information of suspension layer region being existed The top using figure layer of interface of mobile terminal shows suspension layer region, and the displaying is presented in suspension layer region and disappears Breath.
In one embodiment, setting suspension layer region shows that trigger condition is specifically as follows:Setting displaying message is touched Send out the page.
At this point, judging that suspension layer region shows whether trigger condition meets and is:Judge whether current mobile terminal interface is located In the displaying message trigger page.Namely:Judge current mobile terminal interface whether in the displaying message trigger page, such as Fruit is, suspension layer region is shown in the top using figure layer of interface of mobile terminal according to the attribute information of suspension layer region, and And the displaying message is presented in suspension layer region.
In one embodiment, setting suspension layer region shows that trigger condition is specially:When setting displaying message trigger Between and displaying the message trigger page.
At this point, judging that suspension layer region shows whether trigger condition meets and is:Judge when showing message-triggering event, when Whether preceding interface of mobile terminal is in the displaying message trigger page.It is, judging, when showing message-triggering event, to work as Forward Whether dynamic terminal interface is in the displaying message trigger page, if so, according to the attribute information of suspension layer region in mobile terminal The top using figure layer at interface shows suspension layer region, and the displaying message is presented in suspension layer region.
Specifically, the attribute information of setting suspension layer region may include:Be arranged the transparence information of suspension layer region with And location information of the suspension layer region relative to interface of mobile terminal.At this time:
According to the attribute information of suspension layer region suspension layer region is shown in the top using figure layer of interface of mobile terminal Including:According to the suspension layer region relative to interface of mobile terminal location information the interface of mobile terminal application drawing The top of layer determines superposed layer regional location, and the suspension layer region is shown at identified superposed layer regional location, and And the transparency of the suspension layer region is set according to the transparence information of the suspension layer region.
Preferably, the attribute information of suspension layer region is dynamically and adjustable, so as to be based on specifically applying Environmental demand is adjusted correspondingly the displaying attribute of superposed layer.For example, the demand based on user interface, adjusts superposed layer Physics size, the display location relative to screen, transparency, etc..
In the above-mentioned methods, the trigger event and trigger event that can be further arranged for suspension layer region handle page Face;This method further includes:
Judge whether the trigger event of the suspension layer region meets, if so, on interface of mobile terminal described in display Trigger event handles the page.
For example, trigger event can be touch event, click event, terminal shaking event, etc..By setting for outstanding The trigger event and trigger event in floating layer region handle the page, can shake thing there is touch event, click event, terminal When part, triggering shows that trigger event handles the page.
Setting and triggering the relevant technologies described in detail above for suspension layer region, with reference to currently used Android(Andorid)Embodiment of the present invention is described in further detail in operating system.
Android(Android)It is a kind of operating system aimed at designed by handheld apparatus.Android is a kind of open former Beginning code project, by open mobile phone alliance(Open Handset Alliance, OHA)It supports and develops.
It in embodiments of the present invention, can be with for android system:
(1)Pass through calling activity(Activity)One method of component obtains system service method (getSystemService())And incoming parameter WINDOW_SERVICE generates the example of a WindowManager class;
(2)Generate a button(button)The example of class, and setting height is called by the example(setHeight()) With setting width(setWidth())The attributes such as button size are arranged in method;
(3)It is called by the example of WindowManager classes and increases view(addView()), update view configuration (updateViewLayout()), mobile view(removeView())Three methods are added in screen, delete and are updated View;
(4)Calling addView()When method, the button that will create(button)Example is incoming as parameter;
(5)Use click action listener function(setOnClickListener)()Function is that the addition of button examples is clicked Event.
Embodiment of the present invention can be applied among the Android platform of each version.
Exemplarily, embodiment of the present invention can be applied to:A Tongmu(Android Beta), clockwork spring robot (Android 1.0), cup cake(Android 1.5), baked donut(Android 1.6), muffin(Android 2.0/ 2.1), frozen yogurt(Android 2.2), gingerbread(Android 2.3), honeycomb(Android3.0), ice cream sandwich (Android 4.0), jelly beans(Jelly Bean, Android 4.1)Among equal versions.
The specific version of Android platform is enumerated in detail above, it will be appreciated by those of skill in the art that the present invention is real The mode of applying be not limited to it is above-mentioned enumerate version, and can be applicable to other arbitrary versions based on Android software framework Among.
Although those skilled in the art should also be realised that more than using Android platform as example to embodiment of the present invention into Detailed description is gone, this description is only exemplary, is not intended to limit the present invention the protection domain of embodiment.
In fact, embodiment of the present invention can be adapted for arbitrary mobile terminal operating system, including but do not limit to In:Palm OS、Symbian(Saipan)、Windows mobile、Linux、Android(Android)、iPhone(Apple)OS、 Black Berry(Blackberry, blueberry)OS 6.0, Windows Phone series, etc..
Fig. 2 is the message display interface schematic diagram according to embodiment of the present invention;Fig. 3 is according to another embodiment party of the present invention The message display interface schematic diagram of formula.
By Fig. 2 and Fig. 3 as it can be seen that superposed layer(That is arrow meaning region)The arbitrary of user interface of mobile terminal can be appeared in Above the vision of two dimensional surface, that is, it is located at the upper layer three-dimensional position of the random two-dimensional plane of user interface of mobile terminal, therefore Occupancy screen space can be saved, user interface utilization rate is improved.
Based on above-mentioned detailed analysis, embodiment of the present invention also proposed a kind of message display device of mobile terminal.
Fig. 4 is the message display device structure chart according to the mobile terminal of embodiment of the present invention.
As shown in figure 4, the device includes setting unit 401, displaying message retrieval unit 402 and displaying message display unit 403, wherein:
Setting unit 401, attribute information and suspension layer region for suspension layer region to be arranged show trigger condition;
Message retrieval unit 402 is shown, for showing message from network side or acquisition for mobile terminal;
Show message display unit 403, for judging that the suspension layer region shows whether trigger condition meets, if It is that suspension layer region is shown in the top using figure layer of interface of mobile terminal according to the attribute information of the suspension layer region, And the displaying message is presented in the suspension layer region.
In one embodiment, setting unit 401, transparence information and superposed layer for suspension layer region to be arranged Location information of the region relative to interface of mobile terminal;
Show message display unit 403, for according to the attribute information of suspension layer region interface of mobile terminal application The top of figure layer shows that suspension layer region includes:Existed relative to the location information of interface of mobile terminal according to the suspension layer region The top using figure layer of the interface of mobile terminal determines superposed layer regional location, and in identified superposed layer regional location Place shows the suspension layer region, and the transparent of the suspension layer region is arranged according to the transparence information of the suspension layer region Degree.
Wherein:The attribute information of suspension layer region is used to provide the display properties of suspension layer region, such as in mobile terminal The physical form of superposed layer on interface, size, display location, transparency etc.;Suspension layer region shows that trigger condition is used for Judgement shows the suspension layer region under which kind of situation.Suspension layer region is to suspend in the user interface of terminal, that is, is placed in User interface is at the three-dimensional position on the vision upper layer of two dimensional surface.
Specifically, the attribute information of suspension layer region may include:The transparence information of suspension layer region, suspension layer region Physical form information, etc. relative to the location information of interface of mobile terminal, superposed layer.It can be based on superposed layer attribute information Setting, in the application program of user interface some relative to display screen possess fixed relative position and not with user circle Superposed layer is placed in the variation in face and the region changed.
In embodiments of the present invention, it can be triggered by specific time in any page and show suspension layer region.Such as:It is right In certain message display types related with specific time(Such as use " Night " function using prompting message user), Then once reaching specific time, no matter any interface of the display in the application program in current screen, equal layers on the surface Show the superposed layer to show message in three dimensions.
Embodiment of the present invention can also be triggered by specific time in specific interface and show suspension layer region.Such as:For Certain interfaces need to show to user's progress message in particular point in time or time range(Such as when user's maiden visit is certain When specific interface, when needing prompting message occur that user is prompted or guided), then only in the certain specific times set Show the superposed layer to show message in the three dimensions on the specific interface upper layer.
Embodiment of the present invention can also be triggered by specific webpage at any time.Such as:Certain specific interfaces are needed When carrying out message display within the scope of the permanent or long period(Such as include more hiding advanced work(in certain specific interfaces When energy)As long as then screens switch shown in the three dimensions on the specific interface upper layer to the specific interface superposed layer with Show message.
In one embodiment, setting unit 401, for displaying message-triggering event to be arranged;
Show message display unit 403, for judging whether the displaying message-triggering event is come, if so, according to The attribute information of the suspension layer region shows suspension layer region in the top using figure layer of interface of mobile terminal, and in institute It states and the displaying message is presented in suspension layer region.
In one embodiment, setting unit 401, for the displaying message trigger page to be arranged;
Message display unit 403 is shown, for judging whether current mobile terminal interface is in the displaying message trigger The page hangs if so, being shown in the top using figure layer of interface of mobile terminal according to the attribute information of the suspension layer region Floating layer region, and the displaying message is presented in the suspension layer region.
In one embodiment, setting unit 401, for displaying message-triggering event and displaying message trigger page to be arranged Face;
Message display unit 403 is shown, for judging the current mobile terminal interface in the displaying message-triggering event Whether the displaying message trigger page is in, if so, according to the attribute information of the suspension layer region in mobile terminal circle The top using figure layer in face shows suspension layer region, and the displaying message is presented in the suspension layer region.
Preferably, setting unit 401 are further used for setting the trigger event and triggering thing for the suspension layer region Part handles the page;
It shows message display unit 403, is further used for judging whether the trigger event of the suspension layer region meets, such as Fruit is that the trigger event processing page is shown on interface of mobile terminal.
In one embodiment, setting unit 401, for passing through activity(Activity)The acquisition system service of component Method(getSystemService)Generate window management(WindowManager)The example of class;Generate button(Button)Class Example, and according to the setting method of the button class example be arranged button attribute;By the example of the window management class with View is added in interface in family(View), and passed the example of the button class as parameter during adding the view Enter.
Preferably, setting unit 401 are further used for using click action listener function(SetOnClickListener) Click event for the suspension layer region is set and clicks the event handling page;
It shows message display unit 403, is further used for judging whether the click event of the suspension layer region meets, such as Fruit is that the click event handling page is shown on interface of mobile terminal.
In one embodiment, setting unit 401 are further used for that the data acquisition interface of suspension layer region is arranged;
It shows message retrieval unit 402, displaying is obtained by the data acquisition interface for enabling the suspension layer region Message.
Fig. 4 shown devices can be integrated into the hardware entities of various communication networks.For example, can be by mobile terminal Message display device be integrated into:Functional mobile phone, smart mobile phone, palm PC, PC(PC), tablet computer or a number Word assistant(PDA), etc. among equipment.
Indeed, it is possible to which the message for the mobile terminal that embodiment of the present invention is proposed is embodied by diversified forms Show device.For example, the application programming interfaces of certain specification can be followed, the message display device of mobile terminal is written as pacifying The plug-in card program being attached in mobile terminal can also be encapsulated as application program so that user voluntarily downloads use.When writing For plug-in card program when, a variety of card formats such as ocx, dll, cab can be implemented as.Can also by Flash plug-in units, The particular techniques such as RealPlayer plug-in units, MMS plug-in units, MIDI staffs plug-in unit, ActiveX plug-in units implement embodiment party of the present invention The downloading task distributor that formula is proposed.
The mobile terminal that the storing mode of instruction or instruction set storage is proposed embodiment of the present invention can be passed through Message display method is stored on various storage mediums.These storage mediums include but is not limited to:Floppy disk, CD, DVD, Hard disk, flash memory, USB flash disk, CF cards, SD card, mmc card, SM cards, memory stick(Memory Stick), xD cards etc..
Furthermore it is also possible to be applied to the message display method for the mobile terminal that embodiment of the present invention is proposed based on sudden strain of a muscle It deposits(Nand flash)Storage medium in, such as USB flash disk, CF cards, SD card, SDHC cards, mmc card, SM cards, memory stick, xD cards etc..
In conclusion in embodiments of the present invention, attribute information and the suspension layer region that suspension layer region is arranged are aobvious Show trigger condition;Message is shown from network side or acquisition for mobile terminal;Judge whether the suspension layer region shows trigger condition Meet, is hanged if so, being shown in the top using figure layer of interface of mobile terminal according to the attribute information of the suspension layer region Floating layer region, and the displaying message is presented in the suspension layer region.It can be seen that using embodiment of the present invention it Afterwards, message display region is positioned over to the three-dimensional position on the vision upper layer of specific interface two dimensional surface, therefore it will not occupy this Any position on the two dimensional surface of interface, has saved user interface space, improves user interface space availability ratio.
Moreover, embodiment of the present invention message display region can also flexibly occur according to specific condition, at interface Consider the position in message display region without independent when design, therefore also reduces the complexity of interface.In addition, this hair Message display region can be made to be located at the three-dimensional position on arbitrary interface upper layer in bright embodiment, therefore can not only be carried out of overall importance The prompting of message is shown, while also having great flexibility, can be directed to specific webpage progress differentiation message and be shown.
Furthermore it is possible to which embodiment of the present invention can be applied in various terminals, this can be used with cross-platform cross terminal Invention embodiment, the scope of application are very extensive.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent replacement, improvement and so on should be included in the protection of the present invention Within the scope of.

Claims (12)

1. a kind of message display method of mobile terminal, which is characterized in that this method includes:
The attribute information and suspension layer region that suspension layer region is arranged show trigger condition;
Message is shown from network side or acquisition for mobile terminal;
Judge that the suspension layer region shows whether trigger condition meets, if so, believing according to the attribute of the suspension layer region It ceases and shows suspension layer region in the top using figure layer of interface of mobile terminal, and in the suspension layer region described in presentation Show that message, the suspension layer region are placed in three-dimensional position of the interface of mobile terminal in the vision upper layer three dimensions of two dimensional surface Set place;
The setting suspension layer region shows that trigger condition is:Setting displaying message-triggering event;The judgement suspension layer region Whether display trigger condition, which meets, is:Judge whether the displaying message-triggering event is come;Or
The setting suspension layer region shows that trigger condition is:The setting displaying message trigger page;The judgement suspension layer region Whether display trigger condition, which meets, is:Judge whether current mobile terminal interface is in the displaying message trigger page;Or
The setting suspension layer region shows that trigger condition is:Setting displaying message-triggering event and the displaying message trigger page; It is described to judge that suspension layer region shows whether trigger condition meets and is:Judge, in the displaying message-triggering event, to work as Forward Whether dynamic terminal interface is in the displaying message trigger page.
2. the message display method of mobile terminal according to claim 1, which is characterized in that the setting suspension layer region Attribute information include:The position of the transparence information and suspension layer region of suspension layer region relative to interface of mobile terminal is set Confidence ceases;
The attribute information according to suspension layer region shows suspension layer region in the top using figure layer of interface of mobile terminal Including:According to the suspension layer region relative to interface of mobile terminal location information the interface of mobile terminal application drawing The top of layer determines superposed layer regional location, and the suspension layer region is shown at identified superposed layer regional location, and And the transparency of the suspension layer region is set according to the transparence information of the suspension layer region.
3. the message display method of mobile terminal according to claim 1, which is characterized in that further setting is for described The trigger event and trigger event of suspension layer region handle the page;This method further includes:
Judge whether the trigger event of the suspension layer region meets, if so, showing the triggering on interface of mobile terminal The event handling page.
4. the message display method of mobile terminal according to claim 1, which is characterized in that the setting suspension layer region Attribute information include:
Window management is generated by the acquisition system service method (getSystemService) of movable (Activity) component (WindowManager) example of class;
The example of button (Button) class is generated, and button attribute is arranged according to the setting method of the button class example;
View (View) is added in the user interface by the example of the window management class, and in the process for adding the view The middle example using the button class is passed to as parameter.
5. the message display method of mobile terminal according to claim 4, which is characterized in that this method further comprises: Using click action listener function (SetOnClickListener) be arranged for the suspension layer region click event and Click the event handling page;This method further includes:
Judge whether the click event of the suspension layer region meets, if so, showing the click on interface of mobile terminal The event handling page.
6. the message display method of mobile terminal according to claim 1, which is characterized in that this method further comprises: The data acquisition interface of suspension layer region is set;It is described to be from network side or acquisition for mobile terminal displaying message:The superposed layer area Domain shows message by the data acquisition interface from network side or acquisition for mobile terminal.
7. a kind of message display device of mobile terminal, which is characterized in that the device includes setting unit, displaying message acquisition list Member and displaying message display unit, wherein:
Setting unit, attribute information and suspension layer region for suspension layer region to be arranged show trigger condition;
Message retrieval unit is shown, for showing message from network side or acquisition for mobile terminal;
Message display unit is shown, for judging that the suspension layer region shows whether trigger condition meets, if so, according to institute The attribute information for stating suspension layer region shows suspension layer region in the top using figure layer of interface of mobile terminal, and described Be presented the displaying message in suspension layer region, the suspension layer region be placed in interface of mobile terminal two dimensional surface visually At three-dimensional position in layer three dimensions;
The setting unit setting suspension layer region shows that trigger condition is:Setting displaying message-triggering event;The displaying disappears Breath display unit judges that suspension layer region shows whether trigger condition meets and is:Judge whether the displaying message-triggering event comes It arrives;Or
The setting unit setting suspension layer region shows that trigger condition is:The setting displaying message trigger page;The displaying disappears Breath display unit judges that suspension layer region shows whether trigger condition meets and is:Judge whether current mobile terminal interface is in institute State the displaying message trigger page;Or
The setting unit setting suspension layer region shows that trigger condition is:Setting displaying message-triggering event and displaying message are touched Send out the page;The displaying message display unit judges that suspension layer region shows whether trigger condition meets and is:Judge in the exhibition When showing message-triggering event, whether current mobile terminal interface is in the displaying message trigger page.
8. the message display device of mobile terminal according to claim 7, which is characterized in that
Setting unit, the transparence information and suspension layer region for suspension layer region to be arranged are relative to interface of mobile terminal Location information;
Show message display unit, for according to the attribute information of suspension layer region in interface of mobile terminal using figure layer Side shows that suspension layer region includes:According to the suspension layer region relative to interface of mobile terminal location information in the movement The top using figure layer of terminal interface determines superposed layer regional location, and shows institute at identified superposed layer regional location Suspension layer region is stated, and the transparency of the suspension layer region is set according to the transparence information of the suspension layer region.
9. the message display device of mobile terminal according to claim 7, which is characterized in that setting unit is further used In setting the page is handled for the trigger event and trigger event of the suspension layer region;
It shows message display unit, is further used for judging whether the trigger event of the suspension layer region meets, if so, The trigger event processing page is shown on interface of mobile terminal.
10. the message display device of mobile terminal according to claim 7, which is characterized in that
Setting unit, it is raw for the acquisition system service method (getSystemService) by movable (Activity) component At the example of window management (WindowManager) class;The example of button (Button) class is generated, and according to the button class example Setting method be arranged button attribute;View (View) is added in the user interface by the example of the window management class, and The example of the button class is passed to as parameter during adding the view.
11. the message display device of mobile terminal according to claim 10, which is characterized in that
Setting unit is further used for being arranged for described outstanding using click action listener function (SetOnClickListener) The click event and the click event handling page in floating layer region;
It shows message display unit, is further used for judging whether the click event of the suspension layer region meets, if so, The click event handling page is shown on interface of mobile terminal.
12. the message display device of mobile terminal according to claim 8, which is characterized in that setting unit is further used In the data acquisition interface of setting suspension layer region;
Show message retrieval unit, it is whole from network side or movement by the data acquisition interface for enabling the suspension layer region End obtains displaying message.
CN201210369783.1A 2012-09-27 2012-09-27 A kind of message display method and device of mobile terminal Active CN103699369B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210369783.1A CN103699369B (en) 2012-09-27 2012-09-27 A kind of message display method and device of mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210369783.1A CN103699369B (en) 2012-09-27 2012-09-27 A kind of message display method and device of mobile terminal

Publications (2)

Publication Number Publication Date
CN103699369A CN103699369A (en) 2014-04-02
CN103699369B true CN103699369B (en) 2018-09-28

Family

ID=50360909

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210369783.1A Active CN103699369B (en) 2012-09-27 2012-09-27 A kind of message display method and device of mobile terminal

Country Status (1)

Country Link
CN (1) CN103699369B (en)

Families Citing this family (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105094789A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Data exchanging method and device
CN104049847A (en) * 2014-06-30 2014-09-17 宇龙计算机通信科技(深圳)有限公司 Information prompt method and system of mobile terminal
CN105446585B (en) * 2014-08-29 2019-03-15 优视科技有限公司 A kind of Android intelligent terminal browser image display method and device
CN105447049B (en) * 2014-09-02 2021-08-10 中国移动通信集团公司 Message display method and device and terminal
CN105634909B (en) * 2014-10-29 2020-01-14 腾讯科技(深圳)有限公司 Message display method and message display device
CN105657557A (en) * 2014-11-12 2016-06-08 Tcl集团股份有限公司 Video playing control method and system based on smart television
CN105988699A (en) * 2015-02-10 2016-10-05 阿里巴巴集团控股有限公司 Method and device for displaying information on terminal screen
CN105224277A (en) * 2015-11-13 2016-01-06 韩春丰 Clock display method and device
CN106254212B (en) * 2015-12-04 2019-12-06 五八同城信息技术有限公司 Floating layer message display method and device
CN107222382A (en) * 2016-03-22 2017-09-29 阿里巴巴集团控股有限公司 A kind of method and device of presentation of information
CN106055203A (en) * 2016-05-27 2016-10-26 努比亚技术有限公司 Notification message floating display method and device, and mobile terminal
CN107656935B (en) * 2016-07-25 2021-04-16 腾讯科技(深圳)有限公司 Webpage display method and device
CN106775662B (en) * 2016-11-29 2021-01-01 北京小米移动软件有限公司 Display method and device of push message
CN106843498B (en) * 2017-02-24 2020-05-22 网易(杭州)网络有限公司 Dynamic interface interaction method and device based on virtual reality
CN108632129B (en) * 2017-03-15 2021-07-02 阿里巴巴集团控股有限公司 Message prompting method, message display method and related device
CN107193542B (en) * 2017-03-30 2022-06-14 腾讯科技(深圳)有限公司 Information display method and device
CN108874478A (en) * 2017-05-12 2018-11-23 武汉斗鱼网络科技有限公司 It suspends and shows method, storage medium, electronic equipment and the system of self-defined information
CN107291452B (en) * 2017-05-26 2021-01-15 晶赞广告(上海)有限公司 Display information awakening method and device, computer readable storage medium and terminal
CN108564402B (en) * 2018-03-29 2020-09-04 北京微播视界科技有限公司 Information display and analysis method and device and information transmission system
CN109947322A (en) * 2019-03-19 2019-06-28 刘芳芳 Inventory management method and electronic equipment
CN111324347B (en) * 2020-02-06 2023-08-18 北京字节跳动网络技术有限公司 Component construction method, device and system, page generation method, device and medium
CN114489445B (en) * 2022-02-11 2024-03-19 Tcl通讯科技(成都)有限公司 Screen adjustment method and device, intelligent equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950245A (en) * 2010-09-29 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Information display method and system for mobile terminal and mobile terminal
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8499254B2 (en) * 2008-10-27 2013-07-30 Microsoft Corporation Surfacing and management of window-specific controls

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101950245A (en) * 2010-09-29 2011-01-19 宇龙计算机通信科技(深圳)有限公司 Information display method and system for mobile terminal and mobile terminal
CN102156615A (en) * 2011-04-01 2011-08-17 奇智软件(北京)有限公司 Suspension window displaying method and device

Also Published As

Publication number Publication date
CN103699369A (en) 2014-04-02

Similar Documents

Publication Publication Date Title
CN103699369B (en) A kind of message display method and device of mobile terminal
CN106354451A (en) Method for operating electronic device, and electronic device
US20170041272A1 (en) Electronic device and method for transmitting and receiving content
CN106293055A (en) Electronic equipment and the method being used for providing its sense of touch to feed back
CN108369437A (en) Electronic device including curved displays
CN105900051A (en) Electronic device and method for displaying event in virtual reality mode
CN105389076A (en) METHOD OF PROVIDING NOTIFICATION BY ELECTRONIC DEVICE and ELECTRONIC DEVICE
CN107665485A (en) For showing the electronic installation and computer readable recording medium storing program for performing of Drawing Object
CN106055190A (en) Apparatus and method for providing information via portion of display
CN107037966A (en) Sense the electronic equipment and method of operating an electronic device of the pressure of input
CN107016950A (en) Method of operating an electronic device and the electronic equipment for supporting this method
CN106372102A (en) Electronic device and method for managing object in folder on electronic device
CN108700995A (en) Electronic equipment and for switch and be aligned its application method
CN107548486A (en) For providing the electronic installation and its method of quick user interface
CN106293454A (en) Method and electronic installation for singlehanded user interface
CN106168876A (en) For providing method and the electronic equipment of user interface
CN104683591A (en) Message disturbance-free method based on mobile terminal and mobile terminal using method
CN108322593A (en) Application icon dynamic update display methods, terminal and computer readable storage medium
CN105446611A (en) Device for handling touch input and method thereof
CN106228511A (en) Electronic installation and the method being used for producing image file in an electronic
CN108040167A (en) The method that limiting terminal uses
CN105426069A (en) Method And Apparatus For Generating Preview Data
CN109756416A (en) For the message prompt method of instant messaging, device and storage medium
CN103238131A (en) Display device, display method and program
CN106445373A (en) Method and electronic device for processing user input

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant