CN109799938A - Control display management method, terminal device and computer readable storage medium - Google Patents

Control display management method, terminal device and computer readable storage medium Download PDF

Info

Publication number
CN109799938A
CN109799938A CN201711139792.0A CN201711139792A CN109799938A CN 109799938 A CN109799938 A CN 109799938A CN 201711139792 A CN201711139792 A CN 201711139792A CN 109799938 A CN109799938 A CN 109799938A
Authority
CN
China
Prior art keywords
client
session
side program
control
message
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
Application number
CN201711139792.0A
Other languages
Chinese (zh)
Other versions
CN109799938B (en
Inventor
王琳琳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201711139792.0A priority Critical patent/CN109799938B/en
Publication of CN109799938A publication Critical patent/CN109799938A/en
Application granted granted Critical
Publication of CN109799938B publication Critical patent/CN109799938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A kind of control display management method, is related to field of communication technology, comprising: when triggering client-side program switches to running background or closes, the prompting message control of the target session in the interactive interface of the client-side program is set as hiding in the interactive interface.In addition, the present invention also provides a kind of terminal device and computer readable storage mediums.The present invention can simplify user's operation, improve the convenience for cancelling prompting message operation.

Description

Control display management method, terminal device and computer readable storage medium
Technical field
The present invention relates to field of communication technology more particularly to a kind of control display management methods, terminal device and computer Readable storage medium storing program for executing.
Background technique
With the development of computer and the communication technology, the intelligence of the terminal devices such as smart phone, tablet computer is increasingly Height increasingly becomes essential a part in people's life.Carrying out instant messaging is the normal of above-mentioned intelligent terminal equipment With one of function.In order to enable user understands the message that communication counterpart is sent in time, instant communication client program usually all can The message data received is reminded in a manner of red dot in interactive interface.However, a user account number is often associated with There are dozens of even a good friend's user account number, group's account number or public platforms up to a hundred, as information explosion formula increases, boundary when same There may be a large amount of group's message not to read prompting, the push prompting of a large amount of public platforms of concern, system reminder announced etc. in face Deng, user if it is intended to cancelling the prompting to above-mentioned unread message, just must one one points open corresponding session interface, it is cumbersome And need to waste a large amount of time and efforts.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of control display management method, terminal device and computer-readable deposits Storage media can simplify user's operation, improve the convenience for cancelling prompting message operation.
First aspect of the embodiment of the present invention provides a kind of control display management method, is applied to terminal device, comprising: when When triggering client-side program switches to running background or closes, by the target session in the interactive interface of the client-side program Prompting message control is set as hiding in the interactive interface.
Second aspect of the embodiment of the present invention provides a kind of terminal device, comprising: control management module, for as triggering visitor When family end program switches to running background or closes, the message of the target session in the interactive interface of the client-side program is mentioned Awake control is set as hiding in the interactive interface.
The third aspect of the embodiment of the present invention provides a kind of terminal device, comprising: memory, processor and is stored in described It is real when the processor executes the computer program on memory and the computer program that can run on the processor The control display management method that existing embodiments of the present invention first aspect provides.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, is stored thereon with computer journey Sequence when the computer program is executed by processor, realizes the control display tube that embodiments of the present invention first aspect provides Reason method.
The embodiment of the present invention, by the way that when client-side program switches to running background or closes, unlatching is disappeared automatically Cease prompting function target session prompting message control, be set as in the interactive interface of client-side program hide, in this way when Client-side program is again in front stage operation, and the prompting message control of target session will not be shown, it is achieved that priceless The automatic quick elimination of the prompting message of value improves the convenience for cancelling prompting message operation to simplify user's operation.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram of control display management method provided in an embodiment of the present invention;
Fig. 2 is the flow diagram for the control display management method that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides control display management method flow diagram;
Fig. 4 be another embodiment of the present invention provides control display management method in the interactive interface of client-side program show It is intended to;
Fig. 5 be another embodiment of the present invention provides control display management method in session sub- interactive interface signal Figure;
Fig. 6 be another embodiment of the present invention provides control display management method in session function set interface signal Figure;
Fig. 7 be another embodiment of the present invention provides control display management method in prompting message administration interface signal Figure;
Fig. 8 be another embodiment of the present invention provides control display management method in client-side program desktop quick side Prompting message in formula eliminates the control schematic diagram of front and back automatically;
Fig. 9 be another embodiment of the present invention provides control display management method in prompting message in target session it is automatic Eliminate the control schematic diagram of front and back;
Figure 10 is the structural schematic diagram for the terminal device that one embodiment of the invention provides;
Figure 11 be another embodiment of the present invention provides terminal device structural schematic diagram;
Figure 12 is the hardware structural diagram for the terminal device that one embodiment of the invention provides.
Specific embodiment
Further to illustrate that the present invention is the technical means and efficacy realizing predetermined goal of the invention and being taken, below in conjunction with Specific implementation of the invention is described in detail in attached drawing.
Referring to Fig. 1, Fig. 1 is the application environment schematic diagram of control display management method provided in an embodiment of the present invention.Such as Shown in Fig. 1, terminal device 100 and server 200 pass through the progress data interaction of wired or wireless network.In terminal device 100 Instant communication client program or social client program with message push or instant communication function are installed, such as: wechat Client-side program, microblogging client-side program, QQ client-side program, for going to work, the nail checked card follows closely client-side program, for receiving and dispatching The green hand of express delivery wraps up in client-side program etc..Terminal device 100 obtains server 200 by the client-side program of installation and issues Message data, and reminded using prompting message control to receiving new information this event.
Referring to Fig. 2, Fig. 2 is the flow chart for the control display management method that one embodiment of the invention provides.The present embodiment The control display management method of offer can be applied to smart phone, tablet computer, the notebook electricity that can have prompting message function The electronic data device and other non-electronic data devices that can be used on the move that brain etc. can use on the move, it is such as desk-top Computer.As shown in Fig. 2, this method mainly comprises the steps that
S201, when listen to switch to the predeterminable event of running background or closing for triggering client-side program when, triggering Client-side program switches to running background or closing;
Specifically, client-side program switches to running background or close can be based on for triggering after client-side program switches to First user operation case of platform operation, and the second user action event for triggering client-side program closing.Wherein, One user operation case specifically for example may is that the interactive interface of the click event or the client-side program that return to Desktop Button In minimum button click event etc..Second user action event specifically for example may is that the friendship of the client-side program The click event of exit button in mutual interface, or the application program for closing all operations quick close button click Event, or the application program for closing all operations physics shortcut key press event etc..It should be understood that in reality In the application of border, the first predetermined registration operation event of running background or closing is switched to for triggering client-side program, is not limited to above-mentioned The click event of Desktop Button, minimum button, exit button and quick close button is returned, is not done in the present embodiment specific It limits.
It is provided with event sniffer in terminal device, each event occurred in system can be carried out by event sniffer It monitors.When listening to above-mentioned preset first or second user operation case by event sniffer, client-side program is triggered Running background or closing are switched to, and in the interactive interface for the client-side program that first or second user operation case is directed toward The prompting message control of at least one target session is set as hiding in the interactive interface.Wherein, first or second user grasps The client-side program for making event direction is at least one.It include the meeting of multiple and different types in the interactive interface of client-side program Words.Session may generally refer to one-to-one or one-to-many chat or message push group, such as: good friend's session in wechat client, Group session, public platform session, order messages group, logistics message group in express delivery client etc..Target session refers to respectively The automatic session for eliminating prompting message function is opened in session.
S202, when trigger client-side program switch to running background or close when, by the interactive interface of the client-side program In target session prompting message control, be set as in the interactive interface hide.
By prompting message control be set as in the interactive interface hide, that is, so that the prompting message control be in can not It sees this state.Specifically, for example: Transparent color can be set by the background colour of the prompting message control, alternatively, by the prompting message The display properties of control is set as hiding, shows etc. alternatively, the prompting message control is placed in the bottom.
It should be understood that switching to running background or down periods in client-side program, the message of the client-side program is connect Take-up journey does not stop working, and by the message sink thread periodically to server request message data, or receives server and determines The message data that phase issues.
Control display management method provided in an embodiment of the present invention, by switching to running background or pass in client-side program When closing, the prompting message control of the automatic target session for eliminating prompting message function will be opened, be set as in client-side program It is hidden in interactive interface, in this way when client-side program is again in front stage operation, the prompting message control of target session will not It is shown, it is achieved that the automatic quick elimination of unworthy prompting message improves cancellation to simplify user's operation The convenience of prompting message operation.
Referring to Fig. 3, Fig. 3 be another embodiment of the present invention provides control display management method flow chart.This implementation The control display management method that example provides can be applied to the smart phone, tablet computer, notebook that can have prompting message function The electronic data device and other non-electronic data devices that can be used on the move that computer etc. can use on the move, such as platform Formula computer.As shown in figure 3, this method mainly comprises the steps that
S301, it is operated in response to the first setting, shows the function set interface for the session that the first setting operation is directed toward;
It should be understood that being equipped in terminal device with the instant communication client program of prompting message function or social activity Client-side program, such as: wechat client-side program, microblogging client-side program, QQ client-side program, for going to work, the nail checked card follows closely visitor Family end program wraps up in client-side program etc. for receiving and dispatching the green hand of express delivery.
It include the session of multiple and different types in the interactive interface of client-side program.Session may generally refer to one-to-one or a pair of More chats or message push group, such as: good friend's session, group session, public platform session in wechat client, express delivery client In order messages group, logistics message group etc..Target session, which refers to, opens automatic elimination prompting message in each session The session of function.By taking the interactive interface of wechat shown in Fig. 4 as an example, the part that the dashed box in interactive interface is confined is session.
First setting operation can be the function setting in the sub- interactive interface to session any in above-mentioned interactive interface and adjust With the clicking operation of button (the fixed part of empty ring box in such as Fig. 5), alternatively, being pressed under the sub- interactive interface foreground display state Pressure presets the operation etc. of quick physical button.
Event sniffer is provided in terminal device, each event which can be used for occurring in monitoring system. When listening to the event that the first setting operation occurs by the event sniffer, the first setting in response to generation is operated, exhibition Show the function set interface for the session that the first setting operation is directed toward.By taking wechat as an example, it is assumed that first setting operation be directed toward be Session " king XX ", then show the function set interface of session as shown in FIG. 6 " king XX ".Comprising being used in the function set interface Open or close the option (as shown in dashed box in Fig. 6) of " automatic to eliminate prompting message function ".
It should be understood that in practical applications, the specific choosing for including according to the difference of conversation type, in function set interface Different, the present embodiment is not to other in addition to the option for opening or closing " automatic elimination prompting message function " Option is defined.
S302, it is operated in response to the second setting carried out in the function set interface, is target session by the session identification;
Specifically, the second setting operation may include in the function set interface of session as shown in FIG. 6 " king XX " The slip gesture operation from left to right carried out in option for opening or closing " automatic to eliminate prompting message function ".Response In above-mentioned second setting operation, automatic elimination prompting message function is opened, it will words " king XX " are identified as target session.By The function set interface addition of any session can be improved certainly for opening or closing the option of " automatic to eliminate prompting message function " The dynamic flexibility for eliminating the setting of prompting message function.
Further, which session understood for the convenience of the user is target session, is mesh in the related pages of target session Rotating savings words add preset label, which is used to identify target session and opens the automatic function of eliminating prompting message.Specifically , when controlling client-side program to front stage operation, whether each session detected in interactive interface one by one is target session, if Target session adds preset label then in the related pages of the target session for the target session, in Fig. 4 and Fig. 5 Bell label with oblique strikethrough.
Further, setting operation is closed in response to the function of carrying out in the function set interface, such as shown in FIG. 6 It is carried out in the option for opening or closing " automatic to eliminate prompting message function " in the function set interface of session " king XX " From right to left slip gesture operation, close " eliminating prompting message automatically " function, target session " king XX " reverts to non- Target session.
It should be understood that above-mentioned slip gesture operation is only a kind of example, in practical applications, opens or close for triggering Closing the automatic operation for eliminating prompting message function can be without being limited thereto, such as: it can also be to click in interactive interface and be opened for triggering The operation for opening or closing the automatic button or menu for eliminating prompting message function is not specifically limited in this present embodiment.
Optionally, in other embodiments of the invention, interface can also be set by unified, batch is carried out to target session Setting.It is operated specifically, being arranged in response to third, shows the prompting message administration interface comprising session setting options.Then, it rings The 4th setting operation that Ying Yu is carried out based on the session setting options, at least one session mark that the 4th setting operation is directed toward Knowing is the target session.
Wherein, third setting operates the quick setting button or menu that can be in the interactive interface to client-side program Clicking operation, or the operation of pressing physics setting quick botton.In a practical application example, prompting message administration interface can be such as Shown in Fig. 7.By the operation to each session setting options in the prompting message administration interface, user can open or close in batches By all sessions or the automatic elimination prompting message function of partial session, all sessions or partial session are disposably identified as mesh Rotating savings words.To improve the convenience that the setting of the function of " eliminating prompting message automatically " operates.
It should be noted that step S301 and step S302 are not limited to execute before step S303, in practical application In, step S301 and step S302 can also be executed at any other time point, that is, user can put at any time and open Or close the automatic setting operation for eliminating prompting message function.
S303, when listen to switch to the predeterminable event of running background or closing for triggering client-side program when, triggering Client-side program switches to running background or closing;
S304, when trigger client-side program switch to running background or close when, instruction control manage thread, by the client It holds the background colour of the prompting message control of the target session in the interactive interface of program to be set as Transparent color, is mentioned with hiding the message Awake control;
Specifically, client-side program, which switches to running background or closes, to be triggered based on the first predetermined registration operation event.Wherein, The first predetermined registration operation event includes: the first user operation case that running background is switched to for triggering client-side program, and For triggering the second user action event of client-side program closing.Wherein, the first user operation case specifically for example may is that Return to the click event etc. of the minimum button in the click event of Desktop Button or the interactive interface of the client-side program. Second user action event specifically for example may is that the click event of the exit button in the interactive interface of the client-side program, Or the click event of the quick close button of the application program for closing all operations, or the application for closing all operations The press event etc. of the physics shortcut key of program.It should be understood that in practical applications, being cut for triggering client-side program The first predetermined registration operation event for shifting to running background or closing is not limited to above-mentioned return Desktop Button, minimizes button, exits and press The click event of button and quick close button is not specifically limited in the present embodiment.
When listening to above-mentioned the first predetermined registration operation event by event sniffer, triggering client-side program switches to backstage Operation is closed, and sends Transparent color configuration-direct to control management thread, to instruct control management thread first to preset this The prompting message control of at least one target session in the interactive interface at least one client-side program that action event is directed toward Background colour be set as Transparent color and save, in corresponding interactive interface hide target session prompting message control.
Optionally, control management thread can first judge this when modifying the background colour of prompting message control of target session Whether the background colour of prompting message control is Transparent color, if being Transparent color, is not made an amendment, then if not Transparent color It is revised as Transparent color.Alternatively, can not also make a decision, it is all re-set as Transparent color.
Wherein, control management thread can be one or more.When control management thread is one, control management is instructed Thread sets Transparent color for the background colour of the prompting message control of target session one by one and saves.When control management thread is more When a, branch instructs each control management thread that the background colour of the prompting message control of corresponding target session is arranged one by one For Transparent color and save.
It should be noted that can be by instructing control pipe to the modification of the background colour of prompting message control in subsequent step Lineation journey is completed, and subsequent descriptions place not to the utmost can refer to the associated description of this step.
It should be understood that before listening to the first predetermined registration operation event, client-side program operates normally on foreground, when connecing When receiving the message data of server transmission, by respectively associated session (including non-targeted session and the target meeting of each message data Words) prompting message control be set as showing in the interactive interface of the client-side program.Specifically, can be by corresponding prompting message The background colour of control is set as pre-set color and saves, such as red.
Then, when listening to for triggering the user operation case for showing unread message, the user operation case is shown The sub- interactive interface of the session of direction, and show in the sub- interactive interface unread message of the session.Meanwhile by the session Transparent color is arranged in the background colour of prompting message control, and the prompting message control of the session is hidden in interactive interface.
Optionally, in other embodiments of the invention, running background or closing are switched to when triggering the client-side program When, if the target session includes all sessions in the client-side program, by the shortcut of the client-side program in desktop On prompting message control be set as hiding.Specifically, by taking wechat as an example, as shown in figure 8, in wechat client-side program on foreground Before operation, the prompting message control of the round point shape in wechat shortcut in desktop is display state (figure in left side in Fig. 8). When listening to the click event of wechat shortcut, wechat client-side program is controlled in front stage operation.With that is, again continuous supervise Hear the user operation case for closing wechat client-side program, that is, user closes wechat after opening wechat immediately again.This When, if opening the automatic target session for eliminating prompting message function includes all sessions, executing step S303 and S304 While, it sets hiding for the prompting message control in desktop in wechat shortcut, is mentioned to reach automatic message of eliminating Awake purpose, after wechat client-side program is closed, shortcut is useless so as to reduce as shown in the figure on right side in Fig. 8 Interference of the prompting message to user.
It should be understood that switching to running background or down periods in client-side program, the message of the client-side program is connect Take-up journey is still resident on backstage, by the message sink thread periodically to server request message data, or receives server The message data periodically issued.
Further, running background or down periods are switched in client-side program, if receive that server issues disappears Data are ceased, then restore the display of the prompting message control in desktop in the shortcut of the client-side program.
Optionally, user misses important unread message in order to prevent, in other embodiments of the invention, provides automatic It eliminates the unread message that prompting message is related to and checks interface.Specifically, when triggering client-side program switches to running background or pass When closing, before prompting message control is hidden, respectively the associated unread message data of the target session and the unread message data are retouched Information is stated to be recorded in preset unread message list.The description information of unread message data includes the reception of unread message data The User Identity information such as time and sender's pet name, account number.Then, instruction is checked in response to unread message, default Displaying interface the content in the unread message list is shown.It, will when listening to the close event at the displaying interface It is deleted from the unread message list in the description information of message data and the message data that the displaying showing interface is crossed.
305, when triggering the client-side program in front stage operation, if switching to running background or pass in the client-side program During closing, the associated message data of the target session is not received, then continues to hide the prompting message control in the interactive interface Part.
Client-side program can be triggered in front stage operation based on second predetermined registration operation event.Wherein second predetermined registration operation event can Be for trigger control the client-side program front stage operation user operation case, such as: the client journey on desktop The click event of the shortcut of sequence, the click thing of the thumbnail of the interactive interface of the client-side program in program administration interface Part etc..It should be understood that in practical applications, controlling the client-side program in the user's operation thing of front stage operation for triggering Part is not limited to the click event of above-mentioned shortcut and thumbnail, is not specifically limited in the present embodiment.
In client-side program after front stage operation, according to switching to running background in client-side program or closed-down period is indirect The user account number of the message sender of each message in the message data of receipts is shown according to each target session in interactive interface Tandem, judge to switch to running background or down periods in client-side program one by one, if receive target session pass The message data of connection.
On the one hand, if receiving associated message data, instruct control management thread that will receive associated message count According to target session prompting message control background colour recovery be set as primitive color, to restore to receive in interactive interface The display of the prompting message control of the target session of associated message data.
On the other hand, if not receiving associated message data, continue in interactive interface hide do not receive association Message data target session prompting message control, thus achieve the purpose that automatically eliminate target session prompting message. Still by taking wechat client as an example, it is assumed that session " king XX " is to open the automatic target session for eliminating prompting message function, then exists Round point shape before wechat client-side program is switched to running background or closed, as shown in Fig. 9 left hand view, in session " king XX " Prompting message control is in display state.After wechat client-side program switches to running background or closes, foreground is turned again to When operation, if being not received by the message data from king XX in running background or down periods, then as shown in Fig. 9 right part of flg, Dot in session " king XX " for reminding unread message is eliminated automatically.Meanwhile remaining non-targeted session " XYZ " and " reading group " The upper dot for reminding unread message still has.It can both guarantee that user can have found not reading for important session in time in this way Message, and interference of the unread message to user of insignificant session can be excluded.
Optionally, when triggering the client-side program in front stage operation, if target session includes all in interactive interface Session (that is, all sessions open automatic elimination prompting message function), and switch to backstage in the client-side program and transport Capable or down periods, each session do not receive message data, then hide the conversation message in the interactive interface on menu icon Control is reminded, on interactive interface bottom " wechat " menu icon of wechat client-side program as shown in Figure 4 includes number 15 Oval conversation message reminds control.
Optionally, when triggering the client-side program in front stage operation, if the target session does not include in the interactive interface All sessions modify menu icon in the interactive interface then according to the item number of the unread message data of non-targeted session association On conversation message remind the number in control, that is, exclude the unread message data of the automatic target session for cancelling prompting message Quantity.As shown in Fig. 9 right part of flg, since session " king XX " is target session, it is assumed that the target session has 2 unread messages, Then the oval conversation message on interactive interface bottom " wechat " menu icon reminds number in control to be changed to 13.
It optionally, can also be unified to modify interactive interface according to the item number of the unread message data of non-targeted session association In remaining quantity for being used to identify unread message control in number, such as by " wechat (15) " on Fig. 9 left hand view top modification For " wechat (13) " on Fig. 9 right part of flg top.
Further, non-targeted session is not repaired when triggering client-side program switches to running background or closes Change the state of the prompting message control of non-targeted session.If switching to running background or down periods in client-side program, do not have The message data of any non-targeted session association is received, then is triggering the client-side program in front stage operation, is keeping non-mesh The state and client-side program of the prompting message control of rotating savings words are consistent before switching to running background or closing.If in client journey Sequence switches to running background or down periods, receives the message data of non-targeted session association, then is triggering the client journey Sequence updates the state of corresponding prompting message control in front stage operation.
It should be understood that when listening to second predetermined registration operation event, control the client-side program front stage operation it Afterwards, if receiving the message data of server transmission, by each message data respectively associated session (including non-targeted session and Target session) prompting message control be set as showing in the interactive interface of the client-side program.
Control display management method provided in an embodiment of the present invention, by switching to running background or pass in client-side program When closing, the prompting message control of the automatic target session for eliminating prompting message function will be opened, be set as in client-side program Hidden in interactive interface, when the client-side program is again in front stage operation, if client-side program switch to running background or Down periods do not receive the associated message data of target session, then continue to hide prompting message control in interactive interface, real The automatic quick elimination of unworthy prompting message is showed, to simplify user's operation, has improved and cancel prompting message operation Convenience.
Figure 10 is the structural schematic diagram for the terminal device that one embodiment of the invention provides.Terminal device provided in this embodiment 400 for realizing the control display management method in above-mentioned embodiment illustrated in fig. 2.As shown in Figure 10, terminal device 400 includes:
Control management module 401, for when trigger client-side program switch to running background or close when, by the client The prompting message control of target session in the interactive interface of program is set as hiding in the interactive interface.
Control management module 401 realizes the detailed process of function, refers to specific described in above-mentioned embodiment illustrated in fig. 2 Content, details are not described herein again.
It should be noted that the division of each functional module is only in each embodiment of the application in the embodiment of mobile terminal Be for example, can according to need in practical application, such as corresponding hardware configuration requirement or software realization convenience Consider, and above-mentioned function distribution is completed by different functional modules, i.e., is divided into the internal structure of mobile terminal different Functional module, to complete all or part of the functions described above.Moreover, in practical application, it is corresponding in the present embodiment Functional module can be by corresponding hardware realization, can also execute corresponding software by corresponding hardware and complete.This specification The each embodiment provided can all apply foregoing description principle, repeat no more below.
In the embodiment of the present invention, by the way that automatic eliminate will be opened when client-side program switches to running background or closes The prompting message control of the target session of prompting message function is set as hiding in the interactive interface of client-side program, in this way When client-side program is again in front stage operation, the prompting message control of target session will not be shown, it is achieved that nothing The automatic quick elimination of the prompting message of value improves to simplify user's operation and cancels the convenient of prompting message operation Property.
Figure 11 be another embodiment of the present invention provides terminal device structural schematic diagram.Terminal provided in this embodiment is set The standby 500 control display management method for realizing above-mentioned Fig. 2 into embodiment illustrated in fig. 9.As shown in figure 11, terminal device 500 include:
Control management module 501, for when trigger client-side program switch to running background or close when, by the client The prompting message control of target session in the interactive interface of program is set as hiding in the interactive interface;
Judgment module 502, for judging to switch in the client-side program when triggering the client-side program in front stage operation To running background or down periods, if receive the associated message data of the target session;
Control management module 501, if be also used to judgment module 502 judge the client-side program switch to running background or Down periods do not receive the associated message data of the target session, then continue to hide the prompting message in the interactive interface Control.
Optionally, terminal device 500 further includes event monitoring module, and the event monitoring module is for monitoring for triggering visitor Family end program switches to the predeterminable event of running background or closing, and switches to backstage for triggering client-side program when listening to When operation or the predeterminable event closed, the event listened to is sent to the related process module of the client-side program, with triggering Client-side program switches to running background or closing.The event monitoring module is also used to monitor for triggering client-side program preceding The predeterminable event of platform operation, and when this listened to is used to trigger predeterminable event of the client-side program in front stage operation, it will supervise The event heard is sent to the related process module of the client-side program, to trigger the client-side program in front stage operation.
Further, control management module 501 is also used to that control is instructed to manage thread, the message of the target session is mentioned The background colour of awake control is set as Transparent color, and when triggering the client-side program in front stage operation, if in the client journey Sequence switches to running background or the down periods receive the associated message data of the target session, then the control is instructed to manage line The background colour recovery of the prompting message control is set primitive color by journey.
Further, terminal device 500 further include:
Showing interface module 503 shows the session that the first setting operation is directed toward for operating in response to the first setting Function set interface;
Mark module 504 is operated for the second setting in response to carrying out in the function set interface, by the session identification For the target session.
Showing interface module 503 is also used to that operation is arranged in response to third, shows that the message comprising session setting options mentions Awake administration interface;
Mark module 504 is also used to the 4th setting operation in response to carrying out based on the session setting options, by the 4th It is the target session that at least one session identification that operation is directed toward, which is arranged,;
Mark module 504 is also used in the related pages of the target session, adds preset mark for the target session Note, the label are used to identify the target session and open the automatic function of eliminating prompting message.
Further, control management module 501 is also used to the client-side program when triggering and switches to running background or closing When, if the target session includes all sessions in the client-side program, by the shortcut of the client-side program in desktop On prompting message control be set as hiding.
Further, control management module 501 is also used to when triggering the client-side program in front stage operation, if the mesh Rotating savings words include all sessions in the interactive interface, and switch to running background or down periods in the client-side program, respectively The session does not receive message data, then hides the conversation message in the interactive interface on menu icon and remind control, and If the target session does not include all sessions in the interactive interface, according to the unread message data of non-targeted session association Item number modifies the number in conversation message prompting control.
Further, terminal device 500 further include:
Logging modle 505, for the prompting message control to be hidden the preceding respectively associated unread message data of the target session And the description information of the unread message data, it is recorded in preset unread message list;
Message display module 506 is not read to disappear at preset displaying interface for checking instruction in response to unread message to this Content in breath list is shown;
Logging modle 505 is also used to when listening to the close event at the displaying interface, will be in the displaying showing interface mistake Message data and the description information of the message data deleted from the unread message list.
The detailed process of the respective function of each Implement of Function Module, refers to implementation shown in above-mentioned Fig. 2 to Fig. 9 in the present embodiment Particular content described in example, details are not described herein again.
In the embodiment of the present invention, by the way that automatic eliminate will be opened when client-side program switches to running background or closes The prompting message control of the target session of prompting message function is set as hiding in the interactive interface of client-side program, when this Client-side program is again in front stage operation, if switching to running background in client-side program or the down periods do not receive target The message data of session association then continues to hide prompting message control in interactive interface, realizes unworthy prompting message Automatic quick elimination improve the convenience for cancelling prompting message operation to simplify user's operation.
Figure 12 is please referred to, Figure 12 is the hardware structure diagram for the terminal device that one embodiment of the invention provides.
Terminal device as described in this embodiment, comprising:
Memory 51, processor 52 and it is stored in the computer program that can be run on memory 51 and on the processor 52, When processor 52 executes the computer program, realize earlier figures 2 to control display management side described in embodiment illustrated in fig. 9 Method.
Further, terminal device further include: input equipment 53 and output equipment 54.
Above-mentioned memory 51, processor 52, input equipment 53 and output equipment 54 are connected by bus 55.
Wherein, input equipment 53 concretely camera, touch panel, physical button or mouse etc..Output equipment 54 concretely display screens.
Memory 51 can be high-speed random access memory (RAM, Random-Access Memory) memory, can also For nonvolatile memory (non-volatile memory), or read-only memory (ROM, Read Only ), such as magnetic disk storage Memory.Memory 51 is for storing one group of executable program code, processor 52 and memory 51 Coupling.
Further, the embodiment of the invention also provides a kind of computer readable storage medium, the computer-readable storages Medium can be in the terminal device being set in the various embodiments described above, which can be earlier figures 12 Memory in illustrated embodiment.It is stored with computer program on the computer readable storage medium, which is located Manage realizes earlier figures 2 to control display management method described in embodiment illustrated in fig. 9 when device executes.Further, the calculating Machine can storage medium can also be USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), RAM, magnetic disk or The various media that can store program code such as person's CD.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or device including a series of elements are not only wanted including those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or device Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or device including the element.
It will be appreciated by those skilled in the art that realizing that all or part of the steps of above-described embodiment can be by hardware come complete At relevant hardware can also being instructed to complete by program, the program can store in a kind of computer-readable storage In medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The above described is only a preferred embodiment of the present invention, be not intended to limit the present invention in any form, though So the present invention has been disclosed as a preferred embodiment, and however, it is not intended to limit the invention, any technology people for being familiar with this profession Member, without departing from the scope of the present invention, when the technology contents using the disclosure above are modified or are modified It is right according to the technical essence of the invention for the equivalent embodiment of equivalent variations, but without departing from the technical solutions of the present invention Any simple modification, equivalent change and modification made by above embodiments, all of which are still within the scope of the technical scheme of the invention.

