CN105227426B - Application interface switching method and device and terminal equipment - Google Patents

Application interface switching method and device and terminal equipment Download PDF

Info

Publication number
CN105227426B
CN105227426B CN201410238784.1A CN201410238784A CN105227426B CN 105227426 B CN105227426 B CN 105227426B CN 201410238784 A CN201410238784 A CN 201410238784A CN 105227426 B CN105227426 B CN 105227426B
Authority
CN
China
Prior art keywords
instant message
application interface
type
current
current application
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.)
Active
Application number
CN201410238784.1A
Other languages
Chinese (zh)
Other versions
CN105227426A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410238784.1A priority Critical patent/CN105227426B/en
Publication of CN105227426A publication Critical patent/CN105227426A/en
Application granted granted Critical
Publication of CN105227426B publication Critical patent/CN105227426B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

the disclosure relates to an application interface switching method, an application interface switching device and terminal equipment, wherein the method comprises the following steps: receiving an instant message sent by an opposite terminal; judging whether the current application interface corresponds to the type of the instant message or not; and if the current application interface does not correspond to the type of the instant message, switching the current application interface into an application interface corresponding to the type of the instant message. According to the scheme, the type switching of the instant messages can be realized without manually switching the application interface by a user, the operation efficiency and the user experience are improved, and particularly when the type of the instant messages needs to be frequently switched, the operation efficiency is higher and the user experience is better.

Description

