CN105389173B - Interface switching display method and device based on long connection task - Google Patents

Interface switching display method and device based on long connection task Download PDF

Info

Publication number
CN105389173B
CN105389173B CN201410446083.7A CN201410446083A CN105389173B CN 105389173 B CN105389173 B CN 105389173B CN 201410446083 A CN201410446083 A CN 201410446083A CN 105389173 B CN105389173 B CN 105389173B
Authority
CN
China
Prior art keywords
long connection
connection task
task
new
interface
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
CN201410446083.7A
Other languages
Chinese (zh)
Other versions
CN105389173A (en
Inventor
陈家盛
秦颖夫
金鑫
戴永裕
陈俊标
符德恩
杨泽宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201410446083.7A priority Critical patent/CN105389173B/en
Publication of CN105389173A publication Critical patent/CN105389173A/en
Application granted granted Critical
Publication of CN105389173B publication Critical patent/CN105389173B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an interface switching display method and device based on a long connection task, wherein the method comprises the following steps: acquiring a long connection task request message, wherein the long connection task request message indicates to start a first long connection task; judging whether a second long connection task exists in the currently running tasks, wherein the type of the second long connection task is the same as that of the first long connection task; if the second long connection task exists, generating and displaying a prompt control; and if an instruction for triggering the prompt control is detected, switching and displaying the running interface of the second long connection task. According to the method and the device, when the second long connection task runs, the starting request message of the first long connection task is received and the prompt control is generated, and the user can quickly locate the running interface of the currently started long connection task by touching the prompt control, so that the method and the device are convenient and fast and the efficiency is improved.

Description

Interface switching display method and device based on long connection task
Technical Field
The invention belongs to the technical field of communication, and particularly relates to an interface switching display method and device based on a long connection task.
Background
With the continuous popularization of communication devices, users have higher and higher requirements on various functions of the communication devices. Such as various types of Applications (APPs) installed in communication devices, to start tasks for entertainment or work to meet the needs of users.
At present, in a chat window of the QQ, functions such as voice call, video call, remote assistance, screen sharing, document sharing, and the like are uniformly defined as a long connection task. In a multi-window scenario, only one window is allowed to initiate a long connection service. Typically, in a multi-window task, a user will often switch work back and forth among other multiple windows, ignoring the windows of the long connection task that are in progress. At this time, the user needs to spend effort to check each window to find the window in which the long connection task is being performed when the user wants to open or receive a new long connection task in other windows, and then decides whether to close the current long connection task and open the new long connection task.
For example, if the user currently opens at least two windows, the multiple windows include a window a and a window B, if the window a opens the voice call function, the window B also currently receives an invitation of a voice call, and the window B will be prompted and cannot open the function, at this time, the user needs to find the window a in the multiple windows, hang up the current voice call, and return to the window B to start the voice call function again. That is, the user cannot quickly locate the window currently opened with the long connection task, and when the number of windows is large, the workload of the user is increased.
In summary, based on the long connection task, how to quickly locate the running interface of the currently opened long connection task is one of the technical problems to be solved in the prior art.
Disclosure of Invention
The invention aims to provide an interface switching display method and device based on a long connection task, and aims to solve the technical problem that the currently opened running interface of the long connection task cannot be quickly positioned in the prior art.
In order to solve the above technical problems, embodiments of the present invention provide the following technical solutions:
an interface switching display method based on a long connection task comprises the following steps:
acquiring a long connection task request message, wherein the long connection task request message indicates to start a first long connection task;
judging whether a second long connection task exists in the currently running tasks, wherein the type of the second long connection task is the same as that of the first long connection task;
if the second long connection task exists, generating and displaying a prompt control; and
and if an instruction for triggering the prompt control is detected, switching and displaying the running interface of the second long connection task.
In order to solve the above technical problems, embodiments of the present invention further provide the following technical solutions:
an interface switching display device based on a long connection task, the device comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a long connection task request message which indicates to start a first long connection task;
the judging module is used for judging whether a second long connecting task exists in the currently running long connecting tasks, wherein the second long connecting task is the same as the first long connecting task in type;
the generation display module is used for generating and displaying a prompt control if the second long connection task exists; and
and the switching display module is used for switching and displaying the running interface of the second long connection task when the instruction for triggering the prompt control is detected.
Compared with the prior art, the method provided by the embodiment obtains the request message for instructing to start the first long connection task, when the second long connection task with the same type as the first long connection task exists in the currently running task, the prompt control is generated, the user can quickly locate the running interface of the currently running long connection task after clicking the prompt control, then whether the current long connection task is finished or not can be determined again, a new long connection task is started, the method is convenient and fast, the message timeliness can be guaranteed, when the number of windows is large, the workload of the user for switching the interface back and forth is further reduced, the efficiency is improved, and the user experience is better improved.
Drawings
Fig. 1 is a schematic view of a working environment structure of a server where an interface switching display device based on a long connection task according to an embodiment of the present invention is located;
fig. 2 is a schematic flowchart of an interface switching display method based on a long connection task according to a first embodiment of the present invention;
fig. 3 is a schematic flowchart of an interface switching display method based on a long connection task according to a second embodiment of the present invention;
fig. 4a and fig. 4b are schematic views of an interface display provided by a third embodiment of the present invention;
fig. 5a and 5b are schematic views showing an interface provided by a fourth embodiment of the present invention;
FIG. 6 is a schematic illustration of an interface display provided by a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an interface switching display device based on a long connection task according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of an interface switching display device based on a long connection task according to a seventh embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the description that follows, embodiments of the invention are described with reference to steps and symbols of operations performed by one or more computers, unless otherwise indicated. It will thus be appreciated that those steps and operations, which are referred to herein several times as being computer-executed, include being manipulated by a computer processing unit in the form of electronic signals representing data in a structured form. This manipulation transforms the data or maintains it at locations in the computer's memory system, which may reconfigure or otherwise alter the computer's operation in a manner well known to those skilled in the art. The data maintains a data structure that is a physical location of the memory that has particular characteristics defined by the data format. However, while the principles of the invention have been described in language specific to above, it is not intended to be limited to the specific details shown, since one skilled in the art will recognize that various steps and operations described below may be implemented in hardware.
As used herein, the terms "component," "module," "system," "interface," "process," and the like are generally intended to refer to a computer-related entity: hardware, a combination of hardware and software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a controller and the controller can be a component. One or more components can reside within a process and/or thread of execution and a component may be localized on one computer and/or distributed between two or more computers.
Furthermore, the claimed subject matter may be implemented as a method, apparatus, or article of manufacture using standard programming and/or engineering techniques to produce software, firmware, hardware, or any combination thereof to control a computer to implement the disclosed subject matter. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device, carrier, or media. Of course, those skilled in the art will recognize many modifications may be made to this configuration without departing from the scope or spirit of the claimed subject matter.
FIG. 1 and the following discussion provide a brief, general description of the operating environment of a server on which a long connection task based interface switch presentation appliance of the present invention is implemented. The operating environment of FIG. 1 is only one example of a suitable operating environment and is not intended to suggest any limitation as to the scope of use or functionality of the operating environment. Example servers 112 include, but are not limited to, personal computers, server computers, hand-held or laptop devices, mobile devices (such as mobile phones, Personal Digital Assistants (PDAs), media players, and the like), multiprocessor systems, consumer servers, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like.
FIG. 1 illustrates an example of a server 112 including one or more embodiments of a long connection task based interface switch presentation apparatus of the present invention formed at the server 112. In one configuration, server 112 includes at least one processing unit 116 and memory 118. Depending on the exact configuration and type of server, memory 118 may be volatile (such as RAM), non-volatile (such as ROM, flash memory, etc.) or some combination of the two. This configuration is illustrated in fig. 1 by dashed line 114.
In other embodiments, server 112 may include additional features and/or functionality. For example, device 112 may also include additional storage (e.g., removable and/or non-removable) including, but not limited to, magnetic storage, optical storage, and the like. Such additional storage is illustrated in FIG. 1 by storage 120. In one embodiment, computer readable instructions to implement one or more embodiments provided herein may be in storage 120. Storage 120 may also store other computer readable instructions to implement an operating system, an application program, and the like. Computer readable instructions may be loaded in memory 118 for execution by processing unit 116, for example.
The term "computer readable media" as used herein includes computer storage media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions or other data. Memory 118 and storage 120 are examples of computer storage media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by server 112. Any such computer storage media may be part of server 112.
The server 112 may also include a communication connection 126 that allows the server 112 to communicate with other devices. The communication connection 126 may include, but is not limited to, a modem, a Network Interface Card (NIC), an integrated network interface, a radio frequency transmitter/receiver, an infrared port, a USB connection, or other interfaces for connecting the server 112 to other servers. The communication connection 126 may comprise a wired connection or a wireless connection. Communication connection 126 may transmit and/or receive communication media.
The term "computer readable media" may include communication media. Communication media typically embodies computer readable instructions or other data in a "modulated data signal" such as a carrier wave or other transport mechanism and includes any information delivery media. The term "modulated data signal" may include signals that: one or more of the signal characteristics may be set or changed in such a manner as to encode information in the signal.
Server 112 may include input device(s) 124 such as keyboard, mouse, pen, voice input device, touch input device, infrared camera, video input device, and/or any other input device. Output device(s) 122 such as one or more displays, speakers, printers, and/or any other output device may also be included in device 112. The input device 124 and the output device 122 may be connected to the server 112 via a wired connection, a wireless connection, or any combination thereof. In one embodiment, an input device or an output device from another server may be used as the input device 124 or the output device 122 of the server 112.
The components of server 112 may be connected by various interconnects, such as a bus. Such interconnects may include Peripheral Component Interconnect (PCI), such as PCI express, Universal Serial Bus (USB), firewire (IEEE 1394), optical bus structures, and the like. In another embodiment, components of server 112 may be interconnected by a network. For example, memory 118 may be comprised of multiple physical memory units located in different physical locations interconnected by a network.
Those skilled in the art will realize that storage devices utilized to store computer readable instructions may be distributed across a network. For example, a computing device 130 accessible via network 128 may store computer readable instructions to implement one or more embodiments provided by the present invention. Server 112 may access computing device 130 and download a part or all of the computer readable instructions for execution. Alternatively, server 112 may download pieces of the computer readable instructions, as needed, or some instructions may be executed at server 112 and some at computing device 130.
Various operations of embodiments are provided herein. In one embodiment, the one or more operations may constitute computer readable instructions stored on one or more computer readable media, which when executed by a server, will cause a computing device to perform the operations. The order in which some or all of the operations are described should not be construed as to imply that these operations are necessarily order dependent. Those skilled in the art will appreciate alternative orderings having the benefit of this description. Moreover, it should be understood that not all operations are necessarily present in each embodiment provided herein.
Also, as used herein, the word "preferred" is intended to serve as an example, instance, or illustration. Any aspect or design described herein as "preferred" is not necessarily to be construed as advantageous over other aspects or designs. Rather, use of the word "preferred" is intended to present concepts in a concrete fashion. The term "or" as used in this application is intended to mean an inclusive "or" rather than an exclusive "or". That is, unless specified otherwise or clear from context, "X employs A or B" is intended to include either of the permutations as a matter of course. That is, if X employs A; b is used as X; or X employs both A and B, then "X employs A or B" is satisfied in any of the foregoing examples.
Also, although the disclosure has been shown and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art based upon a reading and understanding of this specification and the annexed drawings. The present disclosure includes all such modifications and alterations, and is limited only by the scope of the appended claims. In particular regard to the various functions performed by the above described components (e.g., elements, resources, etc.), the terms used to describe such components are intended to correspond, unless otherwise indicated, to any component which performs the specified function of the described component (e.g., that is functionally equivalent), even though not structurally equivalent to the disclosed structure which performs the function in the herein illustrated exemplary implementations of the disclosure. In addition, while a particular feature of the disclosure may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for a given or particular application. Furthermore, to the extent that the terms "includes," has, "" contains, "or variants thereof are used in either the detailed description or the claims, such terms are intended to be inclusive in a manner similar to the term" comprising.
First embodiment
Referring to fig. 2, fig. 2 is a flowchart illustrating an interface switching display method based on a long connection task according to a first embodiment of the present invention.
In step S201, a long connection task request message is obtained, where the long connection task request message indicates to start a first long connection task.
The execution main body of the interface switching display method based on the long connection task may be a terminal, and the terminal may include a device having a computing capability, such as a Personal computer (Personal computer), a tablet computer, a mobile phone with a touch function, and the like, which has a storage unit and is provided with a microprocessor.
It can be understood that, in the embodiment of the present invention, the first long connection task may specifically include a video call, a voice call, remote assistance, screen sharing, document sharing, and the like.
In step S202, it is determined whether a second long connection task exists in the currently running tasks, where the second long connection task is the same as the first long connection task in type.
It can be understood that, in the embodiment of the present invention, the currently running task may also be a long connection task, and the currently running task and the second long connection task may also specifically include a video call, a voice call, remote assistance, screen sharing, document sharing, and the like.
If the first long connection task is a video call and the second long connection task is also a video call, the second long connection task is considered to be the same as the first long connection task in type; on the contrary, if the first long connection task is a video call and the second long connection task is a voice call, it is determined that the types of the second long connection task and the first long connection task are different, and the present invention does not specifically limit this case.
In step S203, if the second long connection task exists, a prompt control is generated and displayed.
Specifically, if the second long connection task exists in the currently running tasks, a prompt control is generated and displayed to the user; the control may be a button or a message prompt bar clicked by a user in a chat window, or may be a movable floating control independent of the chat window, and the implementation of the control is not specifically limited and described here.
In step S204, if an instruction to trigger the prompt control is detected, the running interface of the second long connection task is switched and displayed.
That is, after the user clicks the prompt control, the current interface is switched to the running interface of the second long connection task.
Preferably, the first long connection task and the second long connection task are long connection tasks (such as voice calls) started in different windows (chat windows established with friends) based on the same application program (such as QQ), and based on this, when the user clicks the prompt control, the current interface is switched to the window in which the second long connection task operates and is displayed.
Therefore, according to the interface switching display method based on the long connection task, the request message for indicating the opening of the first long connection task is obtained, when it is judged that the second long connection task which is the same as the first long connection task in type exists in the currently running task, the prompt control is generated, the user can quickly locate the running interface of the currently running long connection task after clicking the prompt control, and then whether the current long connection task is ended or not can be determined, a new long connection task is opened, convenience and convenience are achieved, message timeliness can be guaranteed, when the number of windows is large, the workload of the user for switching the interface back and forth is further reduced, efficiency is improved, and user experience is better improved.
Second embodiment
Referring to fig. 3, fig. 3 is a flowchart illustrating an interface switching display method based on a long connection task according to a second embodiment of the present invention.
It should be noted that, in this embodiment, the first long connection task and the second long connection task may be long connection tasks opened in different chat windows based on the same application program (QQ), and for convenience of description, a window in which the first long connection task (i.e., a new long connection task) is opened and the task request message is acquired is denoted as a first window, and a window in which the second long connection task (i.e., an ongoing long connection task) is opened is denoted as a second window. The first long connection task and the second long connection task comprise video call, voice call, remote assistance, screen sharing, document sharing and the like, and the method comprises the following steps:
in step S301, a long connection task request message is acquired;
and acquiring a long connection task request message in the first window, wherein the long connection task request message indicates that the first long connection task is started in the first window.
It is understood that the main body of the interface switching display method based on the long connection task may be a terminal, and the terminal may include a device having a computing capability, such as a Personal computer (Personal computer), a tablet computer, a mobile phone with a touch function, and the like, which has a storage unit and is equipped with a microprocessor.
Preferably, in an embodiment, based on that the user accepts the invitation of the long connection task from another person, the request message for obtaining the long connection task may specifically be: and receiving a long connection task request message sent by a friend.
Preferably, in another embodiment, based on that the user wants to automatically initiate a new long connection task, the request message for acquiring the long connection task may specifically be: acquiring a request instruction; and generating and acquiring the long connection task request message according to the request instruction. The request instruction may specifically be a click operation of a long connection task initiated by a user.
In step S302, it is determined whether or not a second long connection task exists among the currently running tasks.
It is to be understood that, in the embodiment of the present invention, the currently running task may also be a long connection task.
The second long connection task is the same as the first long connection task in type; if the first long connection task is a video call and the second long connection task is also a video call, the type of the second long connection task is considered to be the same as that of the first long connection task; on the contrary, if the first long connection task is a video call and the second long connection task is a voice call, it is determined that the types of the second long connection task and the first long connection task are different, and the present invention does not specifically limit this case.
In step S303, if the second long connection task exists, a prompt control is generated and displayed.
Specifically, if the second long connection task exists in the currently running tasks, a prompt control is generated and displayed to the user; the prompt control may be a button or a message prompt bar clicked by a user in a chat window, or may be a movable floating control independent of the chat window, and the implementation of the floating control is not specifically limited and described here.
Optionally, in this embodiment, after the step of generating and displaying a prompt control, the step S304a, the step S304b, and the step S304c may be respectively executed according to different application scenarios:
in step S304a, if the instruction for refusing to open the first long connection task is detected, the second long connection task currently running is maintained to continue running.
It is to be appreciated that the first long connection task is based on a buddy's long connection task invitation; based on this, the user may choose to reject the invitation, specifically, the user may directly reject to open a new long connection task in the first window, and if a button is clicked to reject opening, the system maintains the second long connection task currently running to continue running.
In step S304b, if the instruction for triggering the prompt control is not detected within the preset time interval, the display of the prompt control is cancelled and the second long connection task currently running is maintained to continue running.
It is to be appreciated that the first long connection task is based on a buddy's long connection task invitation; based on this, the user may not see the information at present, and if an instruction for triggering the prompt control is not detected within a preset time interval, the new long connection task invitation may be considered to be automatically rejected, the display of the prompt control is cancelled, and the second long connection task which is currently running is maintained to continue running.
In step S304c, if the instruction for triggering the prompt control is detected, the running interface of the second long connection task is switched and displayed.
In this embodiment, after the user clicks the prompt control, the current interface is switched to the running interface of the second long connection task.
Because the first long connection task and the second long connection task are based on long connection tasks (such as voice calls) started in different chat windows of the QQ, after the user clicks the prompt control, the current interface is switched to a second window where the second long connection task runs and is displayed.
It can be understood that before the user clicks the prompt control, the current interface may be a page showing the first window, or may also be a page showing other services (non-QQ), and the second window is minimized, or a part of the display is partially covered, which is not limited herein; and after the user clicks the prompt control, switching to the second window, and displaying the second window to the top of the interface.
Further, after the switching and presenting the running interface of the second long connection task (i.e., step S304c), the method may further include:
in step S305, if an instruction to close the second long connection task is detected in the operation interface of the second long connection task, the second long connection task is closed and the first long connection task is opened.
In this embodiment, if the user selects to open a new long connection task, the currently ongoing long connection task (second connection task) is turned off in the running interface of the second long connection task (i.e. the second window), for example, the user clicks a button to turn off the task, and at the same time, controls to open the first long connection task.
Preferably, after the user turns off the second connection task, another prompt control may be generated in the second window, where the prompt control is used to switch to the window (i.e., the first window) where the long connection task request message is obtained; and if an instruction for triggering the prompt control is detected in the second window, switching and displaying the first window so that a user can select whether to start the first long connection task according to current needs.
Therefore, according to the interface switching display method based on the long connection task, the request message for indicating the opening of the first long connection task is obtained, when it is judged that the second long connection task which is the same as the first long connection task in type exists in the currently running task, the prompt control is generated, the user can quickly locate the running interface of the currently running long connection task after clicking the prompt control, and then whether the current long connection task is ended or not can be determined, a new long connection task is opened, convenience and convenience are achieved, message timeliness can be guaranteed, when the number of windows is large, the workload of the user for switching the interface back and forth is further reduced, efficiency is improved, and user experience is better improved.
Third embodiment
In order to better understand the idea of the technical solution of the present invention, a specific application scenario is used to analyze the interface switching display method based on the long connection task, and fig. 4a and fig. 4b are schematic diagrams of a specific scenario of the interface switching display method based on the long connection task according to the third embodiment of the present invention.
First, it should be noted that in this specific scenario, the first long connection task and the second long connection task are long connection tasks opened in different chat windows based on QQ, and for convenience of description, a window in which the first long connection task (i.e., a new long connection task) is opened and the task request message is acquired is recorded as a first window, and a window in which the second long connection task (i.e., an ongoing long connection task) is opened is recorded as a second window.
In this specific scenario, the first long connection task and the second long connection task are taken as an example to perform analysis, and it can be understood that the first long connection task and the second long connection task may also be a video call, remote assistance, screen sharing, document sharing, and the like, which is not specifically described herein.
Suppose that the user opens the voice call long connection task in the second window, and then switches work back and forth among other chat windows, or the process of the second window is executed but not at the topmost layer of the current interface, or the chat windows are minimized for web browsing, and the like. At this time, if the user wants to initiate a new voice call long connection task in a new chat window (i.e., a first window), or when accepting a voice call long connection invitation from other friends in the first window, the system automatically detects that a second long connection task of the same type as the first long connection task exists in the currently running tasks, i.e., detects that the second long connection task is also a voice call, a prompt control is generated and displayed on the interface, as shown in fig. 4a, the prompt control may be disposed below a task bar in the chat window, and may specifically include a text prompt portion and a portion for the user to click, for example, the text prompt portion may prompt that "you are carrying out a multi-person call and temporarily cannot carry out a voice call", and the portion for the user to click may prompt "click to view details"; it is understood that the prompt control may also be a movable hover control that is independent of the chat window, and is not limited in particular herein.
When the user clicks the prompt control, the user can quickly locate the second window of the currently-ongoing voice call long connection task, namely the second window is displayed to the top of the interface. Then, the user can make an independent selection according to the user's requirement, determine whether to end the current voice call connection task, and start a new voice call connection task, as shown in fig. 4 b. Preferably, after the user turns off the second connection task, another prompt control may be generated in the second window, for switching to the window (i.e. the first window) where the long connection task request message is obtained; if an instruction for triggering the prompt control is detected in the second window, the first window is switched and displayed so that a user can select whether to start the first long connection task according to current needs.
In summary, after a user opens a long connection task in one chat window, the user can switch work back and forth among other chat windows. At the moment, if a user wants to initiate a new long connection task or accept a long connection invitation of others, a locatable prompt control can be popped up, the user can quickly locate a window of the currently-ongoing long connection task after clicking the prompt control, then whether the current long connection task is finished or not is determined, and the new long connection task is started, so that the operation of the user is facilitated, when the number of the windows is large, the workload of the user is further reduced, and the user experience is better improved.
It is to be understood that the implementation of the steps of the specific scenario may refer to the related description of the second embodiment, which is not set forth herein.
Fourth embodiment
Further, based on the idea of quickly locating the running interface of the currently opened long connection task related to the present invention, the present invention further provides the following two specific application scenarios, according to the request instruction of the user clicking the prompt control, the task object currently receiving the new message is located, and the following is briefly introduced:
first, in the following fourth and fifth embodiments, illustration and analysis are performed based on the application QQ, and no limitation is made to implementation of the scheme.
Fig. 5a and 5b may be referred to together, and both are schematic interface display diagrams provided by the fourth embodiment; in this embodiment, a prompt control capable of being quickly positioned is added at the bottom of a content area of a chat window, when a user reviews a previous chat content in a chat window, if a current chat window receives a new message, the prompt control is generated and prompts the content of the new message, as shown in fig. 5a, when the user clicks the prompt control, the current new message content can be quickly positioned, as shown in fig. 5 b. That is to say, in this embodiment, the prompt control enables the user to quickly know whether there is a new message, check the corresponding message content, and trace back to the current new message content by clicking.
Fifth embodiment
Referring to fig. 6, a schematic view of an interface provided for the fifth embodiment is shown; in the embodiment, a prompt control is added in the scroll bar of the QQ conversation list, so that a user can conveniently and intuitively know and position the unread messages in the conversation list at any time. As shown in fig. 6, when a new message is received and the user does not view the new message, the number of unread messages is displayed in the call-back bar corresponding to the scroll bar of the session list, and the prompt control displays the status of the unread messages of each session after sorting, which may represent the number of sessions containing the unread messages or the number of total unread messages, and is not limited herein. When the user clicks the prompt control, the session containing the unread message which is the most front in sequence can be quickly positioned, when the user clicks the prompt control again, the second session containing the unread message can be quickly positioned, and so on; in some embodiments, when the user clicks the prompt control, the session containing the most unread messages may be quickly located first, and so on, and the specific implementation is not particularly limited herein. That is, in this embodiment, the prompt control enables the user to quickly navigate to the session containing the unread message so as to quickly view the corresponding message content.
Sixth embodiment
In order to better implement the interface switching display method based on the long connection task provided by the embodiment of the invention, the embodiment of the invention also provides an interface switching display device based on the long connection task. The meaning of the noun is the same as that in the interface switching display method based on the long connection task, and specific implementation details can refer to the description in the method embodiment.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an interface switching and displaying device based on a long connection task according to an embodiment of the present invention, where the interface switching and displaying device based on a long connection task includes an obtaining module 71, a determining module 72, a generating and displaying module 73, and a switching and displaying module 74.
The obtaining module 71 obtains a long connection task request message, where the long connection task request message indicates to start a first long connection task; the determining module 72 determines whether a second long connection task exists in the currently running long connection tasks, where the second long connection task is the same as the first long connection task in type.
The interface switching display device based on the long connection task may be a terminal, and the terminal may include a device having a storage unit and a computing capability and installed with a microprocessor, such as a Personal computer (Personal computer), a tablet computer, and a mobile phone having a touch function.
It can be understood that, in the embodiment of the present invention, the first long connection task and the second long connection task may specifically include a video call, a voice call, remote assistance, screen sharing, document sharing, and the like. If the first long connection task is a video call and the second long connection task is also a video call, the type of the second long connection task is considered to be the same as that of the first long connection task; on the contrary, if the first long connection task is a video call and the second long connection task is a voice call, it is determined that the types of the second long connection task and the first long connection task are different, and the present invention does not specifically limit this case.
If the judging module 72 judges that a second long connection task exists in the currently running long connection tasks, the generating and displaying module 73 generates and displays a prompt control; and the switching and displaying module 74 is configured to switch and display the operation interface of the second long connection task when the instruction for triggering the prompt control is detected.
Specifically, if the second long connection task exists in the currently running tasks, a prompt control is generated and displayed to the user; the control may be a button or a message prompt bar clicked by a user in a chat window, or may be a movable floating control independent of the chat window, and the implementation of the control is not specifically limited and described here.
Preferably, the first long connection task and the second long connection task are long connection tasks (such as voice calls) started in different chat windows based on the same application program (such as a QQ), and based on this, after the user clicks the prompt control, the current interface is switched to a window in which the second long connection task runs and is displayed.
By the interface switching display device based on the long connection task, the request message for indicating the opening of the first long connection task is acquired, when it is judged that the second long connection task which is the same as the first long connection task in type exists in the currently running task, the prompt control is generated, a user can quickly locate the running interface of the currently running long connection task after clicking the prompt control, then whether the current long connection task is ended or not can be determined again, a new long connection task is opened, convenience is realized, message timeliness can be guaranteed, when the number of windows is large, the workload of the user for switching the interface back and forth is further reduced, efficiency is improved, and user experience is better improved.
Seventh embodiment
Referring to fig. 8, fig. 8 is another schematic structural diagram of an interface switching display device based on a long connection task according to an embodiment of the present invention; the interface switching and displaying device based on the long connection task includes an obtaining module 81, a judging module 82, a generating and displaying module 83, a switching and displaying module 84, and a control module 85.
The obtaining module 81 receives a long connection task request message sent by a friend, where the long connection task request message indicates to start a first long connection task. In some embodiments, the obtaining module 81 obtains a request instruction, and generates and obtains the long connection task request message according to the request instruction, where the long connection task request message indicates to start the first long connection task. The determining module 82 determines whether a second long connection task exists in the currently running long connection tasks, where the second long connection task is the same as the first long connection task in type.
In this embodiment, the first long connection task and the second long connection task may be long connection tasks opened in different chat windows based on the same application program (QQ), and for convenience of description, a window in which the first long connection task (i.e., a new long connection task) is opened and the task request message is acquired is recorded as a first window, and a window in which the second long connection task (i.e., an ongoing long connection task) is opened is recorded as a second window. The first long connection task and the second long connection task comprise video call, voice call, remote assistance, screen sharing, document sharing and the like.
It can be understood that, if the first long connection task is a video call and the second long connection task is also a video call, the second long connection task is considered to be of the same type as the first long connection task; on the contrary, if the first long connection task is a video call and the second long connection task is a voice call, it is determined that the types of the second long connection task and the first long connection task are different, and the present invention does not specifically limit this case.
If the determining module 82 determines that the second long connection task exists in the currently running long connection tasks, the generating and displaying module 83 generates and displays a prompt control.
Specifically, if the second long connection task exists in the currently running tasks, a prompt control is generated and displayed to the user; the prompt control may be a button or a message prompt bar clicked by a user in a chat window, or may be a movable floating control independent of the chat window, and the implementation of the floating control is not specifically limited and described here.
Optionally, in this embodiment, after the generation and display module 83 generates and displays a prompt control, if the control module 85 detects that the instruction for starting the first long connection task is rejected, the second long connection task that is currently running is maintained to continue running. Specifically, the user may directly refuse to open a new long connection task in the first window, and if the user clicks a button to refuse to open the new long connection task, the system maintains the second long connection task that is currently running to continue running.
In some embodiments, the control module 85 cancels the presentation of the prompt control if the instruction for triggering the prompt control is not detected within a preset time interval; and maintaining the second long connection task which is currently running to continue running. It can be understood that the user may not currently view the information, and if an instruction to trigger the prompt control is not detected within a preset time interval, the new long connection task invitation may be considered to be automatically rejected, cancel the presentation of the prompt control, and maintain the second long connection task currently running to continue running.
The switching and displaying module 84 is configured to switch and display the operation interface of the second long connection task when the instruction for triggering the prompt control is detected.
In this embodiment, after the user clicks the prompt control, the current interface is switched to the running interface of the second long connection task. Because the first long connection task and the second long connection task are based on long connection tasks (such as voice calls) started in different chat windows of the QQ, after the user clicks the prompt control, the current interface is switched to a second window where the second long connection task runs and is displayed.
Based on this, if the instruction for closing the second long connection task is detected in the operation interface of the second long connection task, the control module 85 closes the second long connection task and opens the first long connection task. Preferably, after the user turns off the second connection task, another prompt control may be generated in the second window, where the prompt control is used to switch to the window (i.e., the first window) where the long connection task request message is obtained; and if an instruction for triggering the prompt control is detected in the second window, switching and displaying the first window so that a user can select whether to start the first long connection task according to current needs.
By the interface switching display device based on the long connection task, the request message for indicating the opening of the first long connection task is acquired, when it is judged that the second long connection task which is the same as the first long connection task in type exists in the currently running task, the prompt control is generated, a user can quickly locate the running interface of the currently running long connection task after clicking the prompt control, then whether the current long connection task is ended or not can be determined again, a new long connection task is opened, convenience is realized, message timeliness can be guaranteed, when the number of windows is large, the workload of the user for switching the interface back and forth is further reduced, efficiency is improved, and user experience is better improved.
In the above embodiments, the descriptions of the embodiments have respective emphasis, and a part which is not described in detail in a certain embodiment may refer to the above detailed description of the interface switching display method based on the long connection task, and is not described here again.
The interface switching display device based on the long connection task provided by the embodiment of the invention is, for example, a computer, a tablet computer, a mobile phone with a touch function, and the like, and the interface switching display device based on the long connection task and the interface switching display method based on the long connection task in the above embodiment belong to the same concept.
It should be noted that, for the interface switching display method based on the long connection task, a person skilled in the art may understand that all or part of the processes for implementing the interface switching display method based on the long connection task according to the embodiment of the present invention may be completed by controlling related hardware through a computer program, where the computer program may be stored in a computer-readable storage medium, such as a memory of a terminal, and executed by at least one processor in the terminal, and the execution process may include the processes of the embodiment of the interface switching display method based on the long connection task. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
For the interface switching and displaying device based on the long connection task in the embodiment of the present invention, each functional module may be integrated in one processing chip, or each module may exist alone physically, or two or more modules are integrated in one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, or the like.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and various changes and modifications can be made by one skilled in the art without departing from the spirit and scope of the present invention.

Claims (17)

1. An interface switching display method based on a long connection task is characterized by comprising the following steps:
when a request message of a new long connection task exists at an instant messaging client, a first chat session window corresponding to the new long connection task is displayed, and the first chat session window comprises: the instant messaging client comprises a text reminding message and a prompt control, wherein the text reminding message and the prompt control are displayed when a target long connection task with the same type as the new long connection task currently exists on the instant messaging client; the text reminding information is used for reminding a user that the target long connection task is stored at the instant messaging client currently, and the reminding control is used for the user to operate and switch the chat session window;
and when an instruction triggered by the user through the prompt control is detected, switching and displaying a second chat session window corresponding to the target long connection task.
2. The interface switching display method based on the long connection task according to claim 1, wherein the step of displaying the first chat session window corresponding to the new long connection task when the instant messaging client has the request message of the new long connection task comprises:
and when the instant messaging client has a new long connection task request message sent by a friend, displaying a first chat session window corresponding to the new long connection task.
3. The interface switching display method based on the long connection task is characterized by further comprising the following steps:
acquiring a request instruction;
and generating and acquiring a request message of the new long connection task according to the request instruction so as to determine that the instant communication client has the request message of the new long connection task.
4. The interface switching display method based on the long connection task of claim 1, wherein after the step of switching and displaying the second chat session window corresponding to the target long connection task, the method comprises:
and if an instruction for closing the target long connection task is detected in the running interface of the target long connection task, closing the target long connection task and opening the new long connection task.
5. The interface switching display method based on the long connection task according to claim 1, wherein after the step of displaying the first chat session window corresponding to the new long connection task, the method further comprises:
and if the instruction of refusing to start the new long connection task is detected, maintaining the target long connection task to continue running.
6. The interface switching display method based on the long connection task according to claim 1, further comprising, after the prompt control is displayed:
if the instruction for triggering the prompt control is not detected within a preset time interval, canceling the display of the prompt control; and
and maintaining the target long connection task to continue running.
7. The interface switching display method based on the long connection task according to any one of claims 1 to 6, wherein the new long connection task and the target long connection task are based on long connection tasks opened in different windows of the same application program.
8. The interface switching display method based on the long connection task according to any one of claims 1 to 6, wherein the new long connection task and the target long connection task comprise a video call, a voice call, remote assistance, screen sharing or document sharing.
9. An interface switching display device based on a long connection task, the device comprising:
a generating and displaying module, configured to display a first chat session window corresponding to a new long connection task when a request message of the new long connection task exists at an instant messaging client, where the first chat session window includes: the instant messaging client comprises a text reminding message and a prompt control, wherein the text reminding message and the prompt control are displayed when a target long connection task with the same type as the new long connection task currently exists on the instant messaging client; the text reminding information is used for reminding a user that the target long connection task is stored at the instant messaging client currently, and the reminding control is used for the user to operate and switch the chat session window;
and the switching display module is used for switching and displaying a second chat session window corresponding to the target long connection task when an instruction triggered by the user through the prompt control is detected.
10. The interface switching display device based on the long connection task of claim 9, wherein the device comprises a detection module, configured to display a first chat session window corresponding to a new long connection task when a new long connection task request message sent by a friend exists in the instant messaging client.
11. The interface switching and displaying device based on the long connection task of claim 10, wherein the detecting module is further configured to obtain a request instruction; and generating and acquiring a request message of the new long connection task according to the request instruction so as to determine that the instant communication client has the request message of the new long connection task.
12. The interface switch presentation device based on long connection task of claim 9, wherein said device further comprises:
and the control module is used for closing the target long connection task and opening the new long connection task if an instruction for closing the target long connection task is detected in the running interface of the target long connection task.
13. The interface switch presentation device according to claim 12, wherein the control module is further configured to maintain the target long connection task to continue running if an instruction to refuse to open the new long connection task is detected.
14. The interface switching and displaying device based on the long connection task according to claim 12, wherein the control module is further configured to cancel the display of the prompt control if an instruction for triggering the prompt control is not detected within a preset time interval; and maintaining the target long connection task to continue running.
15. The interface switching presentation device based on the long connection task according to any one of claims 9 to 14, wherein the new long connection task and the target long connection task are based on long connection tasks opened in different windows of the same application.
16. The interface switch presentation device based on the long connection task as claimed in any one of claims 9 to 14, wherein the new long connection task and the target long connection task comprise a video call, a voice call, a remote assistance, a screen sharing or a document sharing.
17. A computer-readable storage medium storing a computer program, wherein the computer program is executable by a processor to implement the method of any one of claims 1 to 8.
CN201410446083.7A 2014-09-03 2014-09-03 Interface switching display method and device based on long connection task Active CN105389173B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410446083.7A CN105389173B (en) 2014-09-03 2014-09-03 Interface switching display method and device based on long connection task

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410446083.7A CN105389173B (en) 2014-09-03 2014-09-03 Interface switching display method and device based on long connection task

Publications (2)

Publication Number Publication Date
CN105389173A CN105389173A (en) 2016-03-09
CN105389173B true CN105389173B (en) 2020-08-04

Family

ID=55421480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410446083.7A Active CN105389173B (en) 2014-09-03 2014-09-03 Interface switching display method and device based on long connection task

Country Status (1)

Country Link
CN (1) CN105389173B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106100972B (en) * 2016-06-02 2019-02-01 腾讯科技(深圳)有限公司 A kind of message treatment method, system, first terminal and second terminal
US10372298B2 (en) 2017-09-29 2019-08-06 Apple Inc. User interface for multi-user communication session
DK201870364A1 (en) 2018-05-07 2019-12-03 Apple Inc. Multi-participant live communication user interface
US11128792B2 (en) 2018-09-28 2021-09-21 Apple Inc. Capturing and displaying images with multiple focal planes
CN109725966B (en) * 2018-12-14 2020-11-03 珠海格力电器股份有限公司 Mode conversion method, device, terminal equipment and storage medium
US11513667B2 (en) 2020-05-11 2022-11-29 Apple Inc. User interface for audio message
US11671697B2 (en) 2021-01-31 2023-06-06 Apple Inc. User interfaces for wide angle video conference
US11360634B1 (en) 2021-05-15 2022-06-14 Apple Inc. Shared-content session user interfaces
US11907605B2 (en) 2021-05-15 2024-02-20 Apple Inc. Shared-content session user interfaces
US11893214B2 (en) 2021-05-15 2024-02-06 Apple Inc. Real-time communication user interface
US11812135B2 (en) 2021-09-24 2023-11-07 Apple Inc. Wide angle video conference

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040145608A1 (en) * 2003-01-24 2004-07-29 International Business Machines Corporation User interface for conducting chats over a network
CN1831764A (en) * 2005-03-08 2006-09-13 微软公司 Systems and methods for providing a system level user interface in a multimedia console
CN102158491A (en) * 2011-04-13 2011-08-17 上海盛展网络科技有限公司 Voice call system and method thereof
CN102780814A (en) * 2012-06-29 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal multi-channel call processing method and mobile terminal
CN103442146A (en) * 2013-08-30 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method and system thereof for displaying session interface with contacts
CN103546717A (en) * 2012-07-16 2014-01-29 中兴通讯股份有限公司 Audio/video conference connection establishment method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040145608A1 (en) * 2003-01-24 2004-07-29 International Business Machines Corporation User interface for conducting chats over a network
CN1831764A (en) * 2005-03-08 2006-09-13 微软公司 Systems and methods for providing a system level user interface in a multimedia console
CN102158491A (en) * 2011-04-13 2011-08-17 上海盛展网络科技有限公司 Voice call system and method thereof
CN102780814A (en) * 2012-06-29 2012-11-14 宇龙计算机通信科技(深圳)有限公司 Mobile terminal multi-channel call processing method and mobile terminal
CN103546717A (en) * 2012-07-16 2014-01-29 中兴通讯股份有限公司 Audio/video conference connection establishment method and device
CN103442146A (en) * 2013-08-30 2013-12-11 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and method and system thereof for displaying session interface with contacts

Also Published As

Publication number Publication date
CN105389173A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN105389173B (en) Interface switching display method and device based on long connection task
CN107037949B (en) Split screen display method and device
US8954887B1 (en) Long press interface interactions
EP3570163B1 (en) Method for launching application, storage medium, and terminal
CN109062479B (en) Split screen application switching method and device, storage medium and electronic equipment
US11068156B2 (en) Data processing method, apparatus, and smart terminal
CN110622487A (en) File sharing method and terminal
WO2019206158A1 (en) Interface displaying method, apparatus, and device
JP2023511195A (en) Message presentation method and electronic device
US20150040065A1 (en) Method and apparatus for generating customized menus for accessing application functionality
CN112041791B (en) Method and terminal for displaying virtual keyboard of input method
US10474507B2 (en) Terminal application process management method and apparatus
US20180052573A1 (en) Interaction with a file storage service through a messaging bot
CN106383721B (en) Display control method and device of electronic equipment and electronic equipment
CN113220178B (en) Application program control method and device
CN111381737B (en) Dock display method and device and storage medium
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN113127773A (en) Page processing method and device, storage medium and terminal equipment
WO2022171062A1 (en) Method and apparatus for sharing picture, and electronic device and storage medium
US20140113688A1 (en) Method for operating mobile device using vibration sensor
US20170293494A1 (en) Method and device for starting application interface
CN114385049A (en) Message processing method, device, equipment and storage medium
CN112702261A (en) Information display method and device and electronic equipment
WO2022156668A1 (en) Information processing method and electronic device
CN112783388B (en) Display method, display device and electronic equipment

Legal Events

Date Code Title Description
C06 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