[summary of the invention]
For overcoming current client to obtain the technical problem that message exists, the present invention
The method and system of the acquisition message that a kind of Consumer's Experience is good is provided.
The present invention provides a kind of method obtaining message, comprises the following steps:
Step S1, terminal receives the message bag that messaging service device sends, institute
State the system that message bag includes that message notifying content, notice form are corresponding with message bag
One URLs URL;
Step S2, Pop-up message prompting frame in client end interface, disappear described
Breath prompting frame shows described message notifying content;
Step S3, when clicking on Pop-up message suggestion content, jumps in client
Go to service page corresponding to described URL.
Preferably, described message bag sends to institute after being configured by Operation Server
The messaging service device stated.
Preferably, described notice form includes:
Redirect type, when processing message, other interfaces in client need to be jumped to;
The most hidden type that disappears, user can manual-lock message notifying frame, process message
Shi Buxu jumps to other interfaces;
Automatic hidden disappears type, and this message can disappear by automatic hidden, is not required to jump when processing message
Forward other interfaces to.
Preferably, farther include upon step s 2, step S4, according to
The notice form of message bag is the Show Button in described notification message prompting frame,
When user clicks on described button, it is achieved corresponding operation.
Preferably, farther include after step s4, step S5, right
The service page answered shows the button of return, when user press this button it
After, exit the current service page, be back to the viewing area of user's operation originally.
The present invention also provides for a kind of system obtaining message, and described system includes:
Receiver module, for receiving the message bag that messaging service device sends,
Described message bag includes message notifying content, and notice form is corresponding with message bag
Uniform resource position mark URL;
Content presentation module, for the prompting of Pop-up message in client end interface
Frame, shows described message notifying content in described message notifying frame;
First redirects module, for when user clicks on message notifying frame, visitor
Service page corresponding to described URL is jumped in the end of family.
Preferably, this client end interface includes title bar and message notifying frame, should
Title bar is positioned at the top in client, and this message notifying frame depends on title
Hurdle shows.
Preferably, click on this message notifying frame and can jump to the internal definition of client
Service page.
Preferably, this message notifying frame includes a button, and this button is one " to look into
See " button or " cancellation " button, click on and can jump in client
The service page of portion's definition.
Preferably, this service page is provided with a Back button, clicks on
This button can exit service page, is back to the client of client operation originally
Interface.
Relative to prior art, a kind of method obtaining information that the present invention provides
Have the advantage that with system
1. obtain corresponding message or will be to message clicking on message notifying frame
When processing, above operation is all carried out inside client, does not jump out visitor
Outside the end of family, maintain user's fluency when operation.
2. message notifying frame is divided into three kinds of notice forms according to the importance of message,
Redirect type, the most hidden disappear type and automatic hidden disappears type, the behaviour that user can corresponding be carried out
Make also different, reduce Pop-up message to greatest extent to user's current operation
Impact.
3. this message notifying frame depends on title bar, and it is positioned under title bar
Side, when user carries out other operation in client, will not be because of have left
The interface of current operation and cause this message notifying frame to disappear, play a prompting
User notes the effect of this message.
4. user jumps to the service page that described URL is corresponding in client
Afterwards, in corresponding service page, show the button of return;When user presses
After this button, exit the current service page, be back to user's operation originally
Client end interface, user is not required to make too much operation and i.e. can return to, Consumer's Experience
Preferably.
[detailed description of the invention]
In order to make the purpose of the present invention, technical scheme and advantage are more clear bright
In vain, below in conjunction with accompanying drawing and embodiment, the present invention is carried out the most in detail
Explanation.Should be appreciated that specific embodiment described herein is only in order to explain
The present invention, is not intended to limit the present invention.
Refer to Fig. 1, a kind of acquisition information that first embodiment of the invention provides
Method, the method applies in the client of various end products, comprising:
S1: client receives the message bag that messaging service device sends, described
Message bag includes message notifying content, the unification that notice form is corresponding with message bag
URLs URL;
S2: Pop-up message prompting frame in client, in described message notifying frame
Show described message notifying content;
S4: when clicking on message notifying frame, jump to described URL in product
Corresponding service page.
Above-mentioned message notifying frame depends on title bar, and title bar is usually located at visitor
The top of window in the end of family, it is for showing the theme of current interface, explanation
Deng.Above-mentioned message bag sends to described message after being configured by Operation Server
Notice server.
S3: according to the notice form of message bag at described notification message prompting frame
Middle display corresponding button, described notice form includes:
Redirecting type, this message is important messages, need to jump to visitor when processing message
Other interfaces in the end of family;
The most hidden type that disappears, this message is time important messages, is not required to when processing message
Jump to other interfaces, but need user's manual-lock;
Automatic hidden disappears type, and this message is time important messages, is not required to when processing message
Jump to other interfaces, this message notifying frame can automatic hidden disappear, its display time
Length can be controlled by a control.
When notice form is for redirecting type, message notifying frame shows " checking "
Button, user clicks on message notifying frame or " checking " button can jump to
Required service page;When notice form for the most hidden disappear type time, message notifying
Showing " cancellation " button in frame, user can choose whether that needs process voluntarily and be somebody's turn to do
Message, needs are clicked on message notifying frame if processing, are jumped to required service
The page, it is not necessary to if can click on " cancellation " button, message notifying frame is automatic
Hidden disappear;When notice form for the most hidden disappear type time, in message notifying frame without display
Button, user can set the display of the message notifying frame of such notification form message
Duration, after the ejection of message notifying frame, after the duration set, automatic hidden disappears.
Include step S5 after step s4, in client, jump to institute
After stating service page corresponding to URL, show in corresponding service page
The button " returned ";After user presses this button, exit current service
The page, is back to the interface of client operation originally.
Refer to Fig. 2, a kind of acquisition message that second embodiment of the invention provides
System 2, this system includes:
Receiver module 21, for receiving the message that messaging service device sends
Bag, described message bag includes message notifying content, notice form and message bag pair
The uniform resource position mark URL answered;
Content presentation module 22, for the prompting of Pop-up message in client end interface
Frame, shows described message notifying content in described message notifying frame;
Referring to Fig. 3, this client end interface includes a title bar 1, and a message carries
Show frame 3, the display page 5 and a function bar 7.
This title bar 1 is positioned at the top of window in client, and it is used for showing
The theme of current interface, explanation etc..
This viewing area 5 is for showing the content of pages of current user operation.
The bottom that this function bar 7 is positioned in client, it is used for jumping to other
The page of function.
This message notifying frame 3 depends on title bar 1, is positioned at the lower section of title bar 1.
Message notifying frame 3 will not change because of the page jumping to other functions
Or hidden disappear, its message notifying content received for display.
This message notifying frame 3 shows different according to the three types of notice form
Button:
One is to redirect type 31, refers to Fig. 4, and this message notifying frame 3 is provided with
One button checked " > ", presses this button or message notifying frame 3, visitor
Required service page is jumped in the end of family;
Two is the most hidden type 33 that disappears, and refers to Fig. 5, this message notifying frame 3 sets
It is equipped with the button of one " cancellation ", if thinking that this message is inessential or is not required to
Time to be processed, pressing this button, message notifying frame 3 can disappear.Or click on
Message notifying frame 3, jumps to required service page in client;
Three is that automatic hidden disappears type 35, refers to Fig. 6, and this message notifying frame 3 is without setting
Put any button, and this message notifying frame 3 can be certainly after display a period of time
Move hidden disappearing.
Button display module 23, for client eject notification message box it
After, show in described notification message prompting frame according to the notice form of message bag
Show corresponding button;When user clicks on described button, client has the behaviour of correspondence
Make.
This kind of system 2 obtaining message farther includes:
First redirects module 25, when user clicks on Pop-up message prompting frame 3,
Service page corresponding to described URL is jumped in client;
Refer to Fig. 7, the service page that user enters after clicking on message notifying frame 3
9, this service page 9 be provided above a Back button 91, press
This Back button 91 can exit the current service page 9, is back to user former
The client end interface of this operation.
This kind of system 2 obtaining message farther includes:
Return push-button display module 27, shows return in corresponding service page
Button;
Second redirects module 29, after user presses this button, exits current
Service page, is back to the client end interface of user's operation originally.
Relative to prior art, a kind of method obtaining information that the present invention provides
Have the advantage that with system
1. obtain corresponding message or will be to message clicking on message notifying frame
When processing, above operation is all carried out inside client, does not jump out visitor
Outside the end of family, maintain user's fluency when operation.
2. message notifying frame is divided into three kinds of notice forms according to the importance of message,
Redirect type, the most hidden disappear type and automatic hidden disappears type, the behaviour that user can corresponding be carried out
Make also different, reduce Pop-up message to greatest extent to user's current operation
Impact.
3. this message notifying frame depends on title bar, and it is positioned under title bar
Side, when user carries out other operation in client, will not be because of have left
The interface of current operation and cause this message notifying frame to disappear, play a prompting
User notes the effect of this message.
4. user jumps to the service page that described URL is corresponding in client
Afterwards, in corresponding service page, show the button of return;When user presses
After this button, exit the current service page, be back to user's operation originally
Client end interface, user is not required to make too much operation and i.e. can return to, Consumer's Experience
Preferably.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit
The present invention processed, all any amendments made within the principle of the present invention, equivalent
Within replace and improvement etc. all should comprise protection scope of the present invention.