Application interface switching method and device and terminal equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for switching an application interface, and a terminal device.
Background
the instant messaging is a system service for performing real-time communication on the internet, and a user can install an instant messaging application on a mobile phone, a tablet computer, a computer and other terminal equipment and realize instant messaging with other users by sending instant messages. With the rapid development of multimedia communication technology, the message types of instant messages are more and more abundant, and currently, the message types commonly used include text, voice, video, pictures and the like, and each message type generally corresponds to an application interface.
In the process of instant messaging between a first user and a second user, application interfaces often need to be switched, so that message types can be switched. Assuming that a first user uses a first terminal device and a second user uses a second terminal device, when the first terminal device receives a voice message sent by the second terminal device, if a current application interface of the first terminal device is an application interface corresponding to a text, the first user needs to switch the current application interface to the application interface corresponding to the voice before sending the voice message.
disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides an application interface switching method, an application interface switching apparatus and a terminal device.
According to a first aspect of the embodiments of the present disclosure, there is provided an application interface switching method, including:
receiving an instant message sent by an opposite terminal;
Judging whether the current application interface corresponds to the type of the instant message or not;
And if the current application interface does not correspond to the type of the instant message, switching the current application interface into an application interface corresponding to the type of the instant message.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the determining whether the current application interface corresponds to the type of the instant message includes:
Judging whether the type of the instant message is the same as that of an effective message control on the current application interface or not;
If the current application interface is the same as the instant message, determining that the current application interface corresponds to the type of the instant message;
and if not, determining that the current application interface does not correspond to the type of the instant message.
with reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, after the step of receiving the instant message sent by the peer, and before the step of determining whether the current application interface corresponds to the type of the instant message, the method further includes:
Determining whether the instant message belongs to a current session;
If the instant message belongs to the current session, determining whether an application interface switching operation input by a user is received in the current session, and if the application interface switching operation is received, not executing the step of judging whether the current application interface corresponds to the type of the instant message; if the switching operation of the application interface is not received, executing the step of judging whether the current application interface corresponds to the type of the instant message;
and if the instant message does not belong to the current session, executing the step of judging whether the current application interface corresponds to the type of the instant message.
with reference to the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the determining whether the instant message belongs to the current session includes:
Detecting a time interval between receiving an instant message and an initial instant message of a current conversation;
if the time interval is smaller than or equal to the set threshold, determining that the instant message belongs to the current session;
And if the time interval is larger than the set threshold, determining that the instant message does not belong to the current session.
according to a second aspect of the embodiments of the present disclosure, there is provided an application interface switching apparatus, including:
The receiving module is used for receiving the instant message sent by the opposite terminal;
The judging module is used for judging whether the current application interface corresponds to the type of the instant message or not;
and the switching module is used for switching the current application interface into the application interface corresponding to the type of the instant message if the judging module judges that the current application interface does not correspond to the type of the instant message.
with reference to the second aspect, in a first possible implementation manner of the second aspect, the determining module includes:
the judging unit is used for judging whether the type of the instant message is the same as that of the effective message control on the current application interface;
the first determining unit is used for determining that the current application interface corresponds to the type of the instant message if the judging results of the judging units are the same; and if the judgment results of the judgment units are different, determining that the current application interface does not correspond to the type of the instant message.
With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the apparatus further includes:
the determining module is used for determining whether the instant message belongs to the current session;
The execution module is used for determining whether the application interface switching operation input by the user is received in the current session if the instant message belongs to the current session, and not executing the step of judging whether the current application interface corresponds to the type of the instant message if the application interface switching operation is received; if the switching operation of the application interface is not received, executing the step of judging whether the current application interface corresponds to the type of the instant message; and if the instant message does not belong to the current session, executing the step of judging whether the current application interface corresponds to the type of the instant message.
With reference to the second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the determining module includes:
a detecting unit for detecting a time interval between the received instant message and an initial instant message of the current session;
the second determining unit is used for determining that the instant message belongs to the current session if the time interval is smaller than or equal to the set threshold; and if the time interval is larger than the set threshold, determining that the instant message does not belong to the current session.
according to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, including:
a processor;
a memory for storing processor-executable instructions;
Wherein the processor is configured to:
receiving an instant message sent by an opposite terminal;
Judging whether the current application interface corresponds to the type of the instant message or not;
and if the current application interface does not correspond to the type of the instant message, switching the current application interface into an application interface corresponding to the type of the instant message.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: after receiving the instant message sent by the opposite terminal, whether the current application interface corresponds to the type of the first instant message or not can be automatically judged, if the current application interface does not correspond to the type of the first instant message, the current application interface is automatically switched to the application interface corresponding to the type of the instant message, the type switching of the instant message can be realized without manually switching the application interface by a user, the operation efficiency and the user experience are improved, and particularly when the type of the instant message needs to be frequently switched, the operation efficiency is higher, and the user experience is better.
it is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
the accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow diagram illustrating a method for application interface switching, according to an example embodiment.
fig. 2 is a diagram illustrating an application interface when an instant message sent by a peer is received, according to an example embodiment.
FIG. 3 is a diagram illustrating an application interface after a switch, according to an example embodiment.
Fig. 4 is a block diagram illustrating a first application interface switching apparatus according to an example embodiment.
FIG. 5 is a block diagram illustrating a determination module in accordance with an exemplary embodiment.
fig. 6 is a block diagram illustrating a second application interface switching device according to an example embodiment.
FIG. 7 is a block diagram illustrating a detection module according to an example embodiment.
fig. 8 is a block diagram illustrating a terminal device according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
fig. 1 is a flowchart illustrating an application interface switching method according to an exemplary embodiment, where as shown in fig. 1, the application interface switching method is used in a terminal device, and includes the following steps.
In step S11, an instant message sent by the peer is received.
in the process of using the instant messaging application to carry out instant messaging, the two terminal devices send instant messages to the opposite terminal and receive the instant messages sent by the opposite terminal. Currently, the commonly used instant messaging applications are QQ, wechat, flyletter, and the like.
in step S12, it is determined whether the current application interface corresponds to the type of instant message.
Since each type of instant message has a corresponding application interface, whether the application interface needs to be switched can be determined according to whether the current application interface corresponds to the type of instant message.
If the current application interface does not correspond to the type of the instant message, in step S13, the current application interface is switched to the application interface corresponding to the type of the instant message.
for example, if the type of the instant message is voice and the current application interface corresponds to text, the current application interface needs to be switched to the application interface corresponding to voice.
if the current application interface corresponds to the type of the instant message, in step S14, the current application interface is maintained.
for example, if the type of the instant message is voice and the current application interface corresponds to voice, then no application interface switch is needed.
it can be seen from the above that, after receiving the instant message sent by the opposite end, it can be automatically determined whether the current application interface corresponds to the type of the first instant message, and if the current application interface does not correspond to the type of the first instant message, the current application interface is automatically switched to the application interface corresponding to the type of the instant message, without manually switching the application interface by a user, the type of the instant message can be switched, so that the operation efficiency and the user experience are improved, and especially when the type of the instant message needs to be frequently switched, the operation efficiency is higher, and the user experience is better.
In one embodiment, the step of determining whether the current application interface corresponds to the type of the instant message in the step of S12 includes:
Judging whether the type of the instant message is the same as that of an effective message control on the current application interface or not;
If the current application interface is the same as the instant message, determining that the current application interface corresponds to the type of the instant message;
And if not, determining that the current application interface does not correspond to the type of the instant message.
usually, an active message control is set on the application interface, and the user switches the application interface by clicking the active message control, so that whether the current application interface corresponds to the type of the instant message can be determined according to whether the type of the instant message is the same as the type of the active message control on the current application interface.
Optionally, after receiving the instant message sent by the peer in step S11, before determining whether the current application interface corresponds to the type of the instant message in step S12, the method further includes:
determining whether the instant message belongs to a current session;
if the instant message belongs to the current session, determining whether an application interface switching operation input by a user is received in the current session, and if the application interface switching operation is received, not executing the step of judging whether the current application interface corresponds to the type of the instant message; if the switching operation of the application interface is not received, executing a step of judging whether the current application interface corresponds to the type of the instant message;
And if the instant message does not belong to the current session, executing a step of judging whether the current application interface corresponds to the type of the instant message.
After receiving the instant message sent by the opposite terminal, whether the step of judging whether the current application interface corresponds to the type of the instant message or not can be determined according to whether the instant message belongs to the current session or not.
If the instant message belongs to the current session, whether an application interface switching operation input by a user is received in the current session can be determined, if the application interface switching operation is received, the application interface is manually switched by the user in the current session, the user does not need to automatically switch the application interface by the terminal equipment, and the step of judging whether the current application interface corresponds to the type of the instant message is not executed, namely: in the current session, if the user does not need to automatically switch the application interface, the automatic switching of the application interface is not executed when the instant message of the opposite terminal is received after the current session; if the switching operation of the application interface is not received, it is indicated that the user does not manually switch the application interface in the current session, that is, the user needs the terminal device to automatically switch the application interface, and at this time, the step of judging whether the current application interface corresponds to the type of the instant message may be executed, that is: in the current session, if the user needs to automatically switch the application interface, the application interface is automatically switched when an instant message of the opposite terminal is received after the current session.
and if the instant message does not belong to the current session, executing a step of judging whether the current application interface corresponds to the type of the instant message.
for example, the step of determining whether the instant message belongs to the current session may include:
detecting a time interval between receiving an instant message and an initial instant message of a current conversation;
If the time interval is smaller than or equal to the set threshold, determining that the instant message belongs to the current session;
And if the time interval is larger than the set threshold, determining that the instant message does not belong to the current session.
an instant messaging process with a peer within a certain time interval may be defined as a session, and an instant messaging process exceeding the time interval is another session. And determining whether the instant message belongs to the current session or not by detecting the time interval between the instant message sent by the receiving opposite terminal and the initial instant message. The setting threshold may be set according to actual needs, for example, set to 5 minutes, 6 minutes, 10 minutes, and the like.
The following describes the application interface switching method with reference to specific embodiments.
supposing that the local terminal and the opposite terminal 'xiaoqi' perform instant communication, as shown in fig. 2, when receiving a voice message sent by the xiaoqi, the local terminal may first determine whether the voice message belongs to the current session, and supposing that the language message belongs to the current session, further determine whether an application interface switching operation is received in the current session, if not, determine whether the current application interface corresponds to voice, as can be seen from fig. 2, an effective message control on the current application interface is a text, so that the application interface needs to be switched to a voice application interface, and after switching, as shown in fig. 3; if the application interface is received, the application interface is not switched, and the application interface shown in FIG. 2 is kept. The user can edit the instant message on the current application interface and then send the instant message to the opposite terminal.
Fig. 4 is a block diagram illustrating an application interface switching apparatus according to an example embodiment. Referring to fig. 4, the apparatus includes a receiving module 41, a determining module 42, and a switching module 43.
The receiving module 41 is configured to receive an instant message sent by a peer.
the determination module 42 is configured to determine whether the current application interface corresponds to a type of instant message.
The switching module 43 is configured to switch the current application interface to the application interface corresponding to the type of the instant message if the determining module determines that the current application interface does not correspond to the type of the instant message.
For example, as shown in fig. 5, the judging module 42 includes a judging unit 421 and a first determining unit 422.
the determining unit 421 is configured to determine whether the type of the instant message is the same as the type of the active message control on the current application interface.
The first determining unit 422 is configured to determine that the current application interface corresponds to the type of the instant message if the determination results of the determining units are the same; and if the judgment results of the judgment units are different, determining that the current application interface does not correspond to the type of the instant message.
Optionally, as shown in fig. 6, the application interface switching apparatus further includes a determining module 44 and an executing module 45 on the basis of fig. 4.
the determination module 44 is configured to determine whether the instant message belongs to the current session.
the execution module 45 is configured to determine whether an application interface switching operation input by a user is received in the current session if the instant message belongs to the current session, and not execute the step of determining whether the current application interface corresponds to the type of the instant message if the application interface switching operation is received; if the switching operation of the application interface is not received, executing a step of judging whether the current application interface corresponds to the type of the instant message; and if the instant message does not belong to the current session, executing a step of judging whether the current application interface corresponds to the type of the instant message.
for example, as shown in fig. 7, the determination module 44 includes a detection unit 441 and a second determination unit 442.
The detection unit 441 is configured to detect a time interval between receiving an instant message and an initial instant message of a current conversation.
the second determining unit 442 is configured to determine that the instant message belongs to the current session if the time interval is less than or equal to the set threshold; and if the time interval is larger than the set threshold, determining that the instant message does not belong to the current session.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
fig. 8 is a block diagram illustrating an apparatus 800 for switching application interfaces in accordance with an example embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
the processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
the memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
the multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
in an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
in an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
a non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a terminal device, enable the terminal device to perform a method of application interface switching, the method comprising:
Receiving an instant message sent by an opposite terminal;
judging whether the current application interface corresponds to the type of the instant message or not;
And if the current application interface does not correspond to the type of the instant message, switching the current application interface into an application interface corresponding to the type of the instant message.
For example, the step of determining whether the current application interface corresponds to the type of the instant message includes:
Judging whether the type of the instant message is the same as that of an effective message control on the current application interface or not;
If the current application interface is the same as the instant message, determining that the current application interface corresponds to the type of the instant message;
And if not, determining that the current application interface does not correspond to the type of the instant message.
Optionally, after the step of receiving the instant message sent by the peer, and before the step of determining whether the current application interface corresponds to the type of the instant message, the method further includes:
determining whether the instant message belongs to a current session;
if the instant message belongs to the current session, determining whether an application interface switching operation input by a user is received in the current session, and if the application interface switching operation is received, not executing the step of judging whether the current application interface corresponds to the type of the instant message; if the switching operation of the application interface is not received, executing the step of judging whether the current application interface corresponds to the type of the instant message;
And if the instant message does not belong to the current session, executing the step of judging whether the current application interface corresponds to the type of the instant message.
For example, the step of determining whether the instant message belongs to the current session includes:
detecting a time interval between receiving an instant message and an initial instant message of a current conversation;
if the time interval is smaller than or equal to the set threshold, determining that the instant message belongs to the current session;
and if the time interval is larger than the set threshold, determining that the instant message does not belong to the current session.
other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
it will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (7)

1. An application interface switching method is characterized by comprising the following steps:
receiving an instant message sent by an opposite terminal;
judging whether the current application interface corresponds to the type of the instant message or not;
After the step of receiving the instant message sent by the opposite terminal and before the step of judging whether the current application interface corresponds to the type of the instant message, the method further comprises the following steps:
Determining whether the instant message belongs to a current session;
If the instant message belongs to the current session, determining whether an application interface switching operation input by a user is received in the current session, and if the application interface switching operation is received, not executing the step of judging whether the current application interface corresponds to the type of the instant message; if the switching operation of the application interface is not received, executing the step of judging whether the current application interface corresponds to the type of the instant message;
If the instant message does not belong to the current session, executing the step of judging whether the current application interface corresponds to the type of the instant message;
And if the current application interface does not correspond to the type of the instant message, switching the current application interface into an application interface corresponding to the type of the instant message.
2. the method of claim 1, wherein the step of determining whether the current application interface corresponds to the type of instant message comprises:
judging whether the type of the instant message is the same as that of an effective message control on the current application interface or not;
If the current application interface is the same as the instant message, determining that the current application interface corresponds to the type of the instant message;
And if not, determining that the current application interface does not correspond to the type of the instant message.
3. the method of claim 1, wherein the step of determining whether the instant message belongs to a current session comprises:
Detecting a time interval between receiving an instant message and an initial instant message of a current conversation;
if the time interval is smaller than or equal to the set threshold, determining that the instant message belongs to the current session;
And if the time interval is larger than the set threshold, determining that the instant message does not belong to the current session.
4. An application interface switching device, comprising:
The receiving module is used for receiving the instant message sent by the opposite terminal;
the judging module is used for judging whether the current application interface corresponds to the type of the instant message or not;
The determining module is used for determining whether the instant message belongs to the current session;
The execution module is used for determining whether the application interface switching operation input by the user is received in the current session if the instant message belongs to the current session, and not executing the step of judging whether the current application interface corresponds to the type of the instant message if the application interface switching operation is received; if the switching operation of the application interface is not received, executing the step of judging whether the current application interface corresponds to the type of the instant message; if the instant message does not belong to the current session, executing the step of judging whether the current application interface corresponds to the type of the instant message;
and the switching module is used for switching the current application interface into the application interface corresponding to the type of the instant message if the judging module judges that the current application interface does not correspond to the type of the instant message.
5. The apparatus of claim 4, wherein the determining module comprises:
The judging unit is used for judging whether the type of the instant message is the same as that of the effective message control on the current application interface;
the first determining unit is used for determining that the current application interface corresponds to the type of the instant message if the judging results of the judging units are the same; and if the judgment results of the judgment units are different, determining that the current application interface does not correspond to the type of the instant message.
6. the apparatus of claim 4, wherein the determining module comprises:
A detecting unit for detecting a time interval between the received instant message and an initial instant message of the current session;
The second determining unit is used for determining that the instant message belongs to the current session if the time interval is smaller than or equal to the set threshold; and if the time interval is larger than the set threshold, determining that the instant message does not belong to the current session.
7. A terminal device, comprising:
A processor;
A memory for storing processor-executable instructions;
Wherein the processor is configured to:
Receiving an instant message sent by an opposite terminal;
judging whether the current application interface corresponds to the type of the instant message or not;
after the step of receiving the instant message sent by the opposite terminal and before the step of judging whether the current application interface corresponds to the type of the instant message, the method further comprises the following steps:
Determining whether the instant message belongs to a current session;
If the instant message belongs to the current session, determining whether an application interface switching operation input by a user is received in the current session, and if the application interface switching operation is received, not executing the step of judging whether the current application interface corresponds to the type of the instant message; if the switching operation of the application interface is not received, executing the step of judging whether the current application interface corresponds to the type of the instant message;
If the instant message does not belong to the current session, executing the step of judging whether the current application interface corresponds to the type of the instant message;
and if the current application interface does not correspond to the type of the instant message, switching the current application interface into an application interface corresponding to the type of the instant message.
CN201410238784.1A 2014-05-30 2014-05-30 Application interface switching method and device and terminal equipment Active CN105227426B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410238784.1A CN105227426B (en) 2014-05-30 2014-05-30 Application interface switching method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410238784.1A CN105227426B (en) 2014-05-30 2014-05-30 Application interface switching method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN105227426A CN105227426A (en) 2016-01-06
CN105227426B true CN105227426B (en) 2019-12-13

