CN110134481A - A kind of page processing method, device and relevant device - Google Patents
A kind of page processing method, device and relevant device Download PDFInfo
- Publication number
- CN110134481A CN110134481A CN201910419822.6A CN201910419822A CN110134481A CN 110134481 A CN110134481 A CN 110134481A CN 201910419822 A CN201910419822 A CN 201910419822A CN 110134481 A CN110134481 A CN 110134481A
- Authority
- CN
- China
- Prior art keywords
- page
- message
- window
- conversation message
- head portrait
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 306
- 230000008569 process Effects 0.000 claims abstract description 274
- 230000009471 action Effects 0.000 claims abstract description 59
- 230000004044 response Effects 0.000 claims abstract description 57
- 239000000725 suspension Substances 0.000 claims description 132
- 230000005540 biological transmission Effects 0.000 claims description 67
- 230000001360 synchronised effect Effects 0.000 claims description 28
- 230000015654 memory Effects 0.000 claims description 19
- 230000006399 behavior Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 230000003068 static effect Effects 0.000 claims description 8
- 230000015572 biosynthetic process Effects 0.000 claims description 7
- 230000000875 corresponding effect Effects 0.000 description 119
- 238000010586 diagram Methods 0.000 description 40
- 230000000694 effects Effects 0.000 description 13
- 230000006870 function Effects 0.000 description 13
- 238000007667 floating Methods 0.000 description 9
- 238000001514 detection method Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 4
- 230000003993 interaction Effects 0.000 description 4
- 230000004913 activation Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000001914 filtration Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000033764 rhythmic process Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a kind of page processing method, device and relevant device, method includes: the target pages that display belongs to the first process;Target pages are that foreground shows the page;When receiving the conversation message for belonging to the second process, unread message warning banner is shown on target pages;Response is directed to the trigger action of unread message warning banner, creates conversation message window, the display session message window on target pages according to conversation message.Using the present invention, it can be improved and improve the efficiency that terminal shows message content to user.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of page processing methods, device and relevant device.
Background technique
In today that life and work rhythm increasingly accelerates, user when using intelligent movable equipment often multiple functions it
Between toggle, for example, user is while reading Domestic News, if receiving new information, user is at this time with regard to needing to check this
It message and replies message.
If current display page is the Domestic News page, and when terminal receives new information at this time, terminal will shake use
In prompt user, there are new informations.User opens and newly disappears for the Domestic News page for checking the new information it is necessary to close current
The communication page where ceasing, and then user can check the particular content of new information in the communication page, and replying should
New information.
It is above-mentioned it is found that if when terminal device receives new information in the non-communicating page, it is necessary first to close current page,
Message content could be shown to user by opening the communication page again, and the efficiency for transmitting information to user is caused to reduce.
Summary of the invention
The embodiment of the present invention provides a kind of page processing method, device and relevant device, can be improved improve terminal to
The efficiency of user's displaying message content.
On the one hand the embodiment of the present invention provides a kind of page processing method, comprising:
Display belongs to the target pages of the first process;The target pages are that foreground shows the page;
When receiving the conversation message for belonging to the second process, show that unread message reminds mark on the target pages
Know;
Response is directed to the trigger action of the unread message warning banner, creates conversation message window according to the conversation message
Mouthful, the conversation message window is shown on the target pages.
Wherein, described when receiving the conversation message for belonging to the second process, it is shown on the target pages and does not read to disappear
Cease warning banner, comprising:
When receiving the conversation message for belonging to second process, and the conversation message has display priority
When, transmission user's head portrait corresponding with the conversation message is obtained in second process, and obtain the conversation message
Quantity, as unread message quantity;
Based on striding course synchronous service, the process status information of first process is synchronized to second process;Institute
Stating process status information includes front stage operation state;
If second process is front stage operation state, and the conversation message belongs to unread message type, then is based on institute
Striding course synchronous service is stated, the unread message quantity and transmission user's head portrait are synchronized to first process;
In first process, do not read to disappear according to described in the unread message quantity and transmission user's head portrait generation
Warning banner is ceased, and shows the unread message warning banner on the target pages.
Wherein, further includes:
In second process, the eap-message digest of the conversation message is obtained, and disappear according to eap-message digest creation
Cease original list;The messaging list page includes messaging list page window;The messaging list page window includes described
Eap-message digest;
To the messaging list page stacking in the corresponding task stack of first process, and activate the messaging list
The page, to show the messaging list page on the target pages;
Response is directed to the trigger action of the messaging list page window, executes and is disappeared according to conversation message creation session
The step of ceasing window.
Wherein, described that conversation message window is created according to the conversation message, the meeting is shown on the target pages
Talk about message window, comprising:
In second process, the conversation message page is created;The conversation message page includes the conversation message page
Face-port mouth;The conversation message page window includes the conversation message;
The conversation message page window is determined as the conversation message window;
To the conversation message page stacking in the task stack, and the conversation message page is activated, described
The conversation message page window in the conversation message page is shown on target pages.
Wherein, the conversation message page further includes conversation message page close mark;The messaging list page further includes
Messaging list page close mark;The target pages further include that target pages close mark;
The method also includes:
Response is directed to the trigger action of conversation message page close mark, is directed to the messaging list page close mark
The trigger action of knowledge, the trigger action that mark is closed for the target pages, close the conversation message page, the message
Original list, the target pages.
Wherein, the conversation message page, the messaging list page and the target pages belong to it is described
Task stack;The conversation message page is located at the task stack stack top, the messaging list page and the conversation message page
Adjacent, the target pages are adjacent with the messaging list page;
It is described to close the conversation message page, the messaging list page, the target pages, comprising:
The conversation message page is popped from the task stack, to close the conversation message page;
The messaging list page is popped from the task stack, to close the messaging list page;
The target pages are popped from the task stack, to close the target pages.
Wherein, the conversation message page further includes conversation message page folding mark;
The method also includes:
Response obtains hair corresponding with the conversation message for the trigger action of conversation message page folding mark
Send user's head portrait;
The conversation message page is closed, is generated according to transmission user's head portrait and sends user's head portrait suspension windows, and
The transmission user head portrait suspension windows are shown on the target pages;
Response shows the page for the trigger action for sending user's head portrait suspension windows, creation message, and described
Show that the message shows the page on target pages;The message shows that the page includes head portrait page window;The head portrait page
Window includes transmission user's head portrait;
Response is directed to the trigger action of the head portrait page window, executes business associated with the message display page
Behavior operation.
Wherein, the response is directed to the trigger action of the head portrait page window, executes and shows page phase with the message
Associated business conduct operation, comprising:
Response is directed to the first slide of the head portrait page window;Corresponding first sliding of first slide away from
From with the first glide direction;
When first sliding distance and first glide direction, which meet the page, deletes condition, it is aobvious to close the message
Show the page.
Wherein, the head portrait page window includes the first head portrait page window and the second head portrait page window;The message
Show that the page further includes the conversation message page window;
The response is directed to the trigger action of the head portrait page window, executes and shows that the page is associated with the message
Business conduct operation, comprising:
Respond second slide of the first head portrait page window to the second head portrait page window;Described second
Slide corresponds to the second sliding distance;
When second sliding distance meets group's formation condition, according to the first head portrait page window corresponding
One user object and the corresponding second user object of the second head portrait page window, creation message group page window, and
The message, which is shown, is switched to the message group page window for the conversation message page window on the page;The group of messages
Group page window includes first user object and the second user object.
Wherein, further includes:
Response is for the third slide for sending user's head portrait suspension windows;The third slide corresponding the
Three sliding distances and third glide direction;
When the third sliding distance and the third glide direction meet user's head portrait list display condition, according to institute
It states and sends user's head portrait, user's head portrait list suspension windows are created on the target pages;User's head portrait list suspends
Window includes transmission user's head portrait.
Wherein, described that conversation message window is created according to the conversation message, the meeting is shown on the target pages
Talk about message window, comprising:
Detect the character quantity for including in the conversation message;
If the character quantity is less than or equal to amount threshold, it is outstanding that the first conversation message is created in second process
The first conversation message suspension windows are determined as the conversation message window by floating window mouth, and are shown on the target pages
Show the first conversation message suspension windows;The first conversation message suspension windows are the outstanding of conversation message described in static status display
Floating window mouth;
If the character quantity is greater than the amount threshold, the suspension of the second conversation message is created in second process
The second conversation message suspension windows are determined as the conversation message window, and shown on the target pages by window
The second conversation message suspension windows;The second conversation message suspension windows are the suspension of conversation message described in Dynamically Announce
Window.
Wherein, the conversation message includes first message and second message;The first message belongs to third user object,
The second message belongs to fourth user object, and the receiving time stamp of the first message is less than the reception of the second message
Timestamp;
The method also includes:
Response is directed to the trigger action of the conversation message window, creates secondary page;The secondary page includes first
Message page window, third head portrait page window and the 4th head portrait page window;The first message page window includes institute
State first message;The third head portrait page window includes the corresponding user's head portrait of the third user object;The four-head
As page window includes the corresponding user's head portrait of the fourth user object;
The secondary page is shown on the target pages;
Response is directed to the third head portrait page window in the secondary page to the 4th head portrait page window
Slide, creation include the second message page window of the second message, and by described first on the secondary page
Message page windows exchange is the second message page window.
On the other hand the embodiment of the present invention provides a kind of Page handling device, comprising:
First display module, for showing the target pages for belonging to the first process;The target pages are that foreground shows page
Face;
Second display module, for being shown on the target pages when receiving the conversation message for belonging to the second process
Show unread message warning banner;
Respond module, for responding the trigger action for being directed to the unread message warning banner;
First creation module is shown on the target pages for creating conversation message window according to the conversation message
Show the conversation message window.
Wherein, second display module, comprising:
Acquiring unit receives the conversation message for belonging to second process for working as, and the conversation message has
When having display priority, transmission user's head portrait corresponding with the conversation message is obtained in second process, and obtain institute
The quantity for stating conversation message, as unread message quantity;
The process status information of first process is synchronized to institute for being based on striding course synchronous service by synchronization unit
State the second process;The process status information includes front stage operation state;
The synchronization unit, if being also used to second process is front stage operation state, and the conversation message belongs to not
Type of message is read, then is based on the striding course synchronous service, the unread message quantity is synchronous with transmission user's head portrait
To first process;
The synchronization unit is also used in first process, is used according to the unread message quantity and the transmission
Account picture generates the unread message warning banner, and the unread message warning banner is shown on the target pages.
Wherein, further includes:
Module is obtained, for obtaining the eap-message digest of the conversation message, and disappear according to described in second process
The breath abstract creation messaging list page;The messaging list page includes messaging list page window;The messaging list page
Window includes the eap-message digest;
The acquisition module is also used to enter the messaging list page in the corresponding task stack of first process
Stack, and the messaging list page is activated, to show the messaging list page on the target pages;
Notification module notifies first creation for responding the trigger action for being directed to the messaging list page window
Module executes corresponding step.
Wherein, first creation module, comprising:
First creating unit, for creating the conversation message page in second process;The conversation message page packet
Include the conversation message page window;The conversation message page window includes the conversation message;
First creating unit is also used to the conversation message page window being determined as the conversation message window;
Enter stack cell, is used in the task stack to the conversation message page stacking, and activate the conversation message
The page, to show the conversation message page window in the conversation message page on the target pages.
Wherein, the conversation message page further includes conversation message page close mark;The messaging list page further includes
Messaging list page close mark;The target pages further include that target pages close mark;
Described device further include:
The respond module is also used to respond the trigger action for conversation message page close mark, for institute
It states the trigger action of messaging list page close mark, close the trigger action of mark for the target pages;
Closedown module, for closing the conversation message page, the messaging list page, the target pages.
Wherein, the conversation message page, the messaging list page and the target pages belong to it is described
Task stack;The conversation message page is located at the task stack stack top, the messaging list page and the conversation message page
Adjacent, the target pages are adjacent with the messaging list page;
The closedown module, comprising:
First goes out stack cell, for the conversation message page to be popped from the task stack, to close the session
Message page;
Second goes out stack cell, for the messaging list page to be popped from the task stack, to close the message
Original list;
Described second goes out stack cell, is also used to pop the target pages from the task stack, to close the mesh
Mark the page.
Wherein, the conversation message page further includes conversation message page folding mark;
Described device further include:
The respond module, be also used to respond for the conversation message page folding mark trigger action, obtain with
The corresponding transmission user's head portrait of the conversation message;
Generation module generates transmission account according to transmission user's head portrait for closing the conversation message page
As suspension windows, and the transmission user head portrait suspension windows are shown on the target pages;
The generation module is also used to respond for the trigger action for sending user's head portrait suspension windows, and creation disappears
The breath display page, and show that the message shows the page on target pages;The message shows that the page includes head portrait page window
Mouthful;The head portrait page window includes transmission user's head portrait;
Business conduct operation module, for responding the trigger action for being directed to the head portrait page window, execution disappears with described
The associated business conduct operation of the breath display page.
Wherein, the business conduct operation module, comprising:
First response unit, for responding the first slide for being directed to the head portrait page window;First sliding
Operate corresponding first sliding distance and the first glide direction;
Closing unit, for when first sliding distance and first glide direction meet the page and delete condition,
It closes the message and shows the page.
Wherein, the head portrait page window includes the first head portrait page window and the second head portrait page window;The message
Show that the page further includes the conversation message page window;
The business conduct operation module, comprising:
Second response unit, for responding the first head portrait page window to the second of the second head portrait page window
Slide;Corresponding second sliding distance of second slide;
Second creating unit, for when second sliding distance meets group's formation condition, according to described first
As corresponding first user object of page window and the corresponding second user object of the second head portrait page window, message is created
Group page window, and shown in the message and the conversation message page window is switched to the message group page on the page
Face-port mouth;The message group page window includes first user object and the second user object.
Wherein, further includes:
The respond module is also used to respond for the third slide for sending user's head portrait suspension windows;Institute
It states third slide and corresponds to third sliding distance and third glide direction;
Second creation module, for meeting user's head portrait list when the third sliding distance and the third glide direction
When display condition, according to transmission user's head portrait, user's head portrait list suspension windows are created on the target pages;It is described
User's head portrait list suspension windows include transmission user's head portrait.
Wherein, first creation module, comprising:
Detection unit, for detecting the character quantity for including in the conversation message;
Determination unit creates in second process if being less than or equal to amount threshold for the character quantity
The first conversation message suspension windows are determined as the conversation message window by the first conversation message suspension windows, and in institute
It states and shows the first conversation message suspension windows on target pages;The first conversation message suspension windows are static status display institute
State the suspension windows of conversation message;
The determination unit, if being also used to the character quantity greater than the amount threshold, in second process
The second conversation message suspension windows are created, the second conversation message suspension windows are determined as the conversation message window, and
The second conversation message suspension windows are shown on the target pages;The second conversation message suspension windows are that dynamic is aobvious
Show the suspension windows of the conversation message.
Wherein, the conversation message includes first message and second message;The first message belongs to third user object,
The second message belongs to fourth user object, and the receiving time stamp of the first message is less than the reception of the second message
Timestamp;
Described device further include:
The respond module is also used to respond the trigger action for being directed to the conversation message window, creates secondary page;Institute
Stating secondary page includes first message page window, third head portrait page window and the 4th head portrait page window;Described first
Message page window includes the first message;The third head portrait page window includes the corresponding use of the third user object
Account picture;The 4th head portrait page window includes the corresponding user's head portrait of the fourth user object;
Third display module, for showing the secondary page on the target pages;
The respond module is also used to respond for the third head portrait page window in the secondary page to described
The slide of 4th head portrait page window, creation include the second message page window of the second message, and described auxiliary
It helps on the page and the first message page window is switched to the second message page window.
On the other hand the embodiment of the present invention provides a kind of electronic equipment, comprising: processor and memory;
The processor is connected with memory, wherein for storing program code, the processor is used for the memory
Said program code is called, to execute such as the method in the embodiment of the present invention in one side.
On the other hand the embodiment of the present invention provides a kind of computer storage medium, the computer storage medium is stored with
Computer program, the computer program include program instruction, and described program instructs when being executed by a processor, execute such as this hair
Method in bright embodiment in one side.
The embodiment of the present invention belongs to the target pages of the first process by display, when receiving the session for belonging to the second process
When message, unread message warning banner is shown on target pages;Response is grasped for the click of the unread message warning banner
Make, creation includes the conversation message page window of conversation message, and the conversation message is shown on target pages.It is above-mentioned it is found that phase
Than closing current display page, then the page user oriented displaying message content where conversation message is opened, is directly shown currently
It is created on the page and shows the window comprising message content, without exiting current display page, terminal and user can be reduced
Interaction times improve the efficiency that terminal shows message content to user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of a scenario of page processing provided in an embodiment of the present invention;
Fig. 2 a is a kind of flow diagram of page processing method provided in an embodiment of the present invention;
Fig. 2 b is a kind of schematic diagram of determining unread message warning banner provided in an embodiment of the present invention;
Fig. 2 c is a kind of messaging list page schematic diagram provided in an embodiment of the present invention;
Fig. 2 d is a kind of schematic diagram for returning to the second process provided in an embodiment of the present invention;
Fig. 2 e is a kind of schematic diagram of determining conversation message page provided in an embodiment of the present invention;
Fig. 3 a is the flow diagram of another page processing method provided in an embodiment of the present invention;
Fig. 3 b is the schematic diagram that a kind of determining message provided in an embodiment of the present invention shows the page;
Fig. 3 c is a kind of windows exchange schematic diagram provided in an embodiment of the present invention;
Fig. 3 d is a kind of schematic diagram closed message and show the page provided in an embodiment of the present invention;
Fig. 3 e is a kind of schematic diagram for closing page window provided in an embodiment of the present invention;
Fig. 3 f is a kind of schematic diagram for creating message group page window provided in an embodiment of the present invention;
Fig. 3 g is a kind of schematic diagram of determining user's head portrait list suspension windows provided in an embodiment of the present invention;
Fig. 3 h is a kind of schematic diagram for sliding user's head portrait list suspension windows provided in an embodiment of the present invention;
Fig. 4 a is the flow diagram of another page processing method provided in an embodiment of the present invention;
Fig. 4 b is a kind of schematic diagram of determining conversation message window provided in an embodiment of the present invention;
Fig. 4 c is a kind of schematic diagram for switching page window provided in an embodiment of the present invention;
Fig. 4 d is a kind of interaction schematic diagram of determining unread message warning banner provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of Page handling device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The page that terminal device is currently shown is target pages, and target pages belong to the first process.When terminal is set
After the second standby process receives new information, unread message warning banner is shown on target pages, which is for reminding
User, which exists, does not read new information.After user triggers the unread message warning banner, message window can be shown on target pages,
The message window includes the message content of new information.User need not return the main interface of the affiliated process of new information in this way, in page object
New information can be checked on face.
It is following with the corresponding process of " world news " APP (Application, application program) be the first process, " to disappear
Breath " the corresponding process of APP be the second process for, illustrate terminal device how expeditiously to user show message in
Hold.
It referring to Figure 1, is a kind of schematic diagram of a scenario of page processing provided in an embodiment of the present invention.Terminal device is currently shown
The page shown is page 10a, i.e. page 10a is that foreground shows the page.From Fig. 1 it is recognised that page 10a belongs to " world news "
The corresponding process of APP (referred to as " world news " process), if the corresponding process of " message " APP at this time in terminal device is (referred to as
" message " process) new information is received, " message " process will there are the notices of new information to the transmission of " world news " process.
After " world news " process receives the notice, unread message warning banner 10b is shown on page 10a.If with
Unread message warning banner 10b is clicked at family, and " message " process creation messaging list page, message page includes eap-message digest page
The messaging list page created is added to " all over the world by face-port mouth 10c and transparent background page window 10d, " message " process
In the corresponding task stack of news " process, wherein corresponding task stack will be created for the APP by starting system when any APP.
From the perspective of the processing of terminal device bottom data, the corresponding activity object instance of each page is preceding
State that middle the messaging list page created is added to the corresponding task stack of " world news " process is by the messaging list page
Corresponding activity object instance is added in the corresponding task stack of " world news " process, that is to say, that messaging list page
Face and " world news " process are shared task stacks.
Wherein, eap-message digest page window 10c may include the abstract for sending the user's head portrait and message content of message,
Wherein the abstract of message content can be the top n character of message content, and N is greater than the integer equal to 1.
The corresponding activity object instance of activate message original list (being activate message original list) is disappeared with display
Original list is ceased, that is, can show eap-message digest page window 10c, transparent background page window 10d on target pages.
Setting transparent background page window 10d is in order to remind subscriber terminal equipment currently without page 10a is closed, in this way
The browse state of user can be kept as much as possible, the size of eap-message digest page window 10c can be arranged as far as possible
It is small, transparent background page window 10d is accordingly configured as large as possible;It is of course also possible to not create the transparent background page
Window 10d, and eap-message digest page window 10c is paved with entire screen.
If user clicks eap-message digest page window 10c, " message " process creation message content page, the message content page
Including message session page window 10e and transparent background page window 10f, " message " process is by message content page created
Face is added in the corresponding task stack of " world news " process, is by the corresponding activity of the message content page created
Object instance is added in the corresponding task stack of " world news " process.That is, the messaging list page, the message content page
And " world news " process is shared task stack.Wherein, message session page window 10e is in the message comprising new information
Hold.
The corresponding activity object instance of activate message content page, to show message content page on target pages
Face, that is, message session page window 10e can be shown on target pages.User has checked the message session page window
After message content in 10e, it can be edited in message session page window 10e and send back multiple message, wherein replying message
It can be written form, graphic form and visual form.
Subsequent, after user closes the message content page, the messaging list page, what is shown in the screen of terminal device is exactly page
Face 10a, user can continue browsing pages 10a, since user has checked message content, certainly at this time in page 10a just
There is no unread message warning banner 10b.
Wherein, the terminal device in Fig. 1 may include mobile phone, tablet computer, laptop, palm PC, move mutually
Networked devices (MID, mobile internet device) etc..
Fig. 2 a is referred to, is a kind of flow diagram of page processing method provided in an embodiment of the present invention, such as Fig. 2 a institute
Show, this method may include:
Step S101, display belong to the target pages of the first process;The target pages are that foreground shows the page.
Specifically, the page currently shown in the screen of terminal device is known as target pages, (such as above-mentioned Fig. 1 is corresponding to be implemented
Page 10a in example), that is to say, that target pages are process (referred to as the first process, such as above-mentioned Fig. 1 pairs that foreground is currently running
Answer " world news " process in embodiment) the display page, for example, the first process can be what video application was created
Process, or read the process etc. that application program is created.
For terminal device, each page corresponding A ctivity object instance, Activity object instance is storage
In the task stack of corresponding application program.Due to the target pages shown at this time, it is located at the first process and corresponds to task stack stack top
Activity object instance be target pages Activity object instance (being properly termed as third moving object example), can
It is the page positioned at task stack stack top to respond the page of user's operation behavior.
Process is the example for the program being currently running, if program is APP program, then process is exactly the APP being currently running
Example, from the point of view of the operating system angle of terminal device, the APP of each operation at least correspond to 1 process, due to each process
All one piece of separate spaces of committed memory, therefore be such as independent from each other between process and process without special tool(s), in other words
It is not communicated between process.
Step S102 shows on the target pages when receiving the conversation message for belonging to the second process and does not read to disappear
Cease warning banner.
Specifically, when terminal device receives conversation message, and to belong to the second process (Fig. 1 pairs such as above-mentioned for the conversation message
Answer " message " process in embodiment) when, show unread message warning banner (as above on the target pages for belonging to the first process
State the unread message warning banner 10b in Fig. 1 corresponding embodiment), conversation message is not read for reminding user to exist.Unread message
Warning banner can be circle, square or numerical value, and wherein the numerical value can be the session that above-mentioned second process receives
The quantity numerical value of message;It is also possible to belong to the second process, and belongs to the quantity numerical value of the conversation message of unread message type.
For the angle of terminal device, unread message warning banner is shown on target pages, is exactly that the first process exists
View object is added in the corresponding Activity object instance of target pages, which corresponds to unread message warning banner.
The corresponding application of first process (the referred to as first application) and the corresponding application of the second process (the referred to as second application) can
To be two independent applications, first using the Embedded Application for being also possible to the second application, that is, accesses the entrance of the first application
In the second application.For example, the first application is small routine application.
In general, it is not communicated between two processes, after the present invention is in order to make the second process receive conversation message,
Shown on the target pages of the first process unread message identify, that is to say, that can be communicated between two processes, develop across
Process Synchronization frame, the synchronization framework can provide Process Synchronization service, be to call the striding course synchronization framework, two processes
Between can communicate.Second process can be to the first Process Synchronization information associated with conversation message (for example, sending session
Transmission user's head portrait of message, the quantity etc. of conversation message), the first process can also be believed to the second Process Synchronization process status
Breath, wherein process status information includes front stage operation state and backstage wait state.
Second process determines the quantity of the conversation message received, as unread message quantity.Based on the synchronous clothes of striding course
Business, the first process is to the second Process Synchronization process status information, if the process status information of the first process is front stage operation state,
And conversation message belongs to unread message type, then is based on striding course synchronous service, the second process is above-mentioned not to the first Process Synchronization
Read message number.
First process can be using the corresponding numerical value of unread message quantity as unread message warning banner, and in target pages
Upper display unread message warning banner.
Optionally, if the conversation message received has display priority, the second process obtains corresponding with conversation message
Transmission user transmission user's head portrait.Based on striding course synchronous service, the first process is believed to the second Process Synchronization process status
Breath, if the process status information of the first process is front stage operation state, and conversation message belongs to unread message type, based on stepping into
Journey synchronous service, the second process is to the above-mentioned transmission user head portrait of the first Process Synchronization.First process can will send user's head portrait
As unread message warning banner, and the unread message warning banner is shown on target pages.
Optionally, if the conversation message received has display priority, the second process obtains corresponding with conversation message
Transmission user transmission user's head portrait, and obtain conversation message quantity, as unread message quantity.It is same based on striding course
Step service, the first process is to the second Process Synchronization process status information, if the process status information of the first process is front stage operation
State, and conversation message belongs to unread message type, is based on striding course synchronous service, the second process is above-mentioned to the first Process Synchronization
Unread message quantity and transmission user's head portrait.First process can be by the corresponding numerical value of unread message quantity and transmission user
Head portrait group is combined into unread message warning banner, and the unread message warning banner is shown on target pages.
Wherein, it is sender and the reception conversation message by transmission conversation message that whether conversation message, which has display priority,
Recipient between cohesion determine.For example, if user A by user B be labeled as special object of interest, illustrate user A with
Cohesion between user B is high, when the terminal device where user A is received from the conversation message of user B, user at this time
The conversation message of B just has display priority;Certainly them can also be determined according to communication frequency between user A and user B
Between cohesion.
It should be noted that if the quantity of the conversation message with display priority is multiple, and corresponding transmission is used
It, can be by corresponding user's head portrait and all conversation messages of sending of the earliest conversation message of sending time when family is also multiple
Quantity combinations of values is unread message warning banner.
Optionally, the second process determines that the process status information of the first process is the second process pair after front stage operation state
The system notice of the conversation message is filtered, be no longer on target pages pop-up notified comprising the system of conversation message.
Fig. 2 b is referred to, is a kind of schematic diagram of determining unread message warning banner provided in an embodiment of the present invention, is such as schemed
Shown in 2b, page 20a is target pages, when conversation message has display priority, transmission user that the second process will acquire
Head portrait is based on striding course synchronous service, to the above-mentioned transmission user head portrait of the first Process Synchronization.First process will send user's head portrait
It is shown on target pages as unread message warning banner 20b, and by unread message warning banner 20b.
Step S103, response are directed to the trigger action of the unread message warning banner, are created according to the conversation message
Conversation message window shows the conversation message window on the target pages.
Specifically, user can click the unread message warning banner, Activity component corresponding with target pages can
To respond the clicking operation, and notify the first process.Based on striding course synchronous service, the first process clicks behaviour to second into synchronous
Make information, the second process obtains the eap-message digest of above-mentioned conversation message, and wherein eap-message digest can be the top n word of conversation message
Symbol.
Second process creation includes messaging list page window (the eap-message digest page in such as above-mentioned Fig. 1 corresponding embodiment
Window 10c) the messaging list page (the messaging list page in such as above-mentioned Fig. 1 corresponding embodiment), messaging list page window
Comprising eap-message digest, user's head portrait is sent, sends user's pet name etc..The size of the messaging list page can be with screen size phase
It together, can also be different from screen size.
Fig. 2 c is referred to, is a kind of messaging list page schematic diagram provided in an embodiment of the present invention, the page 30a in Fig. 2 c
It is messaging list page 30a, if the quantity more than one of conversation message, it can be seen that include more in messaging list page 30a
A messaging list page window (for example, messaging list page window 30c) and transparent background page window 30b.Second process
It can stab in the messaging list page according to the receiving time of each conversation message to multiple messaging list page window typesettings, if meeting
Talking about message has display priority, and the corresponding messaging list page window of the conversation message can be located at the top of the messaging list page
Portion.User can also slide the messaging list page, for the eap-message digest in multiple messaging list page windows of leafing through up and down.
Second process can also create transparent background page window on the messaging list page.Each page can be regarded as
The combination of multiple page windows (view can also be called), the page can regard container as, page window can regard as to
The content added in container, it is with the page for support that page window, which exists,.
Optionally, the messaging list page can also include history message original list window, the history message original list
Window includes the eap-message digest of history message, and history message is to have read message.If subsequent user clicks the history message list
Page window creates the history message page, which includes history message page window, history message page window
Including history message, and the history message page is shown on target pages.
The messaging list page is stored in the corresponding task stack of the first process (being stacking) by the second process, at this time message
Original list is located in the stack top of task stack.Activate message original list, to show the messaging list page on target pages.
The messaging list page corresponds to an Activity object instance (being properly termed as the second moving object example), message column
Table page window is exactly the view in Activity object instance, is that the messaging list page is corresponding by messaging list stacking
Activity object instance is stored in the corresponding task stack of the first process, and the messaging list page is Activity pairs corresponding at this time
As example is located in the stack top of task stack.The corresponding Activity object of the messaging list page that activation is located at task stack stack top is real
Example, to show the messaging list page, that is, display messaging list page window.
Optionally, the messaging list page can also include that (return mark again it will be understood that as message column return mark
View object in the corresponding Activity object instance of the table page), if user clicks return mark, terminal device closing is worked as
The preceding messaging list page, and be the second process, the i.e. process status information of the first process by the first process switching by foreground process
Backstage wait state is switched to by front stage operation state;Accordingly, the process status information of the second process is by backstage wait state
It is switched to front stage operation state, belongs to the main interface of the second process with regard to showing on the screen of terminal device at this time.
Fig. 2 d is referred to, is a kind of schematic diagram for returning to the second process provided in an embodiment of the present invention, page 40a is to include
The target pages 40a of unread message warning banner shows message column when the user clicks after unread message warning banner on the screen
Table page 40b.Can be seen that from Fig. 2 d includes multiple messaging list page windows in messaging list page 40b, and returns to mark
Know 40d.When the user clicks after return mark 40d, it will talk about corresponding second process of message as front stage operation process, be
The main interface 40c of the second process is shown on the screen.
User clicks messaging list page window, and in the second process, creation is (such as above-mentioned comprising conversation message page window
Message session page window 10e in Fig. 1 corresponding embodiment) the conversation message page, wherein conversation message page window include
Conversation message.Similarly, the size of the conversation message page can be identical as screen size, can also be different from screen size.
Session message page is stored in the corresponding task stack of the first process (being stacking), at this time session by the second process
Message page is located in the stack top of task stack, and includes the conversation message page (being located at stack top), followed by message column in task stack
The table page is finally target pages.Active session message page, on target pages, the meeting is shown on the messaging list page
Talk about message page.
From the perspective of terminal device, user clicks Messages Message original list window, the second process creation
Activity object instance (referred to as the first moving object example), corresponding the first moving object example includes the conversation message page
The conversation message page of window.First moving object example is added in the corresponding task stack of the first process by the second process, this
When task stack in include third moving object example, the second moving object example and the first moving object example, first activity
Object instance is located at stack top, and it is the second moving object example that next, which has been crossed, followed by third moving object example.
Activation is located at the first moving object of stack top, on target pages and the messaging list page, display session message
The page is the conversation message page window in display session message page.
Second process can receive in conversation message page window and send replying message for user's input, wherein replying
Message can be word message, be also possible to image or video messaging etc..
If the messaging list page and the conversation message page all only occupy a part of screen, for users, meeting is checked
When talking about the conversation message in the conversation message page window in message page, or in the message column checked in the messaging list page
When eap-message digest in table page window, still it can be seen that target pages.It is not leave the target for belonging to the first process
While the page, so that it may view the conversation message for belonging to the second process.
The conversation message page further includes conversation message page close mark;The messaging list page further includes the messaging list page
Close mark;Target pages further include that target pages close mark.It is that session disappears when needing to close aforementioned 3 pages
The breath page is popped from task stack, to close the conversation message page;Followed by the messaging list page is gone out from task stack
Stack, to close the messaging list page;It is finally that target pages are popped from task stack, to close target pages.
From the perspective of moving object example, closing 3 pages is that 3 moving object examples are popped, according to appoint
The architectural characteristic first-in last-out of business stack necessarily first first pops the first moving object example for being located at stack top, followed by
The second moving object example adjacent with the first moving object example is popped, being finally will be adjacent with the second moving object example
Third moving object example pop.
User clicks conversation message page close mark, is exactly that the message session page is corresponding for terminal device
First moving object example is popped from task stack, to close the conversation message page;
User clicks messaging list page close mark, is exactly that the messaging list page is corresponding for terminal device
Second moving object example is popped from task stack, to close the messaging list page;
User clicks target pages and closes mark, is exactly by the corresponding third activity of target pages for terminal device
Object instance is popped from task stack, to close target pages.
Optionally, if the conversation message received has display priority, and unread message warning banner is according to transmission
What user's head portrait generated, if user clicks the unread message warning banner, the second process may not necessarily generate the messaging list page,
And the conversation message page comprising conversation message page window is directly generated, and the display session message page on target pages.
Fig. 2 e is referred to, is a kind of schematic diagram of determining conversation message page provided in an embodiment of the present invention, such as Fig. 2 e institute
Show, page 50a is the target pages 50a comprising unread message warning banner, and conversation message has display priority, if user
The unread message warning banner is clicked, the second process directly generates conversation message page 50b, and conversation message page 50b includes
Conversation message page window 50z.
It is above-mentioned to close current display page it is found that comparing, then open the page user oriented displaying message where conversation message
Content directly creates in current display page and shows the window comprising message content, can without exiting current display page
To reduce the interaction times of terminal and user, the efficiency that terminal shows message content to user is improved.
Fig. 3 a is referred to, is the flow diagram of another page processing method provided in an embodiment of the present invention, such as Fig. 3 a
Shown, this method may include:
Step S201, display belong to the target pages of the first process;The target pages are that foreground shows the page.
Step S202 shows on the target pages when receiving the conversation message for belonging to the second process and does not read to disappear
Cease warning banner.
Step S203, response are directed to the trigger action of the unread message warning banner, are created according to the conversation message
Conversation message window shows the conversation message window on the target pages.
Wherein, the specific implementation process of step S201- step S203 may refer to the step in above-mentioned Fig. 2 a corresponding embodiment
Rapid S101- step S103.
Step S204, response obtain and disappear with the session for the trigger action of conversation message page folding mark
Cease corresponding transmission user's head portrait.
Specifically, the conversation message page can also include that conversation message page folding identifies, the folding mark when the user clicks
After knowledge, the second process obtains the transmission user's head portrait for sending the user of conversation message.
Step S205 closes the conversation message page, and it is outstanding to generate transmission user's head portrait according to transmission user's head portrait
Floating window mouth, and the transmission user head portrait suspension windows are shown on the target pages.
Specifically, closing the conversation message page (being that session message page is popped from task stack), the second process is raw
At the suspended window (referred to as transmission user's head portrait suspension windows) comprising sending user's head portrait, and show that transmission is used on target pages
Account is as suspension windows.
It should be noted that suspended window is independently of Activity object due in an operating system, if second into
The suspended window that journey obtains the first process shows permission, so that it may suspended window is placed in screen, that is, can be in target
User's head portrait suspension windows are shown on the page.
Optionally, if currently transmitted user's head portrait suspension windows are shown on target pages, and new meeting is received at this time
Words message (new information is to belong to send the corresponding user of user's head portrait suspension windows), the second process can send user
The quantity of new conversation message is set in head portrait suspension windows, and for prompting user, there are new informations.
Optionally, if currently transmitted user's head portrait suspension windows are shown on target pages, and new meeting is received at this time
Words message (new information is to be not belonging to send the corresponding user of user's head portrait suspension windows), the second process can create outstanding again
Floating window (referred to as auxiliary suspension windows), auxiliary suspension windows include user's head portrait of the user of new conversation message.In page object
Auxiliary suspension windows are shown on face.
Step S206, response show the page for the trigger action for sending user's head portrait suspension windows, creation message,
And show that the message shows the page on the target pages;The message shows that the page includes head portrait page window;It is described
Head portrait page window includes transmission user's head portrait.
Specifically, user, which clicks, sends user's head portrait suspension windows, the second process creation includes disappearing for head portrait page window
The breath display page shows that the message shows the page on target pages, and message shows that the page can also include that message shows the page
Window.It is equivalent to, after being folded the conversation message page, generates suspended window, after clicking suspended window, and pop up conversation message page
Face.
Wherein head portrait page window includes to send user's head portrait, and message shows that page window includes conversation message, herein
Message show page window with it is aforementioned in conversation message page window from the form of expression for be identical, only position
In the different pages.It is known that message shows a page head portrait pages only more compared to the conversation message page in aforementioned
Face-port mouth.
Create the principle that message shows the page, and principle and the aforementioned middle creation conversation message of the display message display page
The principle of the page and the principle of display session message page be it is identical, this, which is in, is no longer described in detail.
Fig. 3 b is referred to, is the schematic diagram that a kind of determining message provided in an embodiment of the present invention shows the page, page 50c is
Conversation message page 50c, and the page includes conversation message page folding mark 50d.User clicks conversation message page folding
Folded mark 50d, closes conversation message page 50c, at this time shows target pages 50e on the screen of terminal device.Second process wound
It builds and sends user's head portrait suspension windows 50f, and transmission user's head portrait suspension windows 50f is shown on target pages 50e.With
Family, which is clicked, sends user's head portrait suspension windows 50f, and the second process creation message shows page 50g, can be seen that message from Fig. 3 b
Display page 50g includes that message shows page window 50h and head portrait page window 50k.If clicking transmission account in user
As before suspension windows 50f, the second process receives the corresponding newly-increased conversation message for sending user of head portrait page window 50k
When, the quantity numerical value of above-mentioned newly-increased conversation message can be arranged around head portrait page window 50k.
Optionally, head portrait page window includes the first head portrait page window and the second head portrait page window, accordingly message
Display page window include shown with the matched first message of the first head portrait page window page window and with the second head portrait page
The matched second message of face-port mouth shows page window.It is currently shown in message and the first head portrait page window is shown in the page
Mouth, the second head portrait page window and first message show page window.If user is by the second head portrait page window to first
As page window is slided, message is shown that the first message in the page shows that page window is switched to second and disappears by the second process
Breath display page window, what is shown in the message display page at this time is exactly the second head portrait page window, second message display page
Face-port mouth and the first head portrait page window.That is, showing in the page in message, user passes through sliding head portrait page window
Corresponding message can be switched and show page window.
Fig. 3 c is referred to, is a kind of windows exchange schematic diagram provided in an embodiment of the present invention, page 50m is target pages,
And above-mentioned target pages include sending user's head portrait suspension windows 50p.User, which clicks, sends user's head portrait suspension windows 50p, the
Two process creation message show page 50n, and message shows that page 50n includes the first head portrait page window 50r, first message at this time
Show page window 50q and the second head portrait page window 50t.As user the second head portrait page window 50t of sliding, accordingly,
It is shown in page 50n in message, it is corresponding with the second head portrait page window 50t that first message is shown that page window 50q is switched to
The second head portrait page window 50s.
Step S207, response are directed to the trigger action of the head portrait page window, execute and show page phase with the message
Associated business conduct operation.
Specifically, user can carry out slide (referred to as the first slide) to head portrait page window, first cunning
It moves the corresponding sliding distance of operation and is known as the first sliding distance, glide direction is known as the first glide direction.When the first sliding distance
When meeting preset page deletion condition with the first glide direction, closes message and show the page.
Fig. 3 d is referred to, is a kind of schematic diagram closed message and show the page provided in an embodiment of the present invention, page 50u is
Message shows page 50u, and message shows that page 50u includes that head portrait page window 50v and message show page window 50w.With
Family carries out the first slide to sliding head portrait page window 50v, due to the corresponding sliding distance of the first slide and sliding
Direction meets the preset page and deletes condition, closes message and shows page 50u.Displayed in the screen at this time is exactly target pages
50x。
Optionally, head portrait page window includes the first head portrait page window and the second head portrait page window, accordingly message
Display page window include shown with the matched first message of the first head portrait page window page window and with the second head portrait page
The matched second message of face-port mouth shows page window.If current message show the page be shown the first head portrait page window,
Second head portrait page window and first message show page window, and user can carry out sliding behaviour to the first head portrait page window
Make, when above-mentioned slide sliding distance generated and glide direction, which meet preset window, deletes condition, closes message
It shows that the first head portrait page window in the page, first message show page window, accordingly shows in the page and show in message
Second head portrait page window, second message show page window.
Fig. 3 e is referred to, is a kind of schematic diagram for closing page window provided in an embodiment of the present invention, page 60a is message
Show page 60a, message shows that page 60a includes the first head portrait page window 60b at this time, and first message shows page window
60c and the second head portrait page window 60d.As user the first head portrait page window 60b of sliding, and above-mentioned sliding is generated
When sliding distance and glide direction meet preset window deletion condition, the first head portrait page in message display page 60a is closed
Face-port mouth 60b, first message display page window 60c is closed, shows that page 60a is shown and the first head portrait page window in message
The second 60b adjacent head portrait page window 60d and corresponding second message show page window 60e.
Head portrait page window includes the first head portrait page window and the second head portrait page window, and user can be by the first head portrait
Page window carries out slide (referred to as the second slide) to the second head portrait page window, the second slide corresponding second
Sliding distance.
When the second sliding distance meets group's formation condition, according to corresponding first user couple of the first head portrait page window
As second user object corresponding with the second head portrait page window, is shown in message and create message group page window on the page
(creation message group page window herein can be understood as showing in message new in the corresponding Activity object instance of the page
The view object of increasing), and shown in message and show message group page window on the page, message group page window includes first
User object and second user object.
Fig. 3 f is referred to, is a kind of schematic diagram for creating message group page window provided in an embodiment of the present invention, the page
60f is that message shows page 60f, and message shows that page 60f includes the first head portrait page window 60g and the second head portrait page window
60j.First head portrait page window 60g is carried out the second slide to the second head portrait page window 60j by user, as the second sliding behaviour
When making the second sliding distance generated and meeting group's formation condition, the first process can copy the first head portrait page window 60g
The top that page 60f is shown with the second head portrait page window 60j of copy to message, the user couple for prompting user to be chosen
As.Button " is created " immediately when the user clicks, according to corresponding first user object of the first head portrait page window 60g and second
As the corresponding second user object of page window 60j, is shown in message and create message group page window 60h on page 60f, and
Show that message group page window 60h, message group page window include the first user object, second user object.
Optionally, user, can also be outstanding to user's head portrait is sent other than it can click and send user's head portrait suspension windows
Floating window mouth carries out slide (referred to as third slide), and third slide corresponds to third sliding distance and third sliding side
To.
When third sliding distance and third glide direction meet user's head portrait list display condition, the second process, which generates, to be used
Account shows user's head portrait list suspension windows as list suspension windows on target pages, and user's head portrait list is outstanding
Floating window mouth includes sending user's head portrait.
If the quantity for sending user's head portrait is multiple, then user's head portrait list suspension windows are comprising all transmissions
User's head portrait.
Fig. 3 g is referred to, is a kind of schematic diagram of determining user's head portrait list suspension windows provided in an embodiment of the present invention,
Page 60k is target pages 60k, and target pages 60k includes to send user's head portrait suspension windows 60m.User slides to send and use
The third sliding distance and third glide direction that account is given birth to as suspension windows 60m, when above-mentioned sliding meet user's head portrait list
Display condition generates user's head portrait list suspension windows 60n, and user's head portrait list suspension windows 60n is outstanding comprising user's head portrait
All transmission user head portraits that floating window mouth 60m is included.
The slide (for example, sliding to the right in target pages) to target pages is responded, user's head portrait list suspends
Window can be hidden;Certainly, after hiding, user still can be by carrying out slide, for that will use account in target pages
As list suspension windows pop up.
Fig. 3 h is referred to, is a kind of schematic diagram for sliding user's head portrait list suspension windows provided in an embodiment of the present invention,
Page 60p is target pages, and user can slide to the right user's head portrait list suspension windows 60q in target pages 60p
Dynamic operation, to hide user's head portrait list suspension windows 60q;Either user can also to target pages 60p carry out upwards (or
Slide downwards), to hide user's head portrait list suspension windows 60q.It is subsequent, user can still be carried out in target pages to
Left slide shows user's head portrait list suspension windows 60q for popping up user's head portrait list suspension windows 60q
In target pages 60q.
Fig. 4 a is referred to, is the flow diagram of another page processing method provided in an embodiment of the present invention, such as Fig. 4 a
Shown, this method may include:
Step S301, display belong to the target pages of the first process;The target pages are that foreground shows the page.
Step S302 shows on the target pages when receiving the conversation message for belonging to the second process and does not read to disappear
Cease warning banner.
Step S303, response are directed to the trigger action of the unread message warning banner, detect and wrap in the conversation message
The character quantity contained
Specifically, user can click the unread message warning banner, Activity component corresponding with target pages can
To respond the clicking operation, and notify the first process.Based on striding course synchronous service, the first process clicks behaviour to second into synchronous
Make information, the character quantity that the second process detection conversation message includes.
Step S304 creates first in second process if the character quantity is less than or equal to amount threshold
The first conversation message suspension windows are determined as the conversation message window by conversation message suspension windows, and in the mesh
The first conversation message suspension windows are shown on the mark page;The first conversation message suspension windows are meeting described in static status display
Talk about the suspension windows of message.
Specifically, if the character quantity that the second process detection includes into conversation message is less than or equal to amount threshold,
Creation includes the suspended window (referred to as the first conversation message suspension windows) of conversation message, and in the first conversation message suspension windows
Conversation message is static display.First conversation message suspension windows can be determined as conversation message window by the second process.
Step S305 creates the second meeting if the character quantity is greater than the amount threshold in second process
Message suspension windows are talked about, the second conversation message suspension windows are determined as the conversation message window, and in the target
The second conversation message suspension windows are shown on the page;The second conversation message suspension windows are session described in Dynamically Announce
The suspension windows of message.
Specifically, creation includes if the character quantity that the second process detection includes into conversation message is greater than amount threshold
The suspended window (referred to as the second conversation message suspension windows) of conversation message, and the conversation message in the second conversation message suspension windows
It is Dynamic Display.Second conversation message suspension windows can be determined as conversation message window by the second process.
Fig. 4 b is referred to, is a kind of schematic diagram of determining conversation message window provided in an embodiment of the present invention, page 60r is
The target pages 60r for belonging to the first process shows unread message when the second process receives conversation message on target pages
Warning banner.User clicks the unread message warning banner, the second process creation conversation message suspension windows 60s, which disappears
Ceasing includes conversation message in suspension windows 60s, and wherein conversation message can be shown according to static mode in conversation message suspended window
In mouth 60s, it can also be shown in conversation message suspension windows 60s according to dynamical fashion.If user is to conversation message suspended window
Mouth 60s is slided, and conversation message suspension windows 60s can be hidden.
Step S306, response are directed to the trigger action of the conversation message window, create secondary page;The secondary page
Including first message page window, third head portrait page window and the 4th head portrait page window;The first message page window
Mouth includes the first message;The third head portrait page window includes the corresponding user's head portrait of the third user object;Institute
Stating the 4th head portrait page window includes the corresponding user's head portrait of the fourth user object.
Specifically, conversation message includes first message and second message, first message belongs to third user object, and second disappears
Breath belongs to fourth user object, and the receiving time stamp of first message is less than the receiving time stamp of second message, i.e. the second process
It is first to receive first message, is then receiving second message.
User clicks conversation message window, is to click the first conversation message suspension windows or the suspension of the second conversation message
Window, the second process close conversation message window, and create secondary page, the secondary page include first message page window,
Third head portrait page window and the 4th head portrait page window.Wherein, first message page window includes first message;Third head
As page window includes user's head portrait of third user object;4th head portrait page window uses account comprising fourth user object
Picture.
Second process creation includes first message page window, third head portrait page window, the 4th head portrait page window
The principle of secondary page, it is all identical as the aforementioned middle creation conversation message page, the principle of the messaging list page, it just no longer chats herein
It states.
Step S307 shows the secondary page on the target pages.
It is to show that first disappears on target pages specifically, showing the secondary page of above-mentioned creation on target pages
Cease page window, third head portrait page window and the 4th head portrait page window.Second process shows the principle of secondary page, and preceding
It is all identical to state middle display session message page, the principle of the messaging list page, just no longer describes herein.
Step S308, response are directed to the third head portrait page window in the secondary page to the 4th head portrait page
The slide of face-port mouth, creation include the second message page window of the second message, and will on the secondary page
The first message page window is switched to the second message page window.
Specifically, user slides the 4th head portrait page window to third head portrait page window, the second process creation
Second message page window comprising second message, is switched to second message page for first message page window on secondary page
Face-port mouth.From the perspective of terminal device, second message page window is switched to from first message page window, being will be auxiliary
The view in the corresponding Activity object instance of the page about first message page window is helped to be switched to second message page window
The view of mouth.
By sliding head portrait page window, so that it may which the switching for realizing message page window can be convenient user and check not
The different conversation message with source.
Fig. 4 c is referred to, is a kind of schematic diagram for switching page window provided in an embodiment of the present invention, page 70a is target
Page 70a, display includes the conversation message suspension windows 70g of conversation message in target pages 70a, and wherein conversation message includes
First message and second message.User carries out clicking operation to conversation message suspension windows 70g, creates secondary page 70b, this is auxiliary
Helping the page includes first message page window 70d, third head portrait page window 70c and the 4th head portrait page window 70e,
In, first message page window 70d includes first message.User is by the 4th head portrait page window 70e to third head portrait page window
Mouth 70c is slided, and the first message page window 70d in secondary page 70b is switched to the second message page by the second process
Window 70f, second message page window include second message.
Fig. 4 d is referred to, is a kind of interaction schematic diagram of determining unread message warning banner provided in an embodiment of the present invention,
Determine that unread message warning banner includes the following steps:
Step S401, conversation message transmitting terminal send conversation message to the second process of conversation message receiving end.
Step S402, the second process parse conversation message type.
Specifically, the second process parses conversation message type, conversation message type includes unread message type and has read to disappear
Cease type.
Step S403, process status information of first process to second the first process of Process Synchronization.
For first process to the second Process Synchronization process status information, process status information includes front stage operation state and backstage
Wait state.
Step S404, the second process filtration system notice.
If the process status information of the first process is front stage operation state, the system of the second process filtering conversation message is logical
Know, and unread message quantity is determined according to conversation message type.
Step S405, the second process is to the first Process Synchronization unread message quantity.
Step S406, the first process generate unread message warning banner according to unread message quantity, and on target pages
Show unread message warning banner.
Further, Fig. 5 is referred to, is a kind of structural schematic diagram of Page handling device provided in an embodiment of the present invention.
As shown in figure 5, Page handling device 1 can be applied to the terminal device in above-mentioned Fig. 1-Fig. 4 d corresponding embodiment, page processing
Device 1 may include: the first display module 11, the second display module 12, respond module 13, the first creation module 14.
First display module 11, for showing the target pages for belonging to the first process;The target pages are that foreground is shown
The page;
Second display module 12, for when receiving the conversation message for belonging to the second process, on the target pages
Show unread message warning banner;
Respond module 13, for responding the trigger action for being directed to the unread message warning banner;
First creation module 14, for creating conversation message window according to the conversation message, on the target pages
Show the conversation message window.
Wherein, the first display module 11, the second display module 12, respond module 13, the first creation module 14 specific function
The mode of being able to achieve may refer to the step S101- step S103 in above-mentioned Fig. 2 a corresponding embodiment, be not discussed here.
Fig. 5 is referred to, the second display module 12 may include: acquiring unit 121, synchronization unit 122.
Acquiring unit 121 receives the conversation message for belonging to second process for working as, and the conversation message
When with display priority, transmission user's head portrait corresponding with the conversation message is obtained in second process, and obtain
The quantity of the conversation message, as unread message quantity;
The process status information of first process is synchronized to by synchronization unit 122 for being based on striding course synchronous service
Second process;The process status information includes front stage operation state;
The synchronization unit 122, if being also used to second process is front stage operation state, and the conversation message belongs to
Unread message type is then based on the striding course synchronous service, and the unread message quantity and transmission user's head portrait is same
It walks to first process;
The synchronization unit 122 is also used in first process, according to the unread message quantity and the transmission
User's head portrait generates the unread message warning banner, and the unread message warning banner is shown on the target pages.
Wherein, acquiring unit 121, synchronization unit 122 concrete function implementation to may refer to above-mentioned Fig. 2 a corresponding real
The step S202 in example is applied, is not discussed here.
Fig. 5 is referred to, Page handling device 1 may include: the first display module 11, the second display module 12, response mould
Block 13, the first creation module 14;It can also include: to obtain module 15, notification module 16.
Module 15 is obtained, for obtaining the eap-message digest of the conversation message, and according to described in second process
Eap-message digest creates the messaging list page;The messaging list page includes messaging list page window;The messaging list page
Face-port mouth includes the eap-message digest;
The acquisition module 15 is also used to enter the messaging list page in the corresponding task stack of first process
Stack, and the messaging list page is activated, to show the messaging list page on the target pages;
Notification module 16 notifies first wound for responding the trigger action for being directed to the messaging list page window
It models block and executes corresponding step.
Wherein, module 15 is obtained, the concrete function implementation of notification module 16 may refer to the corresponding implementation of above-mentioned Fig. 2 a
Step S103 in example, is not discussed here.
Fig. 5 is referred to, the first creation module 14 may include: the first creating unit 141, enter stack cell 142.
First creating unit 141, for creating the conversation message page in second process;The conversation message page
Face includes the conversation message page window;The conversation message page window includes the conversation message;
First creating unit 141 is also used to the conversation message page window being determined as the conversation message window
Mouthful;
Enter stack cell 142, is used in the task stack to the conversation message page stacking, and the session is activated to disappear
The page is ceased, to show the conversation message page window in the conversation message page on the target pages.
Wherein, the first creating unit 141, the concrete function implementation for entering stack cell 142 may refer to above-mentioned Fig. 2 a couple
The step S103 in embodiment is answered, is not discussed here.
Fig. 5 is referred to, conversation message page further includes conversation message page close mark;The messaging list page further includes
Messaging list page close mark;The target pages further include that target pages close mark;
Page handling device 1 may include: the first display module 11, the second display module 12, the wound of respond module 13, first
It models block 14, obtain module 15, notification module 16;It can also include: closedown module 17.
The respond module 13 is also used to respond the trigger action for conversation message page close mark, is directed to
The trigger action of the messaging list page close mark, the trigger action that mark is closed for the target pages;
Closedown module 17, for closing the conversation message page, the messaging list page, the target pages.
Wherein respond module 13, closedown module 17 concrete function implementation may refer to above-mentioned Fig. 2 a corresponding embodiment
In step S103, be not discussed here.
Refer to Fig. 5, the conversation message page, the messaging list page and the target pages belong to
The task stack;The conversation message page is located at the task stack stack top, the messaging list page and the messaging list
The page is adjacent, and the target pages are adjacent with the conversation message page;
Closedown module 17 may include: first go out stack cell 171, second go out stack cell 172.
First goes out stack cell 171, for the conversation message page to be popped from the task stack, to close the meeting
Talk about message page;
Second goes out stack cell 172, for the messaging list page to be popped from the task stack, to disappear described in closing
Cease original list;
Described second goes out stack cell 172, is also used to pop the target pages from the task stack, described in closing
Target pages.
Wherein, the first concrete function implementation that stack cell 171, second goes out stack cell 172 out may refer to above-mentioned figure
Step S103 in 2a corresponding embodiment.
Fig. 5 is referred to, the conversation message page further includes conversation message page folding mark;
Page handling device 1 may include: the first display module 11, the second display module 12, the wound of respond module 13, first
It models block 14, obtain module 15, notification module 16, closedown module 17;It can also include: generation module 18, business conduct operation
Module 19.
The respond module 13 is also used to respond the trigger action for conversation message page folding mark, obtain
Transmission user's head portrait corresponding with the conversation message;
Generation module 18 generates according to transmission user's head portrait for closing the conversation message page and sends user
Head portrait suspension windows, and the transmission user head portrait suspension windows are shown on the target pages;
The generation module 18 is also used to respond for the trigger action for sending user's head portrait suspension windows, creation
Message shows the page, and shows that the message shows the page on target pages;The message shows that the page includes the head portrait page
Window;The head portrait page window includes transmission user's head portrait;
Business conduct operation module 19, for respond be directed to the head portrait page window trigger action, execute with it is described
Message shows the associated business conduct operation of the page.
Wherein, respond module 13, generation module 18, business conduct operation module 19 concrete function implementation can join
See the step S204- step S207 in above-mentioned Fig. 3 a corresponding embodiment, is not discussed here.
Fig. 5 is referred to, business conduct operation module 19 may include: the first response unit 191, closing unit 192.
First response unit 191, for responding the first slide for being directed to the head portrait page window;Described first is sliding
It is dynamic to operate corresponding first sliding distance and the first glide direction;
Closing unit 192, for meeting the page when first sliding distance and first glide direction and deleting condition
When, it closes the message and shows the page.
Wherein, the first response unit 191, closing unit 192 concrete function implementation may refer to above-mentioned Fig. 3 a couple
The step S207 in embodiment is answered, is not discussed here.
Fig. 5 is referred to, head portrait page window includes the first head portrait page window and the second head portrait page window;The message
Show that the page further includes the conversation message page window;
Business conduct operation module 19 may include: the second response unit 193, the second creating unit 194.
Second response unit 193, for responding the first head portrait page window to the second head portrait page window
Second slide;Corresponding second sliding distance of second slide;
Second creating unit 194, for when second sliding distance meets group's formation condition, according to described first
Corresponding first user object of head portrait page window and the corresponding second user object of the second head portrait page window, creation disappear
Group page window is ceased, and is shown in the message and the conversation message page window is switched to the message group on the page
Page window;The message group page window includes first user object and the second user object.
Wherein, the second response unit 193, the second creating unit 194 concrete function implementation may refer to above-mentioned figure
Step S207 in 3a corresponding embodiment, is not discussed here.
Fig. 5 is referred to, Page handling device 1 may include: the first display module 11, the second display module 12, response mould
Block 13, the first creation module 14 obtain module 15, notification module 16, closedown module 17, generation module 18, business conduct operation
Module 19;It can also include: the second creation module 20.
The respond module 13 is also used to respond for the third slide for sending user's head portrait suspension windows;
The third slide corresponds to third sliding distance and third glide direction;
Second creation module 20, for meeting user's head portrait column when the third sliding distance and the third glide direction
When table display condition, according to transmission user's head portrait, user's head portrait list suspension windows are created on the target pages;Institute
Stating user's head portrait list suspension windows includes transmission user's head portrait.
Wherein, respond module 13, the second creation module 20 concrete function implementation to may refer to above-mentioned Fig. 3 a corresponding
Step S207 in embodiment, is not discussed here.
Fig. 5 is referred to, the first creation module 14 may include: detection unit 143, determination unit 144.
Detection unit 143, for detecting the character quantity for including in the conversation message;
Determination unit 144 is created in second process if being less than or equal to amount threshold for the character quantity
The first conversation message suspension windows are built, the first conversation message suspension windows are determined as the conversation message window, and
The first conversation message suspension windows are shown on the target pages;The first conversation message suspension windows are static status display
The suspension windows of the conversation message;
The determination unit 144, if being also used to the character quantity greater than the amount threshold, in second process
The second conversation message suspension windows are determined as the conversation message window by the second conversation message suspension windows of middle creation,
And the second conversation message suspension windows are shown on the target pages;The second conversation message suspension windows are dynamic
Show the suspension windows of the conversation message.
Wherein, detection unit 143, determination unit 144 concrete function implementation to may refer to above-mentioned Fig. 4 a corresponding real
The step S303- step S308 in example is applied, is not discussed here.
Fig. 5 is referred to, the conversation message includes first message and second message;The first message belongs to third user
Object, the second message belongs to fourth user object, and the receiving time stamp of the first message is less than the second message
Receiving time stamp;
Page handling device 1 may include: the first display module 11, the second display module 12, the wound of respond module 13, first
It models block 14, obtain module 15, notification module 16, closedown module 17, generation module 18, business conduct operation module 19, second
Creation module 20;It can also include: third display module 21.
The respond module 13 is also used to respond the trigger action for being directed to the conversation message window, creates secondary page;
The secondary page includes first message page window, third head portrait page window and the 4th head portrait page window;Described
One message page window includes the first message;The third head portrait page window includes that the third user object is corresponding
User's head portrait;The 4th head portrait page window includes the corresponding user's head portrait of the fourth user object;
Third display module 21, for showing the secondary page on the target pages;
The respond module 13 is also used to respond for the third head portrait page window in the secondary page to institute
The slide of the 4th head portrait page window is stated, creation includes the second message page window of the second message, and described
The first message page window is switched to the second message page window on secondary page.
Wherein, respond module 13, third display module 21 concrete function implementation to may refer to above-mentioned Fig. 4 a corresponding
Step S308 in embodiment, is not discussed here.
Further, Fig. 6 is referred to, is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.It is above-mentioned
Terminal device in Fig. 1-Fig. 4 d corresponding embodiment can be electronic equipment 1000, as shown in fig. 6, the electronic equipment 1000 can
To include: user interface 1002, processor 1004, encoder 1006 and memory 1008.Signal receiver 1016 is for passing through
By cellular interface 1010, WIFI interface 1012 ... or NFC interface 1014 receive or send data.Encoder 1006 will connect
The data encoding received is the data format of computer disposal.Computer program, processor 1004 are stored in memory 1008
It is arranged to execute the step in any of the above-described embodiment of the method by computer program.Memory 1008 may include volatibility
Memory (for example, dynamic random access memory DRAM) can also include nonvolatile memory (for example, can disposably compile
Journey read-only memory OTPROM).In some instances, memory 1008 can further comprise remotely setting relative to processor 1004
The memory set, these remote memories can pass through network connection to electronic equipment 1000.User interface 1002 may include:
Keyboard 1018 and display 1020.
In electronic equipment 1000 shown in Fig. 6, processor 1004, which can be used for calling storing in memory 1008, to be calculated
Machine program, to realize:
Display belongs to the target pages of the first process;The target pages are that foreground shows the page;
When receiving the conversation message for belonging to the second process, show that unread message reminds mark on the target pages
Know;
Response is directed to the trigger action of the unread message warning banner, creates conversation message window according to the conversation message
Mouthful, the conversation message window is shown on the target pages.
In one embodiment, the processor 1004 is being executed when receiving the conversation message for belonging to the second process,
When showing unread message warning banner on the target pages, following steps are specifically executed:
When receiving the conversation message for belonging to second process, and the conversation message has display priority
When, transmission user's head portrait corresponding with the conversation message is obtained in second process, and obtain the conversation message
Quantity, as unread message quantity;
Based on striding course synchronous service, the process status information of first process is synchronized to second process;Institute
Stating process status information includes front stage operation state;
If second process is front stage operation state, and the conversation message belongs to unread message type, then is based on institute
Striding course synchronous service is stated, the unread message quantity and transmission user's head portrait are synchronized to first process;
In first process, do not read to disappear according to described in the unread message quantity and transmission user's head portrait generation
Warning banner is ceased, and shows the unread message warning banner on the target pages.
In one embodiment, the processor 1004 also executes following steps:
In second process, the eap-message digest of the conversation message is obtained, and disappear according to eap-message digest creation
Cease original list;The messaging list page includes messaging list page window;The messaging list page window includes described
Eap-message digest;
To the messaging list page stacking in the corresponding task stack of first process, and activate the messaging list
The page, to show the messaging list page on the target pages;
Response is directed to the trigger action of the messaging list page window, executes and is disappeared according to conversation message creation session
The step of ceasing window.
In one embodiment, the processor 1004 is being executed according to conversation message creation conversation message window,
When showing the conversation message window on the target pages, following steps are specifically executed:
In second process, the conversation message page is created;The conversation message page includes the conversation message page
Face-port mouth;The conversation message page window includes the conversation message;
The conversation message page window is determined as the conversation message window;
To the conversation message page stacking in the task stack, and the conversation message page is activated, described
The conversation message page window in the conversation message page is shown on target pages.
In one embodiment, the conversation message page further includes conversation message page close mark;The messaging list
The page further includes messaging list page close mark;The target pages further include that target pages close mark;
The processor 1004 also executes following steps:
Response is directed to the trigger action of conversation message page close mark, is directed to the messaging list page close mark
The trigger action of knowledge, the trigger action that mark is closed for the target pages, close the conversation message page, the message
Original list, the target pages.
In one embodiment, the conversation message page, the messaging list page and the target pages are equal
Belong to and the task stack;The conversation message page is located at the task stack stack top, the messaging list page and the meeting
Words message page is adjacent, and the target pages are adjacent with the messaging list page;
The processor 1004 is executing the closing conversation message page, the messaging list page, the page object
When face, following steps are specifically executed:
The conversation message page is popped from the task stack, to close the conversation message page;
The messaging list page is popped from the task stack, to close the messaging list page;
The target pages are popped from the task stack, to close the target pages.
In one embodiment, the conversation message page further includes conversation message page folding mark;
The processor 1004 also executes following steps:
Response obtains hair corresponding with the conversation message for the trigger action of conversation message page folding mark
Send user's head portrait;
The conversation message page is closed, is generated according to transmission user's head portrait and sends user's head portrait suspension windows, and
The transmission user head portrait suspension windows are shown on the target pages;
Response shows the page for the trigger action for sending user's head portrait suspension windows, creation message, and described
Show that the message shows the page on target pages;The message shows that the page includes head portrait page window;The head portrait page
Window includes transmission user's head portrait;
Response is directed to the trigger action of the head portrait page window, executes business associated with the message display page
Behavior operation.
In one embodiment, the processor 1004 is executing response for the triggering behaviour of the head portrait page window
Make, when executing business conduct operation associated with the message display page, specifically execute following steps:
Response is directed to the first slide of the head portrait page window;Corresponding first sliding of first slide away from
From with the first glide direction;
When first sliding distance and first glide direction, which meet the page, deletes condition, it is aobvious to close the message
Show the page.
In one embodiment, the head portrait page window includes the first head portrait page window and the second head portrait page window
Mouthful;The message shows that the page further includes the conversation message page window;
The processor 1004 is executing response for the trigger action of the head portrait page window, executes and the message
When showing that the associated business conduct of the page operates, following steps are specifically executed:
The response is directed to the trigger action of the head portrait page window, executes and shows that the page is associated with the message
Business conduct operation, comprising:
Respond second slide of the first head portrait page window to the second head portrait page window;Described second
Slide corresponds to the second sliding distance;
When second sliding distance meets group's formation condition, according to the first head portrait page window corresponding
One user object and the corresponding second user object of the second head portrait page window, creation message group page window, and
The message, which is shown, is switched to the message group page window for the conversation message page window on the page;The group of messages
Group page window includes first user object and the second user object.
In one embodiment, the processor 1004 also executes following steps:
Response is for the third slide for sending user's head portrait suspension windows;The third slide corresponding the
Three sliding distances and third glide direction;
When the third sliding distance and the third glide direction meet user's head portrait list display condition, according to institute
It states and sends user's head portrait, user's head portrait list suspension windows are created on the target pages;User's head portrait list suspends
Window includes transmission user's head portrait.
In one embodiment, the processor 1004 is being executed according to conversation message creation conversation message window,
When showing the conversation message window on the target pages, following steps are specifically executed:
Detect the character quantity for including in the conversation message;
If the character quantity is less than or equal to amount threshold, it is outstanding that the first conversation message is created in second process
The first conversation message suspension windows are determined as the conversation message window by floating window mouth, and are shown on the target pages
Show the first conversation message suspension windows;The first conversation message suspension windows are the outstanding of conversation message described in static status display
Floating window mouth;
If the character quantity is greater than the amount threshold, the suspension of the second conversation message is created in second process
The second conversation message suspension windows are determined as the conversation message window, and shown on the target pages by window
The second conversation message suspension windows;The second conversation message suspension windows are the suspension of conversation message described in Dynamically Announce
Window.
In one embodiment, the conversation message includes first message and second message;The first message belongs to
Three user objects, the second message belong to fourth user object, and the receiving time stamp of the first message is less than described the
The receiving time of two message is stabbed;
The processor 1004 also executes following steps:
Response is directed to the trigger action of the conversation message window, creates secondary page;The secondary page includes first
Message page window, third head portrait page window and the 4th head portrait page window;The first message page window includes institute
State first message;The third head portrait page window includes the corresponding user's head portrait of the third user object;The four-head
As page window includes the corresponding user's head portrait of the fourth user object;
The secondary page is shown on the target pages;
Response is directed to the third head portrait page window in the secondary page to the 4th head portrait page window
Slide, creation include the second message page window of the second message, and by described first on the secondary page
Message page windows exchange is the second message page window.
It should be appreciated that corresponding to executable Fig. 1 to Fig. 4 d above of electronic equipment 1000 described in the embodiment of the present invention
To the description of the page processing method in embodiment, also can be performed in embodiment corresponding to Fig. 5 above to page processing
The description of device 1, details are not described herein.In addition, being described to using the beneficial effect of same procedure, also no longer repeated.
In addition, it need to be noted that: the embodiment of the invention also provides a kind of computer storage medium, and the meter
Computer program performed by the Page handling device 1 being mentioned above, and the computer journey are stored in calculation machine storage medium
Sequence includes program instruction, when the processor executes described program instruction, is able to carry out the corresponding implementation of Fig. 1 to Fig. 4 d above
Therefore description in example to the page processing method will be repeated no longer here.In addition, having to using same procedure
Beneficial effect description, is also no longer repeated.For undisclosed skill in computer storage medium embodiment according to the present invention
Art details please refers to the description of embodiment of the present invention method.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (15)
1. a kind of page processing method characterized by comprising
Display belongs to the target pages of the first process;The target pages are that foreground shows the page;
When receiving the conversation message for belonging to the second process, unread message warning banner is shown on the target pages;
Response is directed to the trigger action of the unread message warning banner, creates conversation message window according to the conversation message,
The conversation message window is shown on the target pages.
2. the method according to claim 1, wherein described ought receive the conversation message for belonging to the second process
When, unread message warning banner is shown on the target pages, comprising:
When receiving the conversation message for belonging to second process, and when the conversation message has display priority,
Transmission user's head portrait corresponding with the conversation message is obtained in second process, and obtains the quantity of the conversation message,
As unread message quantity;
Based on striding course synchronous service, the process status information of first process is synchronized to second process;It is described into
Journey status information includes front stage operation state;
If second process is front stage operation state, and the conversation message belongs to unread message type, then based on it is described across
The unread message quantity and transmission user's head portrait are synchronized to first process by Process Synchronization service;
In first process, the unread message is generated according to the unread message quantity and transmission user's head portrait and is mentioned
It wakes up and identifies, and show the unread message warning banner on the target pages.
3. the method according to claim 1, wherein further include:
In second process, the eap-message digest of the conversation message is obtained, and message column is created according to the eap-message digest
The table page;The messaging list page includes messaging list page window;The messaging list page window includes the message
Abstract;
To the messaging list page stacking in the corresponding task stack of first process, and activate the messaging list page
Face, to show the messaging list page on the target pages;
Response is directed to the trigger action of the messaging list page window, executes and creates conversation message window according to the conversation message
The step of mouth.
4. according to the method described in claim 3, it is characterized in that, described create conversation message window according to the conversation message
Mouthful, the conversation message window is shown on the target pages, comprising:
In second process, the conversation message page is created;The conversation message page includes the conversation message page window
Mouthful;The conversation message page window includes the conversation message;
The conversation message page window is determined as the conversation message window;
To the conversation message page stacking in the task stack, and the conversation message page is activated, in the target
The conversation message page window in the conversation message page is shown on the page.
5. method as claimed in claim 4, which is characterized in that the conversation message page further includes conversation message page close mark
Know;The messaging list page further includes messaging list page close mark;The target pages further include that target pages are closed
Mark;
The method also includes:
What response was identified for the trigger action of conversation message page close mark, for the messaging list page close
Trigger action, the trigger action that mark is closed for the target pages, close the conversation message page, the messaging list
The page, the target pages.
6. according to the method described in claim 5, it is characterized in that, the conversation message page, the messaging list page
Face and the target pages belong to and the task stack;The conversation message page is located at the task stack stack top, described to disappear
Breath original list is adjacent with the conversation message page, and the target pages are adjacent with the messaging list page;
It is described to close the conversation message page, the messaging list page, the target pages, comprising:
The conversation message page is popped from the task stack, to close the conversation message page;
The messaging list page is popped from the task stack, to close the messaging list page;
The target pages are popped from the task stack, to close the target pages.
7. according to the method described in claim 4, it is characterized in that, the conversation message page further includes conversation message page folding
Folded mark;
The method also includes:
Response obtains transmission corresponding with the conversation message and uses for the trigger action of conversation message page folding mark
Account picture;
The conversation message page is closed, is generated according to transmission user's head portrait and sends user's head portrait suspension windows, and in institute
It states and shows the transmission user head portrait suspension windows on target pages;
Response shows the page for the trigger action for sending user's head portrait suspension windows, creation message, and in the target
Show that the message shows the page on the page;The message shows that the page includes head portrait page window;The head portrait page window
Including transmission user's head portrait;
Response is directed to the trigger action of the head portrait page window, executes business conduct associated with the message display page
Operation.
8. the method according to the description of claim 7 is characterized in that the response is grasped for the triggering of the head portrait page window
Make, execute business conduct associated with the message display page and operate, comprising:
Response is directed to the first slide of the head portrait page window;Corresponding first sliding distance of first slide and
First glide direction;
When first sliding distance and first glide direction, which meet the page, deletes condition, closes the message and show page
Face.
9. the method according to the description of claim 7 is characterized in that the head portrait page window includes the first head portrait page window
With the second head portrait page window;The message shows that the page further includes the conversation message page window;
The response is directed to the trigger action of the head portrait page window, executes business associated with the message display page
Behavior operation, comprising:
Respond second slide of the first head portrait page window to the second head portrait page window;Second sliding
Operate corresponding second sliding distance;
When second sliding distance meets group's formation condition, used according to the first head portrait page window corresponding first
Family object and the corresponding second user object of the second head portrait page window create message group page window, and described
Message, which is shown, is switched to the message group page window for the conversation message page window on the page;The message group page
Face-port mouth includes first user object and the second user object.
10. the method according to the description of claim 7 is characterized in that further include:
Response is for the third slide for sending user's head portrait suspension windows;It is sliding that the third slide corresponds to third
Dynamic distance and third glide direction;
When the third sliding distance and the third glide direction meet user's head portrait list display condition, according to the hair
User's head portrait is sent, user's head portrait list suspension windows are created on the target pages;User's head portrait list suspension windows
Include transmission user's head portrait.
11. the method according to claim 1, wherein described create conversation message window according to the conversation message
Mouthful, the conversation message window is shown on the target pages, comprising:
Detect the character quantity for including in the conversation message;
If the character quantity is less than or equal to amount threshold, the first conversation message suspended window is created in second process
Mouthful, the first conversation message suspension windows are determined as the conversation message window, and institute is shown on the target pages
State the first conversation message suspension windows;The first conversation message suspension windows are the suspended window of conversation message described in static status display
Mouthful;
If the character quantity is greater than the amount threshold, the second conversation message suspended window is created in second process
Mouthful, the second conversation message suspension windows are determined as the conversation message window, and institute is shown on the target pages
State the second conversation message suspension windows;The second conversation message suspension windows are the suspended window of conversation message described in Dynamically Announce
Mouthful.
12. according to the method for claim 11, which is characterized in that the conversation message includes that first message and second disappear
Breath;The first message belongs to third user object, and the second message belongs to fourth user object, and the first message
The receiving time that receiving time stamp is less than the second message is stabbed;
The method also includes:
Response is directed to the trigger action of the conversation message window, creates secondary page;The secondary page includes first message
Page window, third head portrait page window and the 4th head portrait page window;The first message page window includes described the
One message;The third head portrait page window includes the corresponding user's head portrait of the third user object;The 4th head portrait page
Face-port mouth includes the corresponding user's head portrait of the fourth user object;
The secondary page is shown on the target pages;
Sliding of the response for the third head portrait page window in the secondary page to the 4th head portrait page window
Operation, creation include the second message page window of the second message, and by the first message on the secondary page
Page window is switched to the second message page window.
13. a kind of Page handling device characterized by comprising
First display module, for showing the target pages for belonging to the first process;The target pages are that foreground shows the page;
Second display module, for being shown not on the target pages when receiving the conversation message for belonging to the second process
Read prompting message mark;
Respond module, for responding the trigger action for being directed to the unread message warning banner;
First creation module shows institute for creating conversation message window according to the conversation message on the target pages
State conversation message window.
14. a kind of electronic equipment characterized by comprising processor and memory;
The processor is connected with memory, wherein the memory is for storing program code, and the processor is for calling
Said program code, to execute such as the described in any item methods of claim 1-12.
15. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, described
Computer program includes program instruction, and described program is instructed when being executed by a processor, executed such as any one of claim 1-12
The method.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910419822.6A CN110134481B (en) | 2019-05-20 | 2019-05-20 | Page processing method and device and related equipment |
CN202310990160.4A CN116841685A (en) | 2019-05-20 | 2019-05-20 | Page processing method and device and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910419822.6A CN110134481B (en) | 2019-05-20 | 2019-05-20 | Page processing method and device and related equipment |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310990160.4A Division CN116841685A (en) | 2019-05-20 | 2019-05-20 | Page processing method and device and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110134481A true CN110134481A (en) | 2019-08-16 |
CN110134481B CN110134481B (en) | 2023-07-14 |
Family
ID=67571476
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310990160.4A Pending CN116841685A (en) | 2019-05-20 | 2019-05-20 | Page processing method and device and related equipment |
CN201910419822.6A Active CN110134481B (en) | 2019-05-20 | 2019-05-20 | Page processing method and device and related equipment |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310990160.4A Pending CN116841685A (en) | 2019-05-20 | 2019-05-20 | Page processing method and device and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN116841685A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781408A (en) * | 2019-10-25 | 2020-02-11 | 上海连尚网络科技有限公司 | Information display method and device |
CN110795097A (en) * | 2019-11-04 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN110968387A (en) * | 2019-10-29 | 2020-04-07 | 浙江口碑网络技术有限公司 | Message processing method and device and electronic equipment |
CN111260401A (en) * | 2020-01-16 | 2020-06-09 | 上海连尚网络科技有限公司 | Method and equipment for displaying presentation information on reading page |
CN111488107A (en) * | 2020-03-26 | 2020-08-04 | 北京小米移动软件有限公司 | Multitask interaction control method, multitask interaction control device and storage medium |
CN111538574A (en) * | 2020-03-27 | 2020-08-14 | 北京达佳互联信息技术有限公司 | Task stack management method, device, terminal and storage medium |
CN111596830A (en) * | 2020-05-15 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Message reminding method and device |
CN111813308A (en) * | 2020-06-24 | 2020-10-23 | 维沃移动通信有限公司 | Interface processing method and device, electronic equipment and storage medium |
CN113298275A (en) * | 2020-05-21 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Travel management method, robot and platform |
WO2022068483A1 (en) * | 2020-09-30 | 2022-04-07 | 华为技术有限公司 | Application startup method and apparatus, and electronic device |
CN114443201A (en) * | 2022-01-29 | 2022-05-06 | 北京字跳网络技术有限公司 | Message display method, device, equipment and storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117093110B (en) * | 2023-10-20 | 2024-04-05 | 荣耀终端有限公司 | Background image display method and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075337A (en) * | 2009-11-20 | 2011-05-25 | 腾讯科技(深圳)有限公司 | Instant communication message display method and related device |
CN103051516A (en) * | 2011-10-17 | 2013-04-17 | 腾讯科技(深圳)有限公司 | Message prompting method and device of instant messaging client |
CN105306338A (en) * | 2014-07-29 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Message reminding method and device |
US20170285881A1 (en) * | 2016-03-31 | 2017-10-05 | Atlassian Pty Ltd | Systems and methods for providing external content in a messaging interface |
CN107508961A (en) * | 2017-06-26 | 2017-12-22 | 努比亚技术有限公司 | A kind of active window starts method, terminal and computer-readable recording medium |
CN108549569A (en) * | 2018-04-26 | 2018-09-18 | 上海掌门科技有限公司 | The method and apparatus of information in a kind of search for application |
-
2019
- 2019-05-20 CN CN202310990160.4A patent/CN116841685A/en active Pending
- 2019-05-20 CN CN201910419822.6A patent/CN110134481B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075337A (en) * | 2009-11-20 | 2011-05-25 | 腾讯科技(深圳)有限公司 | Instant communication message display method and related device |
CN103051516A (en) * | 2011-10-17 | 2013-04-17 | 腾讯科技(深圳)有限公司 | Message prompting method and device of instant messaging client |
CN105306338A (en) * | 2014-07-29 | 2016-02-03 | 腾讯科技(深圳)有限公司 | Message reminding method and device |
US20170285881A1 (en) * | 2016-03-31 | 2017-10-05 | Atlassian Pty Ltd | Systems and methods for providing external content in a messaging interface |
CN107508961A (en) * | 2017-06-26 | 2017-12-22 | 努比亚技术有限公司 | A kind of active window starts method, terminal and computer-readable recording medium |
CN108549569A (en) * | 2018-04-26 | 2018-09-18 | 上海掌门科技有限公司 | The method and apparatus of information in a kind of search for application |
Non-Patent Citations (1)
Title |
---|
方元康等: "基于框架网页与页面阈值的会话识别算法", 计算机应用与软件, vol. 26, no. 01, pages 18 - 19 * |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110781408A (en) * | 2019-10-25 | 2020-02-11 | 上海连尚网络科技有限公司 | Information display method and device |
CN110781408B (en) * | 2019-10-25 | 2023-11-17 | 上海连尚网络科技有限公司 | Information display method and device |
CN110968387A (en) * | 2019-10-29 | 2020-04-07 | 浙江口碑网络技术有限公司 | Message processing method and device and electronic equipment |
CN110795097A (en) * | 2019-11-04 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN110795097B (en) * | 2019-11-04 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN111260401A (en) * | 2020-01-16 | 2020-06-09 | 上海连尚网络科技有限公司 | Method and equipment for displaying presentation information on reading page |
CN111260401B (en) * | 2020-01-16 | 2023-11-21 | 上海连尚网络科技有限公司 | Method and device for displaying presentation information on reading page |
CN111488107A (en) * | 2020-03-26 | 2020-08-04 | 北京小米移动软件有限公司 | Multitask interaction control method, multitask interaction control device and storage medium |
CN111538574A (en) * | 2020-03-27 | 2020-08-14 | 北京达佳互联信息技术有限公司 | Task stack management method, device, terminal and storage medium |
CN111538574B (en) * | 2020-03-27 | 2024-03-12 | 北京达佳互联信息技术有限公司 | Task stack management method, device, terminal and storage medium |
CN111596830B (en) * | 2020-05-15 | 2023-09-05 | 腾讯科技(深圳)有限公司 | Message reminding method and device |
CN111596830A (en) * | 2020-05-15 | 2020-08-28 | 腾讯科技(深圳)有限公司 | Message reminding method and device |
CN113298275A (en) * | 2020-05-21 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Travel management method, robot and platform |
CN111813308B (en) * | 2020-06-24 | 2022-02-08 | 维沃移动通信有限公司 | Interface processing method and device, electronic equipment and storage medium |
CN111813308A (en) * | 2020-06-24 | 2020-10-23 | 维沃移动通信有限公司 | Interface processing method and device, electronic equipment and storage medium |
WO2022068483A1 (en) * | 2020-09-30 | 2022-04-07 | 华为技术有限公司 | Application startup method and apparatus, and electronic device |
WO2023143299A1 (en) * | 2022-01-29 | 2023-08-03 | 北京字跳网络技术有限公司 | Message display method and apparatus, device, and storage medium |
CN114443201A (en) * | 2022-01-29 | 2022-05-06 | 北京字跳网络技术有限公司 | Message display method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN116841685A (en) | 2023-10-03 |
CN110134481B (en) | 2023-07-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110134481A (en) | A kind of page processing method, device and relevant device | |
CN100553238C (en) | A kind of associated user display system and method | |
KR102238205B1 (en) | Apparatus and method for maintaining a message thread with opt-in permanence for entries | |
US8780400B2 (en) | Message preview control | |
CN103955470B (en) | hotspot topic pushing method and device | |
TW201901606A (en) | Display method and device | |
CN108173738A (en) | Methods of exhibiting and device | |
CN100481849C (en) | Image-supplying system and protocol for wireless communication message | |
US20110161329A1 (en) | Tag cloud buddy list for messaging contacts | |
CN104519205A (en) | Method for managing communication records and electronic device thereof | |
CN103248738A (en) | Information processing method and mobile terminal | |
CN102904799A (en) | Method for recording streaming media data triggered via icon in instant communication and client | |
CN102404251A (en) | Realization method, client and system for instant messaging with remarking function | |
JP2023513453A (en) | Synchronized local room and remote sharing | |
CN109842541A (en) | Information processing method, device and storage medium | |
CN105763716A (en) | Short message processing method and short message processing terminal | |
CN104919419A (en) | Terminal and terminal manipulation method | |
CN106020645A (en) | Application starting method and apparatus | |
WO2023131290A1 (en) | Information interaction methods and apparatuses, electronic device and medium | |
CN108092873B (en) | Instant messaging method and system | |
CN106708632A (en) | Information editing method and information editing device | |
KR20060105221A (en) | Method of displaying contents on template of idle screen of mobile terminal, computer readable record medium on which program for executing method is recorded and mobile terminal having function thereof | |
CN103716444A (en) | Information processing method and electronic equipment | |
CN103384293B (en) | The method of split type terminal room applicating cooperation and split type terminal | |
KR100686164B1 (en) | Mobile communication terminal and method for displaying sms therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |