CN106528120A - Notification message display method and device - Google Patents
Notification message display method and device Download PDFInfo
- Publication number
- CN106528120A CN106528120A CN201610945819.4A CN201610945819A CN106528120A CN 106528120 A CN106528120 A CN 106528120A CN 201610945819 A CN201610945819 A CN 201610945819A CN 106528120 A CN106528120 A CN 106528120A
- Authority
- CN
- China
- Prior art keywords
- notification message
- transport controls
- dynamic resource
- target
- mobile terminal
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a notification message display method, and is used for dynamically displaying corresponding contents of a notification message. The method provided by the embodiment comprises the steps of receiving the notification message; detecting whether a target file path exits in the notification message or not; if the target file path exits in the notification message, obtaining dynamic resources corresponding to the notification message according to the target file path; reconstructing a transmissible control in the notification message according to the dynamic resources, and obtaining a target transmissible control; and displaying the dynamic resources on the preset interface of a mobile terminal by using the target transmissible control. The embodiment of the invention also provides a notification message display device, which is used for dynamically displaying the corresponding contents of the notification message, so that the visual perception of the user is improved; and meanwhile, the notification message can be fast and intuitively transmitted to the user.
Description
Technical field
The present invention relates to technical field of mobile terminals, more particularly to a kind of display methods and device of notification message.
Background technology
With the fast development of electronic technology, the function of mobile terminal is increasingly enriched, and installable application is also increasingly
It is many so that dependence more and more higher of the people to mobile terminal.
During using mobile terminal, it may appear that various from the logical of the various applications such as wechat, note, mail
Know that the mobile terminals such as message, mobile phone can provide informing mechanism, user can enter notification message pair by drop-down menu
The application answered is checked, and for the higher notification message of priority, existing mobile terminal applies other forms
Notice, such as suspend and notify, i.e., directly eject a window to show the corresponding information content in current interface, it is logical so as to suspend
Know and full out user can be presented to by the content of notification message preposition, and will not interrupt the current operation of user, allow user
Optionally can be operated.
However, for a user, either for drop-down menu checks message still for suspension notice checks message,
Existing notification message can allow for the content of mobile terminal displaying more to be limited to, and only allows to show word, static images etc.
Related content, it is possible to provide information it is also less.It follows that above-mentioned display mode causes the homogeneity of display content very tight
Weight, and for different notification messages, its information content is not quite similar, if display mode is more consistent, cannot be to use
Information as much as possible also cannot quickly and be vivo presented to user with good visual experience by family.
In sum, the display mode that a kind of method changes existing notification message can be provided so that can be as far as possible
Intuitively represent more information, to improve Consumer's Experience.
The content of the invention
The display methods and device of a kind of notification message are embodiments provided, for Dynamic Display notification message
Corresponding content, to improve while user's visual experience, quickly and intuitively transmit notification message to user.
In view of this, first aspect present invention provides a kind of display methods of notification message, is applied to mobile terminal, can wrap
Include:
Receive notification message;
Whether there is file destination path in detection notice message;
If existing, the corresponding dynamic resource of notification message is obtained according to file destination path;
According to dynamic resource rebuild in notification message can Transport Controls, obtaining target can Transport Controls;
Using target can Transport Controls show dynamic resource on the default interface of mobile terminal.
With reference to the embodiment of the present invention in a first aspect, the first embodiment of first aspect in the embodiment of the present invention
In, according to dynamic resource rebuild in notification message can Transport Controls obtain target can Transport Controls include:
Parsing notification message in can Transport Controls building mode;
According to dynamic resource and building mode rebuild can Transport Controls, obtaining target can Transport Controls.
With reference to the first embodiment of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention
In second embodiment, according to dynamic resource and building mode rebuild in notification message can Transport Controls, obtain mesh
Mark can Transport Controls include:
If building mode is first object building mode, according to dynamic resource can Transport Controls be substituted for it is corresponding dynamic
State figure control or video control, obtaining target can Transport Controls.
With reference to the first embodiment of the first aspect of the embodiment of the present invention, in the first aspect of the embodiment of the present invention
In the third embodiment, according to dynamic resource and building mode rebuild in notification message can Transport Controls, obtain mesh
Mark can Transport Controls include:
If building mode is the second target building mode, picture control that can be in Transport Controls is replaced according to dynamic resource
Change corresponding Dynamic Graph control or video control into, obtain target can Transport Controls, picture control can be in Transport Controls to occupy
The control of target location.
With reference to the embodiment of the present invention in a first aspect, the first embodiment of embodiment of the present invention first aspect is to the 3rd
Any one in embodiment is planted, in the 4th kind of embodiment of the first aspect of the embodiment of the present invention, target is being utilized
Can be before Transport Controls show dynamic resource on the default interface of mobile terminal, the method also includes:
Obtain the configuration parameter of mobile terminal;
The corresponding parameter of dynamic resource is determined according to configuration parameter;
Using correspondence parameter adjustment dynamic resource.
Second aspect present invention provides a kind of display device of notification message, is applied to mobile terminal, it may include:
Receiver module, for receiving notification message;
Detection module, for whether there is file destination path in detection notice message;
First acquisition module, for when there is file destination path, then obtaining notice according to file destination path and disappearing
Cease corresponding dynamic resource;
Build module, for according to dynamic resource rebuild in notification message can Transport Controls, obtaining target can pass
Defeated control;
Display module, for using target can Transport Controls show dynamic resource on the default interface of mobile terminal.
With reference to the second aspect of the embodiment of the present invention, in the first embodiment of the second aspect of the embodiment of the present invention
In, building module includes:
Resolution unit, for parse in notification message can Transport Controls building mode;
Construction unit, for according to dynamic resource and building mode rebuild can Transport Controls, obtaining target can transmit
Control.
With reference to the first embodiment of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention
In second embodiment, construction unit, specifically for:
When building mode be first object building mode when, then according to dynamic resource can Transport Controls be substituted for it is corresponding
Dynamic Graph control or video control, obtaining target can Transport Controls.
With reference to the first embodiment of the second aspect of the embodiment of the present invention, in the second aspect of the embodiment of the present invention
In the third embodiment, construction unit, also particularly useful for:
When building mode is the second target building mode, then according to dynamic resource by can be in Transport Controls picture control
Be substituted for corresponding Dynamic Graph control or video control, obtain target can Transport Controls, picture control is for occupy can Transport Controls
The control of middle target location.
With reference to the second aspect of the embodiment of the present invention, the first embodiment of embodiment of the present invention second aspect to the 3rd
Any one in embodiment is planted, in the 4th kind of embodiment of the second aspect of the embodiment of the present invention, device also includes:
Second acquisition module, for obtaining the configuration parameter of mobile terminal;
Determining module, for the corresponding parameter of dynamic resource is determined according to configuration parameter;
Adjusting module, for utilizing correspondence parameter adjustment dynamic resource.
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the present embodiment, by the corresponding dynamic resource of notification message is shown on the default interface of mobile terminal, overcome
Notification message only showed the defect of the related contents such as word, static images originally, was conducive to mobile terminal according to dynamic resource
Intuitively and vivo represent notification message content to be showed, and be supplied to the more information for referring to of user, simultaneously as
Different notification messages can be to there is different dynamic resources, so as to also effectively prevent the display content of different notification messages
Homogeneous problem.
Description of the drawings
Fig. 1 is display methods one embodiment schematic diagram of notification message in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of display methods of notification message in the embodiment of the present invention;
Fig. 3 is another embodiment schematic diagram of display methods of notification message in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of display methods of notification message in the embodiment of the present invention;
Fig. 5 is display device one embodiment schematic diagram of notification message in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of display device of notification message in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of display device of notification message in the embodiment of the present invention.
Specific embodiment
The display methods and device of a kind of notification message are embodiments provided, for Dynamic Display notification message
Corresponding content, to improve while user's visual experience, quickly and intuitively transmit notification message to user.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment obtained under the premise of creative work is not made by member, should all belong to the model of present invention protection
Enclose.
Term " first ", " second ", " the 3rd " in description and claims of this specification and above-mentioned accompanying drawing, "
Four " etc.(If there is)It is for distinguishing similar object, without being used to describe specific order or precedence.Should manage
The data that solution is so used can be exchanged in the appropriate case, so that the embodiments described herein can be with except illustrating here
Or the order beyond the content of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that
Covering is non-exclusive to be included, and for example, process, method, system, product or the equipment for containing series of steps or unit need not be limited
In those steps or unit for clearly listing, but may include clearly not list or for these processes, method, product
Other intrinsic steps of product or equipment or unit.
In order to be best understood from a kind of display methods of notification message disclosed in the embodiment of the present invention, first to the embodiment of the present invention
Applicable mobile terminal is described.Mobile terminal described by the embodiment of the present invention can include it is any possess display screen and
Communication and the equipment of store function, for example:The smart machines such as panel computer, mobile phone, the mobile terminal can be provided with including such as
Lower operating system:Android, Linux, IOS, Windows etc., mobile terminal can be further based on the operating system installed
Some application programs are installed, the application program can be the system application pre-installed before mobile terminal dispatches from the factory, such as mailbox application, set
Application, music application, browser application, the third-party application of take pictures application etc., or user oneself installation are put, such as QQ should
With, wechat application, Alipay application, microblogging application etc., specifically do not limit herein.
For ease of understanding, below the idiographic flow in the embodiment of the present invention is described, refers to Fig. 1, the present invention is real
The display methods one embodiment for applying notification message in example includes:
101st, receive notification message;
In the present embodiment, mobile terminal can receive notification message, and the notification message can be included but is not limited to by applying
Upgrading message, using real-time messages, application message etc..
Specifically, mobile terminal can include application end and system end, application end upon receiving the notification message, Ke Yiyi
Notification message is processed accordingly according to the design of application developer, i.e., build when to system end sending out notice message and can pass
Defeated control and corresponding file path, so that notification message can be shown accordingly via system end.
102nd, whether there is file destination path in detection notice message, if so, then execution step 103, if it is not, then performing
Step 106;
In the present embodiment, after mobile terminal receives notification message, can be with literary with the presence or absence of target in detection notice message
Part path.
Specifically, after mobile terminal receives notification message, notification message can be parsed via system end, with
File destination path is inquired about in notification message, during the file destination path may be used to indicate notification message, file destination exists
The storage location of mobile terminal, for example, the storage location of correspondence Tengxun Video Applications can be:SD card Android data
Com.tencent.qqlive files videos, so as to pass through the form in such as this document path, can be with detection notice message
Whether file destination path.
103rd, the corresponding dynamic resource of notification message is obtained according to file destination path;
In the present embodiment, if there is file destination path in detecting notification message, can be according to file destination path
Obtain the corresponding dynamic resource of notification message.
Specifically, in order to reduce the capacity of notification message, the corresponding dynamic resource of notification message can be carried out down by application end
It is stored in after load in the corresponding file destination in file destination path, exist in notification message target text so as to detects in system end
Behind part path, corresponding file destination can be found according to file destination path, it is possible to notice is obtained in file destination and is disappeared
Cease corresponding dynamic resource.
In the present embodiment, the dynamic resource can be GIF pictures or video, can be with the related content pair in notification message
Should, for example, it is assumed that notice of the notification message for rainstorm weather, then the dynamic resource can be dynamic with GIF made by heavy rain picture
Figure, or the small video with rainstorm weather as background, can fully and intuitively pass on the main contents of notification message.
104th, according to dynamic resource rebuild in notification message can Transport Controls, obtaining target can Transport Controls;
In the present embodiment, obtained after the corresponding dynamic resource of notification message according to file destination path, can be according to dynamic
Resource rebuild in notification message can Transport Controls, obtaining target can Transport Controls.
Specifically, in notification message can Transport Controls structure carried out by application end obtain, this can Transport Controls can prop up
The display of word, static images in mobile terminal is held, but is not suitable for dynamic resource, then system end is needed according to dynamic resource pair
In notification message can Transport Controls re-start structure, obtain target can Transport Controls, with support dynamic resource it is mobile eventually
The display at end.In actual applications, as dynamic resource can be GIF pictures, or video, then target can transmit control
Part should then support the broadcasting of GIF pictures or video.
105th, using target can Transport Controls show dynamic resource on the default interface of mobile terminal;
In the present embodiment, Transport Controls can obtain target and can transmit in notification message is rebuild according to dynamic resource
After control, it is possible to use target can Transport Controls show dynamic resource on the default interface of mobile terminal.
Specifically, system end to can Transport Controls rebuild obtain target can be after Transport Controls, dynamic resource can be with
Obtain supporting to show, then according to the priority height of notification message, the corresponding dynamic resource of notification message can be caused outstanding
Shown in floating notice or informing.In actual applications, if dynamic resource is shown in the notice that suspends, then in user couple
Suspension notice carry out closing or enter application etc. is corresponding operate before, dynamic resource once can be played or repeatedly
Loop play, if dynamic resource is shown in informing, before user enters the corresponding notification message of informing click, phase
The notification message answered can in informing static state display, to reduce the power consumption of mobile terminal, and be conducive to avoiding in informing
In cause the inadaptable of eyes of user due to the display of excessive dynamic resource, and work as user and click in informing accordingly
During notification message, corresponding notification message once can also be played or multiple loop play, can be according to the reality of mobile terminal
Border arranges condition and performs corresponding operation, does not specifically limit herein.
Further, after the corresponding dynamic resource of notification message is shown on the default interface of mobile terminal, if this is default
There is default triggering command on interface, then can enter in the corresponding application of the notification message, to check notification message in detail
Particular content, it is also possible to closed according to default triggering command or delete the notification message, concrete operations can be according to mobile terminal
Facilities are performed, and are not limited herein.
106th, other flow processs are performed.
In the present embodiment, if there is no file destination path in detecting notification message, mean the notification message not
Need to carry out Dynamic Display, then can not perform other operations so that mobile terminal can show notice according to existing rule
Message.
In the present embodiment, when notification message has file destination path, can obtain corresponding according to file destination path
Dynamic resource, it is possible in an announcement message can Transport Controls rebuild obtain target can be after Transport Controls, using should
Target can Transport Controls the corresponding dynamic resource of notification message is shown on the default interface of mobile terminal, so as to overcome notice
Message only showed word, the defect of the related content such as static images originally, be conducive to mobile terminal according to dynamic resource it is directly perceived and
Vivo represent notification message content to be showed, and be supplied to the more information for referring to of user, simultaneously as different
Notification message can be to there is different dynamic resources, so as to also effectively prevent the homogeneity of the display content of different notification messages
Problem.
It should be noted that during notification message is rebuild in the present embodiment can Transport Controls mode can with different,
Illustrate separately below:
Fig. 2 is referred to, another embodiment of the display methods of notification message includes in the embodiment of the present invention:
Step 201 in the present embodiment is identical with the step 101 in embodiment illustrated in fig. 1, and here is omitted.
202nd, whether there is file destination path in detection notice message, if so, then execution step 103, if it is not, then performing
Step 207;
Step 202 in the present embodiment is identical to step 103 with the step 102 in embodiment illustrated in fig. 1 to step 203,
Here is omitted.
204th, parse notification message in can Transport Controls building mode;
In the present embodiment, obtained after the corresponding dynamic resource of notification message according to file destination path, notice can be parsed
In message can Transport Controls building mode.
Specifically, based in embodiment illustrated in fig. 1 step 104 explanation content, in notification message can Transport Controls can
Obtained with carrying out structure by application end, in actual applications, can Transport Controls can then be dependent in the building mode of application end
The display mode of the supported dynamic resource of system end, the mode that such as video playback, or video is coexisted with word, so as to notify to disappear
In breath can Transport Controls building mode can with different, then system end can in notification message can Transport Controls structure
Mode is parsed, with can according to the building mode realize to can Transport Controls rebuild.
In actual applications, application end build notification message can Transport Controls when, can be by the following two kinds mode:
1st, can Transport Controls additional object file path, this can Transport Controls include other controls;
2nd, can Transport Controls additional object file path, this can Transport Controls include other controls, such as picture control, scheme
Piece control can play corresponding mark action carrying out occupy-place in Transport Controls, to indicate that the position of this occupy-place can be used
In supporting to change the display mode of notification message, be conducive to supporting the notice pattern of application end self-defining notification message.
Both the above building mode can be used for the different display modes for supporting notification message, and application end can be based on system
Supported dynamic resource display mode and notification message built accordingly, specifically do not limit herein.
It is understood that can Transport Controls application end building mode except the content of described above, it is actual should
With in, alternate manner can also be adopted, as long as so that building mode is adapted to system end, specifically do not limit herein
It is fixed.
If the 205, building mode be first object building mode, according to dynamic resource can Transport Controls be substituted for correspondence
Dynamic Graph control or video control, obtaining target can Transport Controls;
In the present embodiment, if parsing notification message in can Transport Controls building mode be first object building mode,
Can according to dynamic resource can Transport Controls be substituted for corresponding Dynamic Graph control or video control, obtain target and can transmit control
Part.
Specifically, the content for being illustrated based on step 204, first object building mode can not include other in Transport Controls
Control, then if dynamic resource be such as GIF pictures, can by can Transport Controls entirely replace with Dynamic Graph control, obtain
Support the target that shows of GIF pictures can Transport Controls, if dynamic resource is such as video, can by can Transport Controls entirely replace
Video control is changed to, obtains supporting that the target of video playback can Transport Controls.
206th, using target can Transport Controls show dynamic resource on the default interface of mobile terminal;
In the present embodiment, according to dynamic resource can Transport Controls be substituted for corresponding Dynamic Graph control or video control,
Obtaining target can be after Transport Controls, it is possible to use target can Transport Controls dynamic money is shown on the default interface of mobile terminal
Source.
Based in embodiment illustrated in fig. 1 step 105 explanation content, due to can Transport Controls be entirely substituted for support GIF
The target that picture or video show can Transport Controls, then only show on the default interface of mobile terminal corresponding GIF pictures or
Video.For example, it is assumed that notification message is notified for rainstorm weather, corresponding dynamic resource is heavy rain video, then in mobile terminal
Default interface on only can show the heavy rain video.
207th, other flow processs are performed.
In the present embodiment, if there is no file destination path in detecting notification message, mean the notification message not
Need to carry out Dynamic Display, then can not perform other operations so that mobile terminal can show notice according to existing rule
Message.
Fig. 3 is referred to, another embodiment of the display methods of notification message includes in the embodiment of the present invention:
Step 301 in the present embodiment is identical to step 204 with the step 201 in embodiment illustrated in fig. 2 to step 304,
Here is omitted.
If the 305, building mode is the second target building mode, according to dynamic resource by can be in Transport Controls picture control
Part is substituted for corresponding Dynamic Graph control or video control, and obtaining target can Transport Controls;
In the present embodiment, if parsing notification message in can Transport Controls building mode be the second target building mode,
Picture control that can be in Transport Controls can be substituted for by corresponding Dynamic Graph control or video control according to dynamic resource, be obtained
Target can Transport Controls.
Specifically, the content based on step 204 explanation in embodiment illustrated in fig. 2, the second target building mode can transmission
Other controls can be included in control, the such as picture control in the present embodiment, the picture control can mesh in Transport Controls to occupy
The control of cursor position, then, if dynamic resource is such as GIF pictures, can only by can be in Transport Controls picture control replace
Change corresponding Dynamic Graph control into, if dynamic resource is such as video, can only by can be in Transport Controls picture control replace
Change corresponding video control into, it follows that in the present embodiment can be for Transport Controls, in the process for rebuilding
In, only target location has carried out the replacement of related control, can the other positions of Transport Controls do not change, then rebuild and obtain
Target can Transport Controls can either support the display of GIF pictures or video, the display of word, static images can also be supported.
306th, using target can Transport Controls show dynamic resource on the default interface of mobile terminal;
In the present embodiment, picture control that can be in Transport Controls is substituted for by corresponding Dynamic Graph control according to dynamic resource
Or video control, obtaining target can be after Transport Controls, it is possible to use target can Transport Controls on the default interface of mobile terminal
Show dynamic resource.
Based on the content of step 105 explanation in embodiment illustrated in fig. 1, due to can only occupy target location in Transport Controls
Picture control be substituted for Dynamic Graph control or video control, then using target can Transport Controls can be in the default of mobile terminal
Corresponding GIF pictures or video are shown on interface, corresponding word or static images in notification message can also be shown, so as to have
Beneficial to the display mode of abundant notification message, more represent the content of notification message.For example, it is assumed that notification message is heavy rain day
Gas notifies that corresponding dynamic resource is heavy rain video, then the heavy rain video can be shown on the default interface of mobile terminal,
The Word message carried during the notification message can also be shown simultaneously, the such as information such as coverage of this rainstorm weather.
307th, other flow processs are performed.
In the present embodiment, if there is no file destination path in detecting notification message, mean the notification message not
Need to carry out Dynamic Display, then can not perform other operations so that mobile terminal can show notice according to existing rule
Message.
On the basis of the beneficial effect of embodiment illustrated in fig. 1, embodiment illustrated in fig. 2 is with embodiment illustrated in fig. 3 with two kinds
Different modes to notification message in can Transport Controls re-start structure, different building modes, correspondence are shown in movement
Content in terminal is different, i.e., on the basis of dynamic resource shows, with the building mode of embodiment illustrated in fig. 3, may be used also
To show the information such as word, it follows that embodiment illustrated in fig. 2 shows dynamic resource relative to 3 illustrated embodiments
Say it is relatively simple, but embodiment illustrated in fig. 3 can with support application end Custom Notification message notice pattern, it might even be possible to accomplish
The information such as dynamic resource and word coexist, and the display content of notification message will more horn of plenty.
It should be noted that in order to be conducive to dynamic resource to be adapted to the performance of mobile terminal, it is to avoid mobile terminal is due to aobvious
Show the excessive power consumption of dynamic resource consumption or the phenomenons such as interim card occur, dynamic resource can be adjusted correspondingly, be carried out below
Illustrate:
Fig. 4 is referred to, another embodiment of the display methods of notification message includes in the embodiment of the present invention:
Step 401 in the present embodiment is identical with the step 101 in embodiment illustrated in fig. 1, and here is omitted.
402nd, whether there is file destination path in detection notice message, if so, then execution step 403, if it is not, then performing
Step 409;
Step 402 in the present embodiment is identical to step 103 with the step 102 in embodiment illustrated in fig. 1 to step 403,
Here is omitted.
404th, obtain the configuration parameter of mobile terminal;
In the present embodiment, obtained after the corresponding dynamic resource of notification message according to file destination path, movement can be obtained
The configuration parameter of terminal.
Specifically, the configuration parameter can include but is not limited to screen resolution, battery capacity, central processor CPU
Energy, graphic process unit GPU performance, running memory RAM etc., by above-mentioned configuration parameter, it may be determined that the correlation of mobile terminal
Can, can be adjusted to dynamic resource according to the performance of mobile terminal, prevent mobile terminal from the phenomenons such as interim card occur.
405th, the corresponding parameter of dynamic resource is determined according to configuration parameter;
In the present embodiment, after obtaining the configuration parameter of mobile terminal, the right of dynamic resource can be determined according to configuration parameter
Answer parameter.
Specifically, obtained after the corresponding dynamic resource of notification message according to file destination path, dynamic resource can be obtained
Corresponding parameter, the correspondence parameter can include but is not limited to coded format, resolution ratio, frame number, degree of rendering etc., if the dynamic is provided
Source is video, then correspond to parameter and can further include video duration.In order to prevent dynamic resource when mobile terminal shows
The excessive power consumption of mobile terminal is consumed, the corresponding parameter of dynamic resource can be limited with reference to the configuration parameter of mobile terminal
System, for example, is encoded to dynamic resource using the relatively low coded format of compression ratio, the original resolution ratio of reduction dynamic resource,
Frame number, degree of rendering etc., the corresponding parameter definite when showing such that it is able to obtain dynamic resource.
406th, using correspondence parameter adjustment dynamic resource;
In the present embodiment, after the corresponding parameter of dynamic resource is determined according to configuration parameter, it is possible to use the correspondence parameter pair
Adjustment dynamic resource.
Specifically, dynamic resource is adjusted using the correspondence parameter, is that original parameter of dynamic resource is substituted for
The correspondence parameter, for example, it is assumed that dynamic resource is video, original parameter of the video includes:Coded format is AVI, resolution ratio
For 480x272, frame number be 30, degree of rendering be 33, video when a length of 8s, and according to configuration parameter determine corresponding parameter include:
A length of 6s when coded format is RMVB, resolution ratio is 380x200, frame number is 25, degree of rendering is 28, video, then can utilize and be somebody's turn to do
Correspondence parameter is modified to original parameter, so that the relevant parameter of the dynamic resource after adjustment can be joined for above-mentioned correspondence
Number.It is understood that in actual applications, in order to avoid the compression of video duration causes the content of dynamic resource needs reception and registration
Statement is unclear, it is also possible to video duration is not compressed, but sending out for the side of the video, i.e. notification message is downloaded from application end
The side of sending can be controlled to video duration, specifically do not limited herein.
Step 407 in the present embodiment is identical with the step 104 in embodiment illustrated in fig. 1, and here is omitted.
408th, using target can Transport Controls show dynamic resource on the default interface of mobile terminal;
In the present embodiment, Transport Controls can obtain target and can transmit in notification message is rebuild according to dynamic resource
After control, it is possible to use target can Transport Controls show dynamic resource on the default interface of mobile terminal, the dynamic resource is
Using the dynamic resource after correspondence parameter adjustment.
Based on the content of step 105 explanation in embodiment illustrated in fig. 1, here is omitted for same section.
409th, other flow processs are performed.
In the present embodiment, if there is no file destination path in detecting notification message, mean the notification message not
Need to carry out Dynamic Display, then can not perform other operations so that mobile terminal can show notice according to existing rule
Message.
Above the display methods of the notification message in the embodiment of the present invention is described, below to the embodiment of the present invention
In the display device of notification message be described respectively, the display device of the notification message can apply to mobile terminal, please
Refering to Fig. 5, in the embodiment of the present invention, display device one embodiment of notification message includes:
Receiver module 501, for receiving notification message;
Detection module 502, for whether there is file destination path in detection notice message;
First acquisition module 503, for when there is file destination path, then being obtained according to file destination path and being notified
The corresponding dynamic resource of message;
Build module 504, for according to dynamic resource rebuild in notification message can Transport Controls, obtaining target can
Transport Controls;
Display module 505, for using target can Transport Controls show dynamic resource on the default interface of mobile terminal.
In the present embodiment, when detection module 502 detects notification message and there is file destination path, the first acquisition module
503 can obtain corresponding dynamic resource according to file destination path, and build the transmitting in an announcement message of module 504
Control rebuild obtain target can after Transport Controls, display module 505 can using the target can Transport Controls it is mobile eventually
The corresponding dynamic resource of notification message is shown on the default interface at end, so as to overcome notification message only displaying word, quiet originally
The defect of the related contents such as state picture, is conducive to mobile terminal intuitively and vivo to represent notification message according to dynamic resource wanted
The content of performance, and the more information for referring to of user are supplied to, simultaneously as different notification messages can be different to having
Dynamic resource, so as to also effectively prevent the homogeneous problem of the display content of different notification messages.
Fig. 6 is referred to, another embodiment of the display device of notification message includes in the embodiment of the present invention:
Module 601 in the present embodiment is identical with the module 501 in embodiment illustrated in fig. 5, and module 602 is real with shown in Fig. 5
The module 502 applied in example is identical, and module 603 is identical with the module 503 in embodiment illustrated in fig. 5, and module 604 is real with shown in Fig. 5
The module 504 applied in example is identical, and module 605 is identical with the module 505 in embodiment illustrated in fig. 5, and here is omitted.
In the present embodiment, build module 604 and may further include:
Resolution unit 6041, for parse in notification message can Transport Controls building mode;
Construction unit 6042, for according to dynamic resource and building mode rebuild can Transport Controls, obtaining target can
Transport Controls.
Wherein, construction unit 6042, can be specifically for:
When building mode be first object building mode when, then according to dynamic resource can Transport Controls be substituted for it is corresponding
Dynamic Graph control or video control, obtaining target can Transport Controls.
Construction unit 6042, can with specifically for:
When building mode is the second target building mode, then according to dynamic resource by can be in Transport Controls picture control
Be substituted for corresponding Dynamic Graph control or video control, obtain target can Transport Controls, picture control is for occupy can Transport Controls
The control of middle target location.
Fig. 7 is referred to, another embodiment of the display device of notification message includes in the embodiment of the present invention:
Module 701 in the present embodiment is identical with the module 501 in embodiment illustrated in fig. 5, and module 702 is real with shown in Fig. 5
The module 502 applied in example is identical, and module 703 is identical with the module 503 in embodiment illustrated in fig. 5, and here is omitted.
Second acquisition module 704, for obtaining the configuration parameter of mobile terminal;
Determining module 705, for the corresponding parameter of dynamic resource is determined according to configuration parameter;
Adjusting module 706, for utilizing correspondence parameter adjustment dynamic resource;
Module 707 in the present embodiment is identical with the module 504 in embodiment illustrated in fig. 5, and module 708 is real with shown in Fig. 5
The module 505 applied in example is identical, and here is omitted.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with
Realize by another way.For example, device embodiment described above is only schematic, for example, the unit
Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing
Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized and as independent production marketing or use using in the form of SFU software functional unit
When, can be stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially
The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products
Embody, the computer software product is stored in a storage medium, use so that a computer including some instructions
Equipment(Can be personal computer, server, or network equipment etc.)Perform the complete of each embodiment methods described of the invention
Portion or part steps.And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage(ROM, Read-Only
Memory), random access memory(RAM, RandomAccess Memory), magnetic disc or CD etc. are various can store journey
The medium of sequence code.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front
State embodiment to be described in detail the present invention, it will be understood by those within the art that:Which still can be to front
State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these
Modification is replaced, and does not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a kind of display methods of notification message, is applied to mobile terminal, it is characterised in that include:
Receive notification message;
Whether there is file destination path in detecting the notification message;
If existing, the corresponding dynamic resource of the notification message is obtained according to the file destination path;
According to the dynamic resource rebuild in the notification message can Transport Controls, obtaining target can Transport Controls;
Using the target can Transport Controls show the dynamic resource on the default interface of the mobile terminal.
2. the display methods of notification message according to claim 1, it is characterised in that described according to the dynamic resource weight
Newly build in the notification message can Transport Controls obtain target can Transport Controls include:
Parse in the notification message can Transport Controls building mode;
According to the dynamic resource and the building mode rebuild can Transport Controls, obtaining target can Transport Controls.
3. the display methods of notification message according to claim 2, it is characterised in that it is described according to the dynamic resource and
The building mode rebuild in the notification message can Transport Controls, obtain target can Transport Controls include:
If the building mode be first object building mode, according to the dynamic resource by it is described can Transport Controls be substituted for
Corresponding Dynamic Graph control or video control, obtaining target can Transport Controls.
4. the display methods of notification message according to claim 2, it is characterised in that it is described according to the dynamic resource and
The building mode rebuild in the notification message can Transport Controls, obtain target can Transport Controls include:
If the building mode is the second target building mode, according to the dynamic resource by the figure that can be in Transport Controls
Piece control is substituted for the corresponding Dynamic Graph control or the video control, obtain target can Transport Controls, the picture control
Part be occupy it is described can in Transport Controls target location control.
5. the display methods of notification message according to any one of claim 1 to 4, it is characterised in that in the utilization
The target can be before Transport Controls show the dynamic resource on the default interface of the mobile terminal, and methods described is also wrapped
Include:
Obtain the configuration parameter of the mobile terminal;
The corresponding parameter of the dynamic resource is determined according to the configuration parameter;
Using dynamic resource described in correspondence parameter adjustment.
6. a kind of display device of notification message, is applied to mobile terminal, it is characterised in that include:
Receiver module, for receiving notification message;
Detection module, whether there is file destination path for detecting in the notification message;
First acquisition module, for when there is the file destination path, then obtaining institute according to the file destination path
State the corresponding dynamic resource of notification message;
Build module, for according to the dynamic resource rebuild in the notification message can Transport Controls, obtain target
Can Transport Controls;
Display module, for using the target can Transport Controls show the dynamic on the default interface of the mobile terminal
Resource.
7. the display device of notification message according to claim 6, it is characterised in that the structure module includes:
Resolution unit, for parse in the notification message can Transport Controls building mode;
Construction unit, for described in being rebuild according to the dynamic resource and the building mode can Transport Controls, obtain mesh
Mark can Transport Controls.
8. the display device of notification message according to claim 7, it is characterised in that the construction unit, specifically for:
When the building mode be first object building mode when, then according to the dynamic resource will it is described can Transport Controls replacement
Into corresponding Dynamic Graph control or video control, obtaining target can Transport Controls.
9. the display device of notification message according to claim 7, it is characterised in that the construction unit is also concrete to use
In:
When the building mode is the second target building mode, then according to the dynamic resource by it is described can be in Transport Controls
Picture control is substituted for the corresponding Dynamic Graph control or the video control, obtain target can Transport Controls, the picture
Control be occupy it is described can in Transport Controls target location control.
10. the display device of the notification message according to any one of claim 6 to 9, it is characterised in that described device is also
Including:
Second acquisition module, for obtaining the configuration parameter of the mobile terminal;
Determining module, for the corresponding parameter of the dynamic resource is determined according to the configuration parameter;Adjusting module, for utilizing
Dynamic resource described in correspondence parameter adjustment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945819.4A CN106528120A (en) | 2016-11-02 | 2016-11-02 | Notification message display method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610945819.4A CN106528120A (en) | 2016-11-02 | 2016-11-02 | Notification message display method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106528120A true CN106528120A (en) | 2017-03-22 |
Family
ID=58293412
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610945819.4A Pending CN106528120A (en) | 2016-11-02 | 2016-11-02 | Notification message display method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106528120A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106959798A (en) * | 2017-03-28 | 2017-07-18 | 联想(北京)有限公司 | The display control method and electronic equipment of a kind of dynamic message |
CN106970745A (en) * | 2017-03-28 | 2017-07-21 | 联想(北京)有限公司 | The display methods and electronic equipment of a kind of dynamic message |
CN107643934A (en) * | 2017-09-29 | 2018-01-30 | 上海爱优威软件开发有限公司 | A kind of application message methods of exhibiting, system and terminal based on message bullet frame |
CN108062241A (en) * | 2017-12-28 | 2018-05-22 | 努比亚技术有限公司 | A kind of switching method of display interface, terminal and storage medium |
CN110737491A (en) * | 2018-07-20 | 2020-01-31 | 北京字节跳动网络技术有限公司 | Notification display method, device, equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1747582A (en) * | 2005-02-07 | 2006-03-15 | 中国联合通信有限公司 | Generating method and system for dynamic mobile terminal customized information interface |
CN101697560A (en) * | 2009-10-10 | 2010-04-21 | 中兴通讯股份有限公司 | Mobile terminal and message display method thereof |
CN101945173A (en) * | 2010-09-17 | 2011-01-12 | 宇龙计算机通信科技(深圳)有限公司 | Weather information display method and mobile terminal |
CN103634199A (en) * | 2013-08-26 | 2014-03-12 | 华为技术有限公司 | Notification message display method and notification message display device |
CN105511727A (en) * | 2015-12-14 | 2016-04-20 | 魅族科技(中国)有限公司 | Message processing method and device |
CN105677313A (en) * | 2015-11-06 | 2016-06-15 | 乐视移动智能信息技术(北京)有限公司 | Display method, device and terminal equipment for notification messages |
-
2016
- 2016-11-02 CN CN201610945819.4A patent/CN106528120A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1747582A (en) * | 2005-02-07 | 2006-03-15 | 中国联合通信有限公司 | Generating method and system for dynamic mobile terminal customized information interface |
CN101697560A (en) * | 2009-10-10 | 2010-04-21 | 中兴通讯股份有限公司 | Mobile terminal and message display method thereof |
CN101945173A (en) * | 2010-09-17 | 2011-01-12 | 宇龙计算机通信科技(深圳)有限公司 | Weather information display method and mobile terminal |
CN103634199A (en) * | 2013-08-26 | 2014-03-12 | 华为技术有限公司 | Notification message display method and notification message display device |
CN105677313A (en) * | 2015-11-06 | 2016-06-15 | 乐视移动智能信息技术(北京)有限公司 | Display method, device and terminal equipment for notification messages |
CN105511727A (en) * | 2015-12-14 | 2016-04-20 | 魅族科技(中国)有限公司 | Message processing method and device |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106959798A (en) * | 2017-03-28 | 2017-07-18 | 联想(北京)有限公司 | The display control method and electronic equipment of a kind of dynamic message |
CN106970745A (en) * | 2017-03-28 | 2017-07-21 | 联想(北京)有限公司 | The display methods and electronic equipment of a kind of dynamic message |
US10812433B2 (en) | 2017-03-28 | 2020-10-20 | Lenovo (Beijing) Co., Ltd. | Dynamic message displaying |
CN107643934A (en) * | 2017-09-29 | 2018-01-30 | 上海爱优威软件开发有限公司 | A kind of application message methods of exhibiting, system and terminal based on message bullet frame |
CN108062241A (en) * | 2017-12-28 | 2018-05-22 | 努比亚技术有限公司 | A kind of switching method of display interface, terminal and storage medium |
CN110737491A (en) * | 2018-07-20 | 2020-01-31 | 北京字节跳动网络技术有限公司 | Notification display method, device, equipment and computer readable storage medium |
CN110737491B (en) * | 2018-07-20 | 2024-04-05 | 北京字节跳动网络技术有限公司 | Notification display method, device, equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106528120A (en) | Notification message display method and device | |
CN105930467B (en) | A kind of information processing method and electronic equipment | |
CN105549819B (en) | The display methods and device of background application information | |
CN108174272B (en) | Method and device for displaying interactive information in live broadcast, storage medium and electronic equipment | |
AU2019383041B2 (en) | Techniques for managing generation and rendering of user interfaces on client devices | |
CN102981894B (en) | Display packing and electronic equipment | |
US10616366B2 (en) | Message transmission method and device | |
US20210168433A1 (en) | Client-server-based solutions for playing online video advertisements on different user devices | |
US20150220496A1 (en) | Dynamic sprite based theme switching | |
CN110806905B (en) | User page processing method and device, electronic equipment and storage medium | |
CN104838333A (en) | Adjusting audio volume of multimedia when switching between multiple multimedia content | |
EP2275912B1 (en) | Terminal for broadcasting and method of controlling the same | |
US20150301991A1 (en) | Webapp startup method and device | |
CN109842818A (en) | A kind of video broadcasting method, device, computer equipment and storage medium | |
CN102323882A (en) | Data processing device and method applied to Web3D | |
CN109933381B (en) | Kernel loading method and device | |
CN113181646A (en) | Game data method and device, electronic equipment and storage medium | |
CN107247544A (en) | Use interaction figure picture optimization software application user interface capabilities | |
CN102511169B (en) | Video reproduction apparatus, and control method thereof | |
CN103209203A (en) | Cross-platform application providing method and client | |
EP4216560A1 (en) | Electronic device screen projection method, medium thereof, and electronic device | |
CN105278797A (en) | Page switching display method and apparatus | |
CN103514219A (en) | Method and system for sharing Web content between multiple terminals | |
CN108762956A (en) | Obtain method, server, mobile terminal and the storage medium of Native local datas | |
KR101875744B1 (en) | Electonic device and method for controlling of the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170322 |