Family

ID=54996133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410238784.1A Active CN105227426B (en) 2014-05-30 2014-05-30 Application interface switching method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN105227426B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111651101A (en) * 2016-12-19 2020-09-11 西安艾润物联网技术服务有限责任公司 Switching method and device for parking lot management application operation interface
CN109688044A (en) * 2017-10-19 2019-04-26 腾讯科技(深圳)有限公司 A kind of information processing method and device, equipment, storage medium
WO2019205018A1 (en) * 2018-04-25 2019-10-31 深圳市元征软件开发有限公司 Method, system, device, computer readable storage medium for switching interface
WO2019214072A1 (en) 2018-05-10 2019-11-14 华为技术有限公司 Method for displaying virtual keyboard of input method, and terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1746889A (en) * 2005-10-17 2006-03-15 蒋晓海 Realization of mobile real-time telecommunication client end with double page and interface
CN1882189A (en) * 2005-06-17 2006-12-20 捷讯研究有限公司 Method and apparatus for switching between concurrent messaging sessions
CN101131641A (en) * 2006-08-17 2008-02-27 捷讯研究有限公司 User interface manager and method for reacting to a change in system status
CN103167081A (en) * 2011-12-16 2013-06-19 上海晨兴希姆通电子科技有限公司 Message browsing and editing device and message browsing and editing method and mobile terminal
CN103294722A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Information processing method and system
CN103581401A (en) * 2012-08-01 2014-02-12 腾讯科技(深圳)有限公司 Message notification and display method and mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882189A (en) * 2005-06-17 2006-12-20 捷讯研究有限公司 Method and apparatus for switching between concurrent messaging sessions
CN1746889A (en) * 2005-10-17 2006-03-15 蒋晓海 Realization of mobile real-time telecommunication client end with double page and interface
CN101131641A (en) * 2006-08-17 2008-02-27 捷讯研究有限公司 User interface manager and method for reacting to a change in system status
CN103167081A (en) * 2011-12-16 2013-06-19 上海晨兴希姆通电子科技有限公司 Message browsing and editing device and message browsing and editing method and mobile terminal
CN103294722A (en) * 2012-03-02 2013-09-11 腾讯科技(深圳)有限公司 Information processing method and system
CN103581401A (en) * 2012-08-01 2014-02-12 腾讯科技(深圳)有限公司 Message notification and display method and mobile terminal