Claims (14)

1. a kind of control display management method is applied to terminal device, which is characterized in that the described method includes:
When triggering client-side program switches to running background or closes, by the target in the interactive interface of the client-side program The prompting message control of session is set as hiding in the interactive interface.
2. the method as described in claim 1, which is characterized in that described when triggering client-side program switches to running background or pass When closing, the prompting message control of the target session in the interactive interface of the client-side program is set as on the interactive boundary After being hidden in face, comprising:
When triggering the client-side program in front stage operation, if switching to running background or closed-down period in the client-side program Between, the associated message data of the target session is not received, then continues to hide the prompting message in the interactive interface Control.
3. method according to claim 1 or 2, which is characterized in that described when triggering client-side program switches to running background Or when closing, the prompting message control of the target session in the interactive interface of the client-side program is set as in the friendship It hides, specifically includes in mutual interface:
When the triggering client-side program switches to running background or closes, instruction control manages thread, by the target meeting The background colour of the prompting message control of words is set as Transparent color;
Then, the method also includes:
When triggering the client-side program in front stage operation, if switching to running background or closed-down period in the client-side program Between, the message data is received, then instructs the control management thread, the background colour recovery of the prompting message control is set It is set to primitive color.
4. method according to claim 1 or 2, which is characterized in that described when triggering client-side program switches to running background Or when closing, the prompting message control of the target session in the interactive interface of the client-side program is set as in the friendship Before being hidden in mutual interface, further includes:
In response to the first setting operation, the function set interface for the session that the first setting operation is directed toward is shown;
It is the target session by the session identification in response to the second setting operation carried out in the function set interface; Or
It is arranged in response to third and operates, shows the prompting message administration interface comprising session setting options;
In response to the 4th setting operation carried out based on the session setting options, the 4th setting operation is directed toward at least One session identification is the target session.
5. method as claimed in claim 4, which is characterized in that second in response to being carried out in the function set interface The session identification is the target session by setting operation, or, described in response to being carried out based on the session setting options 4th is arranged operation, at least one session identification of the 4th setting operation direction after the target session, is also wrapped It includes:
In the related pages of the target session, preset label is added for the target session, the label is for identifying The target session opens the automatic function of eliminating prompting message.
6. method according to claim 1 or 2, which is characterized in that the method also includes:
When the triggering client-side program switches to running background or closes, if the target session includes the client journey All sessions in sequence then set hiding for the prompting message control in the shortcut of client-side program described in desktop.
7. method according to claim 1 or 2, which is characterized in that described when triggering client-side program switches to running background Or when closing, the prompting message control of the target session in the interactive interface of the client-side program is set as in the friendship After being hidden in mutual interface, further includes:
Each associated unread message data of target session and the unread Messages before the prompting message control is hidden According to description information, be recorded in preset unread message list;
Instruction is checked in response to unread message, and the content in the unread message list is opened up at preset displaying interface Show.
8. method according to claim 1 or 2, which is characterized in that the method also includes:
When triggering the client-side program in front stage operation, if the target session includes all meetings in the interactive interface Words, and running background or down periods are switched in the client-side program, each session does not receive message data, then It hides the conversation message in the interactive interface on menu icon and reminds control;
If the target session does not include all sessions in the interactive interface, do not read to disappear according to non-targeted session association The item number for ceasing data modifies the number in the conversation message prompting control.
9. a kind of terminal device characterized by comprising
Control management module, for when trigger client-side program switch to running background or close when, by the client-side program Interactive interface in target session prompting message control, be set as in the interactive interface hide.
10. terminal device as claimed in claim 9, which is characterized in that the terminal device further include:
Judgment module, for judging to switch in the client-side program when triggering the client-side program in front stage operation Running background or down periods, if receive the associated message data of the target session;
The control management module, if be also used to the judgment module judge the client-side program switch to running background or Down periods, the associated message data of the target session is not received, then continue to hide described disappear in the interactive interface Breath reminds control;
The control management module is also used to that control is instructed to manage thread, by the back of the prompting message control of the target session Scenery is set as Transparent color, and when triggering the client-side program in front stage operation, if switching in the client-side program The message data is received to running background or down periods, then the control management thread is instructed, by the prompting message The background colour recovery of control is set as primitive color;
The control management module is also used to when the triggering client-side program switches to running background or closes, if described Target session includes all sessions in the client-side program, then will be in the shortcut of client-side program described in desktop Prompting message control is set as hiding;
The control management module is also used to when triggering the client-side program in front stage operation, if the target session packet All sessions in the interactive interface are included, and switch to running background or down periods in the client-side program, it is each described Session does not receive message data, then hides the conversation message in the interactive interface on menu icon and remind control, and If the target session does not include all sessions in the interactive interface, according to the unread Messages of non-targeted session association According to item number, modify the conversation message and remind number in control.
11. terminal device as claimed in claim 10, which is characterized in that the terminal device further include:
Showing interface module shows the function for the session that the first setting operation is directed toward for operating in response to the first setting Set interface;
Mark module operates for the second setting in response to carrying out in the function set interface, is by the session identification The target session;
The showing interface module is also used to that operation is arranged in response to third, shows the prompting message comprising session setting options Administration interface;
The mark module is also used to the 4th setting operation in response to carrying out based on the session setting options, by described the At least one session identification that four setting operations are directed toward is the target session;
The mark module is also used in the related pages of the target session, adds preset mark for the target session Note, the label open the automatic function of eliminating prompting message for identifying the target session.
12. terminal device as described in claim 10 or 11, which is characterized in that the terminal device further include:
Logging modle, for the associated unread message data of the target session each before hiding the prompting message control and institute The description information for stating unread message data is recorded in preset unread message list;
Message display module arranges the unread message at preset displaying interface for checking instruction in response to unread message Content in table is shown.
13. a kind of terminal device, comprising: memory, processor and be stored on the memory and can be on the processor The computer program of operation, which is characterized in that when the processor executes the computer program, realize such as claim 1 to 8 Any one of described in control display management method.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program When being executed by processor, control display management method according to any one of claims 1 to 8 is realized.
CN201711139792.0A 2017-11-16 2017-11-16 Control display management method, terminal device and computer readable storage medium Active CN109799938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711139792.0A CN109799938B (en) 2017-11-16 2017-11-16 Control display management method, terminal device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711139792.0A CN109799938B (en) 2017-11-16 2017-11-16 Control display management method, terminal device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109799938A true CN109799938A (en) 2019-05-24
CN109799938B CN109799938B (en) 2021-06-15

Family

ID=66555741

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711139792.0A Active CN109799938B (en) 2017-11-16 2017-11-16 Control display management method, terminal device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109799938B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143090A (en) * 2019-12-25 2020-05-12 上海传英信息技术有限公司 Application interaction method, device and computer-readable storage medium
CN111510439A (en) * 2020-04-03 2020-08-07 腾讯科技(深圳)有限公司 Session reminding method and device, computer equipment and storage medium
CN111643903A (en) * 2020-05-22 2020-09-11 腾讯科技(深圳)有限公司 Control method and device of cloud game, electronic equipment and storage medium
CN112199136A (en) * 2020-09-01 2021-01-08 北京达佳互联信息技术有限公司 Notification message aggregation method and device, electronic equipment and storage medium
CN112688856A (en) * 2020-12-11 2021-04-20 上海掌门科技有限公司 Method and device for releasing friend relationship
WO2021197125A1 (en) * 2020-03-30 2021-10-07 维沃移动通信有限公司 Message processing method and electronic device
CN113709306A (en) * 2021-08-31 2021-11-26 维沃移动通信有限公司 Session processing method and device and electronic equipment
CN114979053A (en) * 2022-05-06 2022-08-30 网易(杭州)网络有限公司 Instant messaging session management method, device, system, equipment and medium
CN115103056A (en) * 2022-06-15 2022-09-23 北京字跳网络技术有限公司 Information processing method, device, electronic equipment and storage medium
US11457107B2 (en) * 2019-05-31 2022-09-27 Beijing Bytedance Network Technology Co., Ltd. Unread-message reminding method, terminal device and storage medium
WO2023071415A1 (en) * 2021-10-26 2023-05-04 华为技术有限公司 Application display method, electronic device, and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834445A (en) * 2015-04-30 2015-08-12 闻泰通讯股份有限公司 Method and system for clearing all message reminding superscripts
CN104967550A (en) * 2014-05-19 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying unread messages
CN105242818A (en) * 2014-05-30 2016-01-13 阿里巴巴集团控股有限公司 Red notification point elimination method and apparatus
CN106020613A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Operation method and mobile terminal for unread messages
CN106470270A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 A kind of application hint message processing method and processing device on mobile terminal
CN106533928A (en) * 2016-12-29 2017-03-22 努比亚技术有限公司 Method and device for updating unread message reminding identifier
CN106982394A (en) * 2017-03-30 2017-07-25 腾讯科技(深圳)有限公司 The unread message reminding method and device of a kind of network direct broadcasting

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967550A (en) * 2014-05-19 2015-10-07 腾讯科技(深圳)有限公司 Method and apparatus for displaying unread messages
CN105242818A (en) * 2014-05-30 2016-01-13 阿里巴巴集团控股有限公司 Red notification point elimination method and apparatus
CN104834445A (en) * 2015-04-30 2015-08-12 闻泰通讯股份有限公司 Method and system for clearing all message reminding superscripts
CN106470270A (en) * 2015-08-20 2017-03-01 阿里巴巴集团控股有限公司 A kind of application hint message processing method and processing device on mobile terminal
CN106020613A (en) * 2016-05-25 2016-10-12 维沃移动通信有限公司 Operation method and mobile terminal for unread messages
CN106533928A (en) * 2016-12-29 2017-03-22 努比亚技术有限公司 Method and device for updating unread message reminding identifier
CN106982394A (en) * 2017-03-30 2017-07-25 腾讯科技(深圳)有限公司 The unread message reminding method and device of a kind of network direct broadcasting

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11457107B2 (en) * 2019-05-31 2022-09-27 Beijing Bytedance Network Technology Co., Ltd. Unread-message reminding method, terminal device and storage medium
US11805198B2 (en) 2019-05-31 2023-10-31 Beijing Bytedance Network Technology Co., Ltd. Unread-message reminding method, terminal device and storage medium
CN111143090A (en) * 2019-12-25 2020-05-12 上海传英信息技术有限公司 Application interaction method, device and computer-readable storage medium
CN111143090B (en) * 2019-12-25 2023-10-31 上海传英信息技术有限公司 Application interaction method, device and computer readable storage medium
WO2021197125A1 (en) * 2020-03-30 2021-10-07 维沃移动通信有限公司 Message processing method and electronic device
CN111510439A (en) * 2020-04-03 2020-08-07 腾讯科技(深圳)有限公司 Session reminding method and device, computer equipment and storage medium
CN111510439B (en) * 2020-04-03 2024-01-19 腾讯科技(深圳)有限公司 Session reminding method, device, computer equipment and storage medium
CN111643903A (en) * 2020-05-22 2020-09-11 腾讯科技(深圳)有限公司 Control method and device of cloud game, electronic equipment and storage medium
CN112199136A (en) * 2020-09-01 2021-01-08 北京达佳互联信息技术有限公司 Notification message aggregation method and device, electronic equipment and storage medium
CN112688856A (en) * 2020-12-11 2021-04-20 上海掌门科技有限公司 Method and device for releasing friend relationship
CN113709306A (en) * 2021-08-31 2021-11-26 维沃移动通信有限公司 Session processing method and device and electronic equipment
CN113709306B (en) * 2021-08-31 2024-03-19 维沃移动通信有限公司 Session processing method and device and electronic equipment
WO2023071415A1 (en) * 2021-10-26 2023-05-04 华为技术有限公司 Application display method, electronic device, and storage medium
CN114979053A (en) * 2022-05-06 2022-08-30 网易(杭州)网络有限公司 Instant messaging session management method, device, system, equipment and medium
CN114979053B (en) * 2022-05-06 2024-03-15 网易(杭州)网络有限公司 Instant messaging session management method, device, system, equipment and medium
CN115103056A (en) * 2022-06-15 2022-09-23 北京字跳网络技术有限公司 Information processing method, device, electronic equipment and storage medium
CN115103056B (en) * 2022-06-15 2024-04-16 北京字跳网络技术有限公司 Information processing method, apparatus, electronic device and storage medium

Also Published As

Publication number Publication date
CN109799938B (en) 2021-06-15

Similar Documents

Publication Publication Date Title
CN109799938A (en) Control display management method, terminal device and computer readable storage medium
US11350249B2 (en) Method and apparatus for displaying missed calls on mobile terminal
WO2020199840A1 (en) Conversation message display method, apparatus, device, and storage medium
JP7344386B2 (en) Reminder methods, apparatus, devices and computer programs in group sessions
KR101124766B1 (en) System and method for managing a contact center with a graphical call connection metaphor
CN111913629A (en) Information sending method and device and electronic equipment
CN104967550B (en) unread message display method and device
CN109725947A (en) A kind of processing method and terminal of unread message
CN107368995A (en) Task processing method and device
CN108494572A (en) Topic group creation method based on group and device
CN105339894A (en) Electronic device and methods of updating and managing application status information in the electronic device
CN107800862A (en) The means of communication and device
CN113364668B (en) Message reminding method and device and electronic equipment
CN104683591A (en) Message disturbance-free method based on mobile terminal and mobile terminal using method
CN108574772A (en) End message display methods and device
CN106375186A (en) Schedule sharing method and terminal
CN110023943A (en) Automatic conference invitation processing
WO2024041516A1 (en) Message processing method and apparatus, electronic device, and readable storage medium
US11112938B2 (en) Method and apparatus for filtering object by using pressure
CN113489637A (en) Method and device for adding reminding object, storage medium and computer equipment
CN113177759A (en) Logistics information display method and device and projection equipment
CN112395029A (en) Application program interface display method and device, electronic equipment and storage medium
CN112487371B (en) Chat session display method, chat session display device, chat session display terminal and storage medium
CN107819665A (en) Communicate based reminding method and device
CN110572316B (en) Information processing method and related device

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