CN109739415A - Conversation switching method and device - Google Patents

Conversation switching method and device Download PDF

Info

Publication number
CN109739415A
CN109739415A CN201910092238.4A CN201910092238A CN109739415A CN 109739415 A CN109739415 A CN 109739415A CN 201910092238 A CN201910092238 A CN 201910092238A CN 109739415 A CN109739415 A CN 109739415A
Authority
CN
China
Prior art keywords
session
read
target
list
time
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
CN201910092238.4A
Other languages
Chinese (zh)
Other versions
CN109739415B (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.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910092238.4A priority Critical patent/CN109739415B/en
Publication of CN109739415A publication Critical patent/CN109739415A/en
Application granted granted Critical
Publication of CN109739415B publication Critical patent/CN109739415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application is about a kind of conversation switching method and device, wherein method include: when in session list there are it is to be read do not read session and currently show session when, monitor whether to occur default switching action;In case of default switching action, do not read to choose target session in session to be read;Target session is switched to from the session currently shown, and target session is shown.Pass through the technical solution of the application, it is only necessary to which a default switching action can be switched to from the session currently shown does not read session, for the relevant technologies, simplifies operating procedure, and the time needed for saving operating process.

Description

Conversation switching method and device
Technical field
This application involves field of computer technology more particularly to conversation switching methods and device.
Background technique
With the development of science and technology, the mode that people link up is more and more, in addition to daily phone, short message, there are also various each The instant messaging tools of sample.Currently, the session either in short message or instant messaging tools, be by the way of list and It is arranged by the time sequencing received.In general, when the list of session is shown on the terminal device, from terminal device Top to bottom end, session are arranged according to the sequence of time from the near to the remote.That is, the most top of terminal device display interface The session at end be it is newest, successively second session down is time new, and so on.When terminal device receives new meeting After words, received new session can be inserted into list, and first session as list top is shown, and other Session can successively move down.
When terminal device receives several sessions, and does not read, not reading session can be labeled, for making user know meeting Have in words list and does not read session.After not reading session into one when the user clicks, then the label of the session can disappear, and indicating should Session has been read states.When user, which will read others, does not read session, needs to exit from current session, return back to session column The interface of table, then other is selected from session list not read session, user, which clicks to enter, selected does not read session.Namely It says, when not reading session to enter other from current session, it is necessary first to exit, be retracted to session column from current sessions Table, then select and enter not read session from session list.It could be from current meeting in this way, requiring the operation of at least two steps each time Words enter another and do not read session, comparatively laborious for a user, and waste time.Especially when not reading meeting in session list When talking about more, to all run through all sessions that do not read, more operating procedures are needed, and the time spent is more.
Summary of the invention
To overcome the problems in correlation technique, the application provides a kind of conversation switching method and device, for solving It is switched to from a session complex for operation step when not reading session and spends time longer problem.
According to the embodiment of the present application in a first aspect, providing a kind of conversation switching method, comprising:
When in session list there are it is to be read do not read session and currently show session when, monitor whether to occur default switching Movement;
In case of the default switching action, to be read do not read to choose target session in session from described;
The target session is switched to from the session currently shown, and the target session is shown.
It is optionally, described from described the step of not reading selection target session in session to be read, comprising:
From it is described it is to be read do not read in session, the session that the determining time nearest with current time occurs, and determining Session as target session;Alternatively,
Determine the time that the session that currently shows occurs, from it is described it is to be read do not read in session, determine before the time and The session that the nearest time occurs with the time, and using identified session as target session.
Optionally, the method also includes:
When new session occurs, by the new session and it is described it is to be read do not read session, be determined as new to be read do not read Session;
It is described to be read not read to choose target session in session from described, comprising:
From determined it is new it is to be read do not read in session, choose target session.
Optionally, the method also includes:
When showing session, detecting, which whether there is in the session list, does not read session;
If there is session is not read, then display reminding identifies, wherein the prompt mark is for prompting the session list Session is not read in middle presence.
Optionally, the method also includes:
When there is no when not reading session, delete the prompt mark in the session list.
According to the second aspect of the embodiment of the present application, a kind of session switching device is provided, comprising:
Monitoring modular is configured as executing in the session list and does not read session there are to be read and currently show session When, it monitors whether that default switching action occurs;
Module is chosen, is configured as when the default switching action occurs, execution to be read is not read in session from described Choose target session;
Switching module, is configured as executing from the session currently shown and switches to the target session, and to the target Session is shown.
Optionally, the selection module is specifically used for:
From it is described it is to be read do not read in session, the session that the determining time nearest with current time occurs, and determining Session as target session;Alternatively,
Determine the time that the session that currently shows occurs, from it is described it is to be read do not read in session, determine before the time and The session that the nearest time occurs with the time, and using identified session as target session.
Optionally, described device further include:
Determining module, be configured as execute when new session occurs, by the new session with it is described it is to be read do not read session, It is determined as new to be read not reading session;
The selection module is specifically used for:
From determined it is new it is to be read do not read in session, choose target session.
Optionally, described device further include:
Detection module is configured as executing when showing session, detects in the session list with the presence or absence of the meeting of reading Words;
Display module is configured as when in the presence of session is not read, then executes display reminding mark, wherein the prompt mark Know and does not read session for prompting to exist in the session list.
Optionally, described device further include:
Removing module is configured as executing when there is no when not reading session, delete the prompt mark in the session list Know.
According to the third aspect of the embodiment of the present application, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When in session list there are it is to be read do not read session and currently show session when, monitor whether to occur default switching Movement;
In case of the default switching action, to be read do not read to choose target session in session from described;
The target session is switched to from the session currently shown, and the target session is shown.
According to the fourth aspect of the embodiment of the present application, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out a kind of session switching side Method, which comprises
When in session list there are it is to be read do not read session and currently show session when, monitor whether to occur default switching Movement;
In case of the default switching action, to be read do not read to choose target session in session from described;
The target session is switched to from the session currently shown, and the target session is shown.
According to the 5th of the embodiment of the present application the aspect, a kind of computer program product, the computer program product are provided For the step of being run to perform above-mentioned conversation switching method.
The technical solution that embodiments herein provides can include the following benefits: be provided by the embodiment of the present application Technical solution, when showing session, user need from the session currently shown switch to other it is to be read do not read session when, It is switched over by default switching action.When detecting default switching action, then do not read to choose target in session to be read Session, and target session is switched to from the session currently shown.Pass through the technical solution of the application, it is only necessary to which a default switching is dynamic Work can be switched to from the session currently shown does not read session, for the relevant technologies, simplifies operating procedure, and Time needed for saving operating process.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the application Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of conversation switching method shown according to an exemplary embodiment.
Fig. 2 is a kind of interface schematic diagram of session list shown according to an exemplary embodiment.
Fig. 3 is a kind of interface schematic diagram of session shown according to an exemplary embodiment.
Fig. 4 is another interface schematic diagram of session shown according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of session switching device shown according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
The complex for operation step and cost time is longer when not reading session to solve the problems, such as to switch to from a session, this Application embodiment provides a kind of conversation switching method and device, wherein conversation switching method includes:
When in session list there are it is to be read do not read session and currently show session when, monitor whether to occur default switching Movement;
In case of default switching action, do not read to choose target session in session to be read;
Target session is switched to from the session currently shown, and target session is shown.
By technical solution provided by the embodiments of the present application, when showing session, user needs from the meeting currently shown Words switch to that other are to be read when not reading session, are switched over by default switching action.When detecting default switching action, It then does not read to choose target session in session to be read, and switches to target session from the session currently shown.Pass through the application Technical solution, it is only necessary to a default switching action can be switched to from the session currently shown does not read session, compared to phase For the technology of pass, operating procedure is simplified, and the time needed for saving operating process.
Conversation switching method provided by the embodiments of the present application is introduced first below.Meeting provided by the embodiments of the present application Words switching method can be applied to electronic equipment, which is that can communicate interactive equipment, for example, mobile phone, flat Plate, wearable device etc..The operating system of electronic equipment can be Android system, IOS system, BlackBerry OS system, Windows Phone system etc., is not limited thereto.
Wherein, conversation switching method provided by the embodiments of the present application can be applied to wechat, QQ, nail nail, Skype, Line, The instant message applications such as Michat, Whatsapp can also be applied to the short message for electronic equipment.When the session switching side Even if method is applied to a kind of communication software, even if being switched over to the session in the communication software.For example, when session is cut When changing method applied to wechat, the session in session list is the session of wechat, and two sessions switched over are wechats Session, that is to say, that the session for wechat switches over.
Fig. 1 is a kind of flow chart of conversation switching method shown according to an exemplary embodiment, as shown in Figure 1, this Shen Please embodiment provide conversation switching method include following following steps.
S101, when in session list there are it is to be read do not read session and currently show session when, monitor whether to occur pre- If switching action.If so, executing step S102.
Wherein, session list is the set that multiple sessions are shown in a manner of list, includes one in session list Or multiple sessions.Each session is directed to an object, and content included by each session is to carry out with targeted object Interactive information, wherein interactive information includes text, voice, picture, video etc..
By taking Fig. 2 as an example, it is illustrated in figure 2 a kind of surface chart of wechat, it is session list, the session that this is shown in Fig. 2 It include 5 sessions in list, sequence from top to bottom, first targeted object of session is user A, i.e. first session packet Include the information interacted between user A.Second targeted object of session is user B, and third session is targeted Object is subscription message, and the 4th targeted object of session is user C.The 5th targeted object of session is group A, It may include multiple users in group A, multiple user information of interaction in group A belongs to included by the 5th session Content.
Each session may include one or more information, or and it is empty, i.e., it does not include any information.When in session Including information and included information has been read, then the state of the session is read states, and the session is properly termed as having read at this time Session.When there is the information that do not read in session, then the state of the session is unread state, and the session is properly termed as the meeting of reading at this time Words.
Session is become in a kind of implementation of read states from unread state, into after the session of a unread state, Information included by the session can show that the interface currently shown is the interface of the session, such as shown in Fig. 3.At this time may be used To think that the information that do not read in the session has been read, the state of the session becomes read states.
Wherein, it can be that click the session from the interface of session list laggard into the mode of the session of a unread state Enter, can also be and enter from other interfaces, be not limited thereto.
When newly receiving information, the information newly received belongs to the session of an object, if the session of the object exists State before receiving the information is read states, then after receiving the information, the Status Change of the session is not read shape State.If state of the session before receiving the information is unread state, the state of the session keeps unread state constant.
For example, being in the interactive process of user A, an information of user A transmission is received, then the information belongs to use The session of family A, i.e. first session in Fig. 2.If first session is read states before receiving the information, then connect After receiving the information, the Status Change of first session is unread state.
In another example user A is a user in group A, after receiving information of the user A in group A, then should Information belongs to the session of group A, i.e. the last one session in Fig. 2.If before receiving the information, the last one session For read states, then after receiving the information, the Status Change of the last one session is unread state.
Wherein, to be read not read session not read session included in current sessions list.By taking Fig. 2 as an example, if Fig. 2 institute There are 2 not read session in the session list shown: the session of user A, the session of user B, then it is to be read at this time not read session and include The session of user A and the session of user B.If there is 4 not read session in session list shown in Fig. 2: the session of user A, user B Session, the session of user C and the session of group A, then it is to be read at this time not read the meeting that session includes the session of user A, user B It talks about, the session of the session of user C and group A.
Wherein, the session currently shown can be any session, that is to say, that the session currently shown can be session column Session is not read in table, that is, clicks to enter and does not read session, is shown, is also possible in session list so that this does not read session Reading session, that is, click to enter and read session, shown, be not limited thereto so that this has read session.
When showing to a session, that is, enter the session, and information included by the session is shown, such as Shown in Fig. 3, i.e., the session of user A is shown, the content of display is information included by the session of user A.
When the session of entrance does not include information, i.e., the session is sky, then enters after the session, the shown session Content be sky.For example, being illustrated in figure 4 the session of user B, the content of the session of user B is sky, then enters institute after the session The content of the session of display is sky.
When in session list there are it is to be read do not read session and currently show session when, then the interface that currently shows is one The interface of a session, for example, the interface of the session of user A as shown in Figure 3.In such a case, it is possible to monitor whether to occur Default switching action.
Wherein, default switching action can be customized setting.Default switching action can be simple gesture motion, It can also be the movement after gesture motion and object are combined.
When default switching action is simple gesture motion, which can be customized setting, for example, hand Gesture movement can be sliding to the left, the distance slided to the right, slided greater than preset value etc..Certainly, switching action and not only is preset It is limited to three kinds of gesture motions of the example above, can also be other gesture motions, be not limited thereto.
When default switching action is the movement after gesture motion is combined with object, the object that gesture motion combines can To be customized setting, for example, object can be button, suspension button, dialog box etc..Gesture motion is combined with object Movement is also possible to customized setting, for example, default switching action, which can be the long duration to touch the button, reaches preset duration, also Can be the left cunning of button that will suspend, perhaps right cunning can also be the left cunning of dialog box or right cunning.Certainly, gesture motion and object The movement combined is not limited in three of the above, can also include other movements, be not limited thereto.
When in session list there are it is to be read do not read session and currently show session when, monitor whether to occur default switching Movement.If do not occurred, monitoring state is persistently kept, if monitoring that default switching action occurs, thens follow the steps S102.
S102 does not read to choose target session in session to be read.
Wherein, the quantity of selected target session can be one, can also be multiple.When electronic equipment can be simultaneously When showing multiple sessions, then the quantity for the session that can be shown simultaneously according to the electronic equipment chooses the target of identical quantity Session.
For example, electronic equipment can show 3 sessions simultaneously, when the number to be read that do not read session for not reading to include in session Amount be greater than 3 when, then can from it is to be read do not read in session choose 3 do not read session as target session, by 3 mesh of selection Rotating savings words are shown.
It is introduced for choosing a target session below.
If to be read do not read only not read session including one in session, session directly can not be read by this and be determined as Target session.If to be read do not read to include at least two not reading session in session, can according to preset choosing method, to Reading does not read to choose a session in session, as target session.
Wherein, preset choosing method can be customized setting.In a kind of embodiment, session is not read to be read In, the session that the determining time nearest with current time occurs, and using identified session as target session.
It is believed that the session occurred with the current time nearest time is the session of newest generation, i.e., by newest hair Raw session is determined as target session.By taking Fig. 2 as an example, it is to be read do not read session include the session of user A, the session of user B and The session of group A, wherein the newest time that the session of user A occurs is 13:00, and the newest time that the session of user B occurs is The newest time that the session of 12:20, group A occurs is 11:00, if current time is 13:15, in above three time point with The current time nearest time is 13:00, can determine that the session of user A is the session of newest generation, then can be by user A's Session is determined as target session.
In a kind of implementation, determine in session list it is to be read do not read session after, can to it is identified to Reading is not read session and is ranked up sequentially in time, can according to the sequence of time from the near to the distant, can also according to the time by Remote and close sequence, is not limited thereto.Wherein, the time based on sequence is the time that each session occurs recently, for example, The time of the session of user A is 13:00 in Fig. 2, indicates that the time that a newest information occurs in the session of user A is 13: 00。
Do not read after session is ranked up to be read, when detect default switching action occurs after, can will sort In first to be read do not read session and be determined as target session.For example, to be read do not read the session, use that session includes user A The session of family B and the session of group A, wherein the newest time that the session of user B occurs is 12:20, and the session of user C occurs The newest time be 11:30, the newest time that the session of group A occurs is 11:00, when according to time sequence from the near to the distant into Row sequence obtains: the session of user B, the session of user C, the session of group A, then, can will after default switching action occurs First to be read not to read session, the i.e. session of user B, is determined as target session.
In another embodiment, determines the time that the session currently shown occurs, do not read in session, determine to be read The session that the nearest time occurs before the time and with the time, and using identified session as target session.
Wherein, the time that the identified session that currently shows occurs be in the session a newest information occur when Between.By taking Fig. 3 as an example, the session shown in Fig. 3 currently shown is the session of user A, a newest letter in the session of the user A The time that breath occurs is 13:00, then can determine that the time that the session currently shown occurs is 13:00.
After determining the time that the session currently shown occurs, it can not read in session to be read, determine the time The session that the nearest time occurs before and with the time.By taking Fig. 2 as an example, the session currently shown is the session of user A, and The time that the session of identified user A occurs is 13:00, to be read not read the meeting that session includes the session of user B, user C Words, then do not read in session to be read, and the session occurred before can determining 13:00 and with the 13:00 nearest time is user The session of user B then can be determined as target session by the session of B.
It, can be with the identified time after determining the time that the session currently shown occurs in a kind of implementation For starting point, session is not read be ranked up according to time proximal and distal sequence to be read.If also, to be read not reading to deposit in session Do not read session after the identified time in the time of generation, then by the time to be read for not reading to occur in session really Session is not read before the fixed time, and using the identified time as starting point and temporally sequence sequence from the near to the distant, is completed Sequence after, the time to be read for not reading to occur in session is not read into session after the identified time, with it is current when Between for starting point and temporally sequence from the near to the distant sorts.The sequence to be read for not reading session can be obtained in this way.Work as detection It, can be by for first in the sequence to be read for not reading session, to be read not read session true to after occurring default switching action It is set to target session.
By taking Fig. 2 as an example, the session that currently shows is the session of subscription message, and to be read not read session include: user A Session, the session of user B, the session of user C and group A session, the time that the session of the subscription message occurs is 12: 00, then to be read session is not read be ranked up in the manner described above, obtained sequence are as follows: the session of user C, group A's Session, the session of user A, the session of user B.It, then can be true by the session of user C after detecting that switching action is preset in generation It is set to target session.
From the mode to be read for not reading to choose target session in session other than above two mode, it can also be passed through He chooses target session at mode, is not limited thereto.
S103 switches to target session from the session currently shown, and shows to target session.
After determining target session, identified target session is next session that will be shown, then from current aobvious The session shown switches to target session, and shows to target session.
For example, the session currently shown is the session of user C, it is to be read not read the session and user B that session includes user A Session, and determine user A session be target session, then the session of user A is switched to from the session of user C, and to user A Session shown that the session of the user A of display is as shown in Figure 3.
In a kind of embodiment, puts when new session occurs, then the new session can be added in session list, and should New session and new session occur before it is to be read do not read session, be determined as it is new it is to be read do not read session, i.e., new is to be read It does not read to include that new session and before to be read do not read session in session.
It does not read to choose target session (step S102) in session to be read, may include steps of:
From determined it is new it is to be read do not read in session, choose target session.That is, in subsequent selection target When session, which can become a constraint term as new one of them that do not read in session to be read.
For example, the session to be read for not reading session and user B that session includes user A, is user C's when new session occurs When session, then the session of user A, the session of user B and the session of user C can be determined as new to be read not reading session. When carrying out target session selection, from it is new it is to be read do not read to choose in session, i.e., from the session of user A, the session of user B and Target session is chosen in the session of user C.
It,, can be by the new meeting if new session occurs during sending default switching action in a kind of implementation Words occur with new session before it is to be read do not read session, be determined as new to be read not reading session.In this way, choosing target meeting It when words, new to be read can not read to be chosen in session from what is determined, wherein that is determined new to be read does not read Session includes: to be read not read session and new session before new session occurs.
In a kind of embodiment, when showing session, it can detecte in session list with the presence or absence of not reading session, if In the presence of session is not read, then can be identified with display reminding.
Wherein, shown session can be into not reading in session list is shown after session and not read session, not After reading session is shown, this does not read Status Change of session as read states.Shown session can also be into session column Shown reading session after session has been read in table.
Wherein, prompt mark does not read session for prompting to exist in session list, i.e., when showing prompt mark, indicates There is also do not read session in current sessions list.It can be switched to by default switching action and not read session, and to not reading session It is shown.
The form of prompt mark can be customized setting, for example, prompt mark can be suspension button, banner, circle Point etc..It is not limited thereto.
On the basis of the above embodiment, in a kind of embodiment, default switching action can be gesture motion and mention The movement of the sensible combination of indicating, for example, default switching action can be long-pressing prompt mark, can also be pin prompt mark to Left sliding is slided to the right, can also be adopting consecutive click chemical reaction prompt mark.
By taking Fig. 3 as an example, the session currently shown is the session of user A, and detects to exist in session list and do not read session: The session of user B and the session of user C, then show suspension button on a display screen, indicates to exist in session list at this time and not read Session, then user can pin the suspension button, and drag the suspension button and slide to the right, from the meeting of the user A currently shown Words switch to the session of user B.
On the basis of the above embodiment, in a kind of embodiment, display reminding mark is for indicating that current sessions arrange Exist in table and do not read session, when non-display reminding mark, then it represents that there is no do not read session, i.e. session in current sessions list Session in list is read states.After display reminding mark, monitoring, which whether there is in session list, does not read session, if In the presence of session is not read, then the display state for keeping prompt to identify does not read session if it does not exist, then deletes prompt mark, i.e., not Show that the prompt identifies.
By the embodiment, there is no display reminding does not identify when not reading session in session list, can prompt to use The state of session in the session list of family, also, show in picture display reminding mark when prompt mark does not work, can be with So that display picture is more succinct, user experience is improved.
By technical solution provided by the embodiments of the present application, when showing session, user needs from the meeting currently shown Words switch to that other are to be read when not reading session, are switched over by default switching action.When detecting default switching action, It then does not read to choose target session in session to be read, and switches to target session from the session currently shown.Pass through the application Technical solution, it is only necessary to a default switching action can be switched to from the session currently shown does not read session, compared to phase For the technology of pass, operating procedure is simplified, and the time needed for saving operating process.
Corresponding to above-mentioned conversation switching method embodiment, the embodiment of the present application also provides a kind of session switching device, and Fig. 5 is A kind of session switching device block diagram shown according to an exemplary embodiment.Referring to Fig. 5, which includes monitoring modular 510, choosing Modulus block 520 and switching module 530.
The monitoring modular 510, which is configured as executing working as in session list, does not read session and the current meeting of showing there are to be read When words, monitor whether that default switching action occurs.
The selection module 520 is configured as when default switching action occurs, and execution does not read to choose in session to be read Target session.
The switching module 530, which is configured as executing from the session currently shown, switches to target session, and to target session It is shown.
In a kind of embodiment, which is specifically used for:
It is not read in session to be read, the session that the determining time nearest with current time occurs, and by identified meeting Words are used as target session;Alternatively,
Determine the time that the session that currently shows occurs, do not read in session to be read, determine before the time and with this The session that nearest time time occurs, and using identified session as target session.
In a kind of embodiment, which can also include:
Determining module is configured as executing when new session occurs, and new session is not read session with to be read, is determined as new To be read do not read session;
The selection module 520 is specifically used for:
From determined it is new it is to be read do not read in session, choose target session.
In a kind of embodiment, which can also include:
Detection module is configured as executing when showing session, and detecting, which whether there is in session list, does not read session;
Display module is configured as when in the presence of session is not read, then executes display reminding mark, wherein prompt mark is used Exist in prompt session list and does not read session.
In a kind of embodiment, which can also include:
Removing module is configured as executing when there is no when not reading session, delete prompt mark in session list.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
By technical solution provided by the embodiments of the present application, when showing session, user needs from the meeting currently shown Words switch to that other are to be read when not reading session, are switched over by default switching action.When detecting default switching action, It then does not read to choose target session in session to be read, and switches to target session from the session currently shown.Pass through the application Technical solution, it is only necessary to a default switching action can be switched to from the session currently shown does not read session, compared to phase For the technology of pass, operating procedure is simplified, and the time needed for saving operating process.
Corresponding to above-mentioned conversation switching method embodiment, the embodiment of the present application also provides a kind of electronic equipment, and Fig. 6 is basis The block diagram of a kind of electronic equipment shown in one exemplary embodiment.For example, electronic equipment 600 can be mobile phone, computer, Digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant Deng.
Referring to Fig. 6, electronic equipment 600 may include following one or more components: processing component 602, memory 604, Electric power assembly 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614, And communication component 616.
The integrated operation of the usual control device 600 of processing component 602, such as with display, telephone call, data communication, phase Machine operation and record operate associated operation.Processing component 602 may include that one or more processors 620 refer to execute It enables, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more modules, just Interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, it is more to facilitate Interaction between media component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in equipment 600.These data are shown Example includes the instruction of any application or method for operating on electronic equipment 600, contact data, telephone directory number According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Power supply module 606 provides electric power for the various assemblies of device 600.Power supply module 606 may include power management system System, one or more power supplys and other with for device 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between described device 600 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When electronic equipment 600 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when electronic equipment 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 604 or via logical Believe that component 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, for providing the state of various aspects for electronic equipment 600 Assessment.For example, sensor module 614 can detecte the state that opens/closes of electronic equipment 600, the relative positioning of component, example As the component be electronic equipment 600 display and keypad, sensor module 614 can also detect electronic equipment 600 or The position change of 600 1 components of electronic equipment, the existence or non-existence that user contacts with electronic equipment 600, electronic equipment 600 The temperature change of orientation or acceleration/deceleration and electronic equipment 600.Sensor module 614 may include proximity sensor, be configured For detecting the presence of nearby objects without any physical contact.Sensor module 614 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between electronic equipment 600 and other equipment. Electronic equipment 600 can access the wireless network based on communication standard, such as WiFi, carrier network (such as 2G, 3G, 4G or 5G), Or their combination.In one exemplary embodiment, communication component 616 receives via broadcast channel and comes from external broadcasting management The broadcast singal or broadcast related information of system.In one exemplary embodiment, the communication component 816 further includes that near field is logical (NFC) module is believed, to promote short range communication.For example, radio frequency identification (RFID) technology, infrared data association can be based in NFC module Meeting (IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 600 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of electronic equipment 600 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
Corresponding to above-mentioned conversation switching method embodiment, it is computer-readable that the embodiment of the present application also provides a kind of non-transitory Storage medium, when the instruction in storage medium is executed by the processor of mobile terminal, so that mobile terminal is able to carry out one kind Conversation switching method, this method comprises:
When in session list there are it is to be read do not read session and currently show session when, monitor whether to occur default switching Movement;In case of default switching action, do not read to choose target session in session to be read;From the session switching currently shown To target session, and target session is shown.
Corresponding to above-mentioned conversation switching method embodiment, the embodiment of the present application also provides a kind of computer program product, uses In the step of executing a kind of above-mentioned conversation switching method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to of the invention its Its embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or Person's adaptive change follows general principle of the invention and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (12)

1. a kind of conversation switching method characterized by comprising
When in session list there are it is to be read do not read session and currently show session when, it is dynamic to monitor whether to occur default switching Make;
In case of the default switching action, to be read do not read to choose target session in session from described;
The target session is switched to from the session currently shown, and the target session is shown.
2. conversation switching method according to claim 1, which is characterized in that described to be read not read to select in session from described The step of taking target session, comprising:
From it is described it is to be read do not read in session, the session that the determining time nearest with current time occurs, and by identified meeting Words are used as target session;Alternatively,
Determine the time that the session that currently shows occurs, from it is described it is to be read do not read in session, determine before the time and with this The session that nearest time time occurs, and using identified session as target session.
3. conversation switching method according to claim 1 or 2, which is characterized in that the method also includes:
When new session occurs, by the new session and it is described it is to be read do not read session, be determined as new to be read not reading session;
It is described to be read not read to choose target session in session from described, comprising:
From determined it is new it is to be read do not read in session, choose target session.
4. conversation switching method according to claim 1, which is characterized in that the method also includes:
When showing session, detecting, which whether there is in the session list, does not read session;
If there is session is not read, then display reminding identifies, wherein the prompt mark is for prompting to deposit in the session list Session is not being read.
5. conversation switching method according to claim 4, which is characterized in that the method also includes:
When there is no when not reading session, delete the prompt mark in the session list.
6. a kind of session switching device characterized by comprising
Monitoring modular, be configured as execute when in session list there are it is to be read do not read session and currently show session when, prison It surveys and default switching action whether occurs;
Module is chosen, is configured as when the default switching action occurs, execution to be read does not read to choose in session from described Target session;
Switching module, is configured as executing from the session currently shown and switches to the target session, and to the target session It is shown.
7. session switching device according to claim 6, which is characterized in that the selection module is specifically used for:
From it is described it is to be read do not read in session, the session that the determining time nearest with current time occurs, and by identified meeting Words are used as target session;Alternatively,
Determine the time that the session that currently shows occurs, from it is described it is to be read do not read in session, determine before the time and with this The session that nearest time time occurs, and using identified session as target session.
8. session switching device according to claim 6 or 7, which is characterized in that described device further include:
Determining module is configured as executing when new session occurs, by the new session and it is described it is to be read do not read session, determination To be new to be read session is not read;
The selection module is specifically used for:
From determined it is new it is to be read do not read in session, choose target session.
9. session switching device according to claim 6, which is characterized in that described device further include:
Detection module is configured as executing when showing session, and detecting, which whether there is in the session list, does not read session;
Display module is configured as when in the presence of session is not read, then executes display reminding mark, wherein the prompt mark is used Session is not read in prompting to exist in the session list.
10. session switching device according to claim 9, which is characterized in that described device further include:
Removing module is configured as executing when there is no when not reading session, delete the prompt mark in the session list.
11. a kind of electronic equipment characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
When in session list there are it is to be read do not read session and currently show session when, it is dynamic to monitor whether to occur default switching Make;
In case of the default switching action, to be read do not read to choose target session in session from described;
The target session is switched to from the session currently shown, and the target session is shown.
12. a kind of non-transitorycomputer readable storage medium, which is characterized in that when the instruction in the storage medium is by moving When the processor of terminal executes, so that mobile terminal is able to carry out a kind of conversation switching method, which comprises
When in session list there are it is to be read do not read session and currently show session when, it is dynamic to monitor whether to occur default switching Make;
In case of the default switching action, to be read do not read to choose target session in session from described;
The target session is switched to from the session currently shown, and the target session is shown.
CN201910092238.4A 2019-01-30 2019-01-30 Session switching method and device Active CN109739415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910092238.4A CN109739415B (en) 2019-01-30 2019-01-30 Session switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910092238.4A CN109739415B (en) 2019-01-30 2019-01-30 Session switching method and device

Publications (2)

Publication Number Publication Date
CN109739415A true CN109739415A (en) 2019-05-10
CN109739415B CN109739415B (en) 2021-02-23

Family

ID=66366715

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910092238.4A Active CN109739415B (en) 2019-01-30 2019-01-30 Session switching method and device

Country Status (1)

Country Link
CN (1) CN109739415B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427484A (en) * 2020-03-09 2020-07-17 北京达佳互联信息技术有限公司 Unread session processing method and device
CN114518829A (en) * 2020-11-20 2022-05-20 腾讯科技(深圳)有限公司 Reminding method, device, equipment and medium for unread messages

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428073A (en) * 2012-05-24 2013-12-04 腾讯科技(深圳)有限公司 User interface-based instant messaging method and apparatus
US20140258919A1 (en) * 2013-03-07 2014-09-11 Tencent Technology (Shenzhen) Company Limited View mode switch of graphical user interface
CN105511777A (en) * 2015-11-25 2016-04-20 小米科技有限责任公司 Session display method and device of touch display screen
CN105786304A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Information display method and device in instant messaging
CN107678544A (en) * 2017-09-25 2018-02-09 北京小米移动软件有限公司 Message treatment method and device
CN107872377A (en) * 2016-09-23 2018-04-03 阿里巴巴集团控股有限公司 Message prompt method and device
CN108021316A (en) * 2017-11-30 2018-05-11 腾讯科技(深圳)有限公司 A kind of method and device of message display

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103428073A (en) * 2012-05-24 2013-12-04 腾讯科技(深圳)有限公司 User interface-based instant messaging method and apparatus
US20140258919A1 (en) * 2013-03-07 2014-09-11 Tencent Technology (Shenzhen) Company Limited View mode switch of graphical user interface
CN105786304A (en) * 2014-12-24 2016-07-20 阿里巴巴集团控股有限公司 Information display method and device in instant messaging
CN105511777A (en) * 2015-11-25 2016-04-20 小米科技有限责任公司 Session display method and device of touch display screen
CN107872377A (en) * 2016-09-23 2018-04-03 阿里巴巴集团控股有限公司 Message prompt method and device
CN107678544A (en) * 2017-09-25 2018-02-09 北京小米移动软件有限公司 Message treatment method and device
CN108021316A (en) * 2017-11-30 2018-05-11 腾讯科技(深圳)有限公司 A kind of method and device of message display

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111427484A (en) * 2020-03-09 2020-07-17 北京达佳互联信息技术有限公司 Unread session processing method and device
CN114518829A (en) * 2020-11-20 2022-05-20 腾讯科技(深圳)有限公司 Reminding method, device, equipment and medium for unread messages
CN114518829B (en) * 2020-11-20 2024-04-19 腾讯科技(深圳)有限公司 Unread message reminding method, device, equipment and medium

Also Published As

Publication number Publication date
CN109739415B (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN105094577A (en) Method and apparatus for application switching
CN106547663B (en) Key management method and device
CN105242870A (en) False touch method and device of terminal with touch screen
CN107608561A (en) Touch-screen control method and device
CN105718056A (en) Gesture recognition method and device
CN104571518A (en) Method and device for executing set operation
CN109039877A (en) A kind of method, apparatus, electronic equipment and storage medium showing unread message quantity
CN113382270B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN105630337A (en) Control controlling method and device
CN104461236A (en) Method and device for displaying application icons
CN110636383A (en) Video playing method and device, electronic equipment and storage medium
CN109358929A (en) Multi-screen display method, device and storage medium
CN106775676A (en) List method to set up and device
CN105487798B (en) The method and device that messaging application is operated on touch screen terminal
CN105515952A (en) Multimedia message sending method and device
CN105468281B (en) The method and apparatus for showing set interface
CN111984347A (en) Interaction processing method, device, equipment and storage medium
CN109739415A (en) Conversation switching method and device
CN109218509A (en) Breath screen display method, apparatus and computer readable storage medium
CN111596832B (en) Page switching method and device
CN105721283A (en) Method and device for sending screenshot message and equipment
CN105204712A (en) Method and device for displaying icons of folder
CN104615457B (en) Show the method and device of control
CN106454540A (en) Interactive information processing method and apparatus based on live broadcasting
CN107566615B (en) Message treatment method, device and computer readable storage medium

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