Also Published As

Publication number Publication date
CN105227426A (en) 2016-01-06

Similar Documents

Publication Publication Date Title
CN106961526B (en) Notification message display method and device and electronic equipment
EP3188066A1 (en) A method and an apparatus for managing an application
WO2016192323A1 (en) Video communication method and device
EP3136699A1 (en) Method and device for connecting external equipment
CN107204883B (en) Network fault processing method and device
US10009283B2 (en) Method and device for processing information
CN106792937B (en) Method and device for processing call request
US20180091328A1 (en) Prompting method, prompting device and prompting system
CN105260247A (en) Method and device for controlling terminal application
CN113055966B (en) Frequency band switching method, frequency band switching device and storage medium
CN106507282B (en) Wireless connection control method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN112181265B (en) Touch signal processing method, device and medium
CN106412481B (en) Reminding method, device and terminal based on VoLTE video calling
CN105517078A (en) Network connection switching method and device
CN106919302B (en) Operation control method and device of mobile terminal
CN105376318A (en) File transmission method, device and system
CN104780256A (en) Address book management method and device and intelligent terminal
CN105101121A (en) Information transmitting method and device
CN105786561B (en) Method and device for calling process
CN107026941B (en) Method and device for processing reply of unread message
CN107948876B (en) Method, device and medium for controlling sound box equipment
CN103973883B (en) A kind of method and device controlling voice-input device
CN107277422B (en) Video call method, device and system
CN105227891A (en) A kind of video call method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant