CN106775194B - Application interface switching method and device - Google Patents
Application interface switching method and device Download PDFInfo
- Publication number
- CN106775194B CN106775194B CN201611032098.4A CN201611032098A CN106775194B CN 106775194 B CN106775194 B CN 106775194B CN 201611032098 A CN201611032098 A CN 201611032098A CN 106775194 B CN106775194 B CN 106775194B
- Authority
- CN
- China
- Prior art keywords
- interface
- instant messaging
- switching
- triggered
- webpage
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses an application interface switching method and an application interface switching device, wherein the application interface switching method comprises the following steps: displaying a webpage interface of the instant messaging application, and displaying a switching control on the webpage interface; detecting whether the switching control is triggered; and when the switching control is triggered, switching and displaying the displayed webpage interface as an instant messaging interface of the instant messaging application. The embodiment of the invention can simplify the operation and shorten the switching time.
Description
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to an application interface switching method and device.
Background
Instant messaging applications, such as QQ, wechat, etc., mainly provide instant messaging services to users. With the development of communication technology, the instant messaging application can provide more and more services, and besides the instant communication service, the instant messaging application can also provide webpage services for users, such as games, shopping and the like. When a user uses a web service provided by an instant messaging application on a terminal (such as a mobile phone, a tablet personal computer, etc.), the user needs to use an instant communication service provided by the instant messaging application, for example, when the user uses a QQ to play a game on the mobile phone, the user wants to send a message to a QQ friend or check whether the QQ friend sends a message, at this time, the user needs to switch from a game interface to a chat interface by one-level fallback, and in the process, multi-step operation is required, the operation is cumbersome, and the time required for switching is long.
Disclosure of Invention
In view of this, embodiments of the present invention provide an application interface switching method and apparatus, which can simplify operations and shorten switching time.
The application interface switching method provided by the embodiment of the invention comprises the following steps:
displaying a webpage interface of the instant messaging application, and displaying a switching control on the webpage interface;
detecting whether the switching control is triggered;
and when the switching control is triggered, switching and displaying the displayed webpage interface as an instant messaging interface of the instant messaging application.
The application interface device provided by the embodiment of the invention comprises:
the display unit is used for displaying a webpage interface of the instant messaging application and displaying a switching control on the webpage interface;
the first detection unit is used for detecting whether the switching control is triggered or not;
and the first switching unit is used for switching and displaying the displayed webpage interface as an instant messaging interface of the instant messaging application when the switching control is triggered.
In the embodiment of the invention, the switching control is arranged on the webpage interface of the instant messaging application, whether the switching control is triggered or not is detected when the webpage interface is displayed, and the displayed webpage interface is switched and displayed as the instant messaging interface of the instant messaging application when the switching control is triggered.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of a scenario of an application interface switching method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an application interface switching method according to an embodiment of the present invention;
fig. 3a is another schematic flow chart of an application interface switching method according to an embodiment of the present invention;
FIG. 3b is a schematic diagram of a display of an application interface switching process provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an application interface switching apparatus according to an embodiment of the present invention;
fig. 5 is another schematic structural diagram of an application interface switching device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Because in the prior art, when an application interface is switched, multiple steps of operations need to be performed, the operation process is complicated, and the switching time is long, embodiments of the present invention provide an application interface switching method and an application interface switching device, where the application interface switching method can be implemented in an application interface switching device, the application interface switching device includes, but is not limited to, a mobile phone, a tablet computer, and other terminal devices, an instant messaging application is installed in the application interface switching device, and the instant messaging application includes, for example, QQ, wechat, and the instant messaging application can provide an instant messaging service and a web service for a user. A specific implementation scenario of the application interface switching method according to the embodiment of the present invention is shown in fig. 1, initially, a user uses a web service provided by an instant messaging application to display a web interface (e.g., a game interface, a shopping interface, etc.) of the instant messaging application on a display screen of the device, the web interface displays a switching control, when the user needs to use an instant messaging service of the instant messaging application, the user can trigger (e.g., click) the switching control displayed on the web interface, when the application interface switching device detects that the switching control is triggered, the displayed web interface can be switched and displayed as an instant messaging interface (e.g., a message list interface) of the instant messaging application, during this process, the user only needs to perform a simple operation on the switching control, and the switching between the web interface and the instant messaging interface can be realized by one-time triggering, the operation complexity is greatly reduced, and the switching time is shortened.
The following are detailed below, and the numbers of the following examples are not intended to limit the preferred order of the examples.
Example one
As shown in fig. 2, the method of the present embodiment includes the following steps:
instant messaging applications, such as QQ, WeChat, facebook, etc., may provide instant messaging services (e.g., chat) and web services (e.g., games, shopping, news) to users. When a user uses an instant messaging service provided by an instant messaging application, an instant messaging interface (such as a message list interface) needs to be displayed on a display screen of the device, and when the user uses a web service provided by the instant messaging application, a web interface (such as a game interface and a shopping interface) needs to be displayed on the display screen of the device. In this embodiment, the WEB interface may refer to an H5WEB interface, that is, a mobile terminal WEB interface implemented using HyperText Markup Language (HTML) standard.
In a specific implementation, when a web interface of an instant messaging application is displayed, a Uniform Resource Locator (URL) can be used as an input parameter to set the web interface to support fast switching, a fast switching icon is drawn on the web interface, that is, a switching control is generated, and the switching control is displayed on the web interface.
when a user uses a web service provided by the instant messaging application and wants to use an instant messaging service provided by the instant messaging application, a switching control displayed on the web interface can be triggered (e.g., clicked), and the application interface switching device can detect that the switching control is triggered.
In a specific implementation, when the switching control displayed on the web interface is triggered, the application interface switching device may further store the display data (e.g., pictures, text, typesetting, and the like) of the current web interface into a stack for subsequent quick retrieval, and generate a recovery control in the instant messaging interface of the instant messaging application according to the display data of the current web interface, where the information displayed in the recovery control may include but is not limited to: and switching and displaying the displayed webpage interface of the instant messaging application into an instant messaging interface, wherein a recovery control is displayed on the instant messaging interface at the moment. In the whole switching process, the user can realize the switching between the webpage interface and the instant messaging interface only by carrying out simple operation on the switching control and triggering once, so that the operation complexity is greatly reduced, and the switching time is shortened.
When the user wants to return to the web service provided by the instant messaging application, a recovery control displayed on the instant messaging interface can be triggered (for example, clicked), the application interface switching device can detect whether the recovery control is triggered, and when the recovery control is detected to be triggered, the application interface switching device can take out the stored display data of the web interface from the stack and restore and display the displayed instant messaging interface as the web interface according to the taken-out data.
Because the webpage interface is restored and displayed directly according to the data taken out of the stack, the restored and displayed webpage interface can be the same as the display state of the original webpage interface, the restoration control is triggered once, the original webpage interface can be restored, the restoration to the original webpage interface is not required to be opened in one step, and the operation is simplified; in addition, the data are directly taken from the stack to recover the webpage interface, so that the corresponding webpage interface does not need to be reinitialized and rendered, and the switching speed during recovery is improved.
In addition, one instant messaging application can provide multiple web page services for a user, and the user may use different web page services successively, for example, the user may browse a certain shopping website after playing a game.
The plurality of restoring controls can be displayed in parallel on the instant messaging interface according to the opening sequence of the corresponding web interface, for example, a plurality of control display positions can be set, the plurality of restoring controls can be displayed on the instant messaging interface in a row or a column parallel sequencing mode according to the opening sequence of the corresponding web interface, the restoring control corresponding to the web interface opened first is displayed in front of or on the instant messaging interface, and the restoring control corresponding to the web interface opened later is displayed behind or under the instant messaging interface.
In addition, in order to save the display position and optimize the interface typesetting, a plurality of recovery controls can be switched and displayed on the instant messaging interface in turn according to the opening sequence of the corresponding webpage interface, for example, only one control display position can be set, and each recovery control can be switched and displayed by turning up and down or turning left and right.
The user can select to trigger any one recovery control, the application interface switching device detects the triggered recovery control, then the display data of the webpage interface corresponding to the triggered recovery control are taken out from the stack, and the displayed instant messaging interface is recovered and displayed as the webpage interface corresponding to the triggered recovery control according to the taken out data.
Example two
As shown in fig. 3a, the method described in the first embodiment, which will be described in further detail by way of example, includes:
instant messaging applications, such as QQ, WeChat, facebook, etc., may provide instant messaging services (e.g., chat) and web services (e.g., games, shopping, news) to users. When a user uses an instant messaging service provided by an instant messaging application, an instant messaging interface (such as a message list interface) needs to be displayed on a display screen of the device, and when the user uses a web service provided by the instant messaging application, a web interface (such as a game interface and a shopping interface) needs to be displayed on the display screen of the device. In this embodiment, the WEB interface may refer to an H5WEB interface, that is, a mobile terminal WEB interface implemented using HyperText Markup Language (HTML) standard.
In a specific implementation, when a web interface of an instant messaging application is displayed, a Uniform Resource Locator (URL) can be used as an input parameter to set the web interface to support fast switching, a fast switching icon is drawn on the web interface, that is, a switching control is generated, and the switching control is displayed on the web interface.
when a user uses a web service provided by the instant messaging application and wants to use an instant messaging service provided by the instant messaging application, a switching control displayed on the web interface can be triggered (e.g., clicked), and the application interface switching device can detect that the switching control is triggered.
the display data of the web interface, such as pictures, characters, typesets and the like, are stored in the stack for the purpose of facilitating the subsequent rapid data extraction.
the information exposed in the resume control may include, but is not limited to: an icon of the web interface, and/or a summary of the web interface, and/or a thumbnail of the web interface.
305, switching and displaying the displayed webpage interface as an instant messaging interface of the instant messaging application;
and displaying a recovery control on the instant messaging interface at the moment.
The steps realize the switching from the webpage interface to the instant messaging interface, and in the whole switching process, a user can realize the switching between the webpage interface and the instant messaging interface only by simply operating the switching control and triggering once, so that the operation complexity is greatly reduced, and the switching time is shortened.
when the user wants to return to the web service provided by using the instant messaging application, a recovery control displayed on the instant messaging interface can be triggered (e.g., clicked), and the application interface switching device can detect that the recovery control is triggered.
307, taking out display data of the webpage interface from the stack;
and 308, restoring and displaying the displayed instant messaging interface as the webpage interface according to the taken data.
Because the webpage interface is restored and displayed directly according to the data taken out of the stack, the restored and displayed webpage interface can be the same as the display state of the original webpage interface, the restoration control is triggered once, the original webpage interface can be restored, the restoration to the original webpage interface is not required to be opened in one step, and the operation is simplified; in addition, the data are directly taken from the stack to recover the webpage interface, so that the corresponding webpage interface does not need to be reinitialized and rendered, and the switching speed during recovery is improved.
In addition, one instant messaging application can provide multiple web page services for a user, and the user may use different web page services successively, for example, the user may browse a certain shopping website after playing a game.
The plurality of restoring controls can be displayed in parallel on the instant messaging interface according to the opening sequence of the corresponding web interface, for example, a plurality of control display positions can be set, the plurality of restoring controls can be displayed on the instant messaging interface in a row or a column parallel sequencing mode according to the opening sequence of the corresponding web interface, the restoring control corresponding to the web interface opened first is displayed in front of or on the instant messaging interface, and the restoring control corresponding to the web interface opened later is displayed behind or under the instant messaging interface.
In addition, in order to save the display position and optimize the interface typesetting, a plurality of recovery controls can be switched and displayed on the instant messaging interface in turn according to the opening sequence of the corresponding webpage interface, for example, only one control display position can be set, and each recovery control can be switched and displayed by turning up and down or turning left and right.
The user can select to trigger any one recovery control, the application interface switching device detects the triggered recovery control, then the display data of the webpage interface corresponding to the triggered recovery control are taken out from the stack, and the displayed instant messaging interface is recovered and displayed as the webpage interface corresponding to the triggered recovery control according to the taken out data.
Taking an instant messaging application as QQ as an example, an application interface switching method provided by the embodiment of the invention is described below, as shown in fig. 3b, a user uses QQ to play a cool and cool game, a game interface (as shown in a picture on the left side of fig. 3 b) is displayed on a display screen of a terminal, a switching control is displayed on the game interface, when the user wants to check whether a QQ friend sends a message or not, the switching control displayed on the game interface can be clicked, the terminal stores display data of the game interface to a stack, a recovery control of the game interface is generated on a message list interface at the same time, then the game interface is switched and displayed as a message list interface (as shown in a picture in the middle of fig. 3 b), the user checks that no friend sends a message at the moment, the user wants to return to continue playing a cool and at the moment, the user can click the recovery control on the message list interface, the terminal takes out the stored display data of the cool and, and restoring the message list interface to be displayed as a game interface according to the extracted display data (as shown in the right picture of fig. 3 b), wherein the display state of the restored game interface is the same as that of the original game interface.
In summary, the present embodiment has the following advantages:
firstly, switching from a webpage interface of the instant messaging application to an instant messaging interface, and triggering the switching control once by a user is simple to operate, and the switching time is shortened;
secondly, switching back to the webpage interface from the instant messaging interface of the instant messaging application, wherein the user only needs to trigger the recovery control once, the operation is simple, the webpage interface is directly recovered and displayed according to the data taken out from the stack, and the recovered and displayed webpage interface can be in the same display state as the original webpage interface; in addition, the data are directly taken from the stack to recover the webpage interface, so that the corresponding webpage interface does not need to be reinitialized and rendered, and the switching speed during recovery is improved.
The scheme provided by the embodiment is particularly suitable for a payment scene based on H5WEB, when the payment interface is operated, the payment interface needs to be confirmed by friends in the instant messaging interface, the instant messaging interface can be quickly switched, the payment interface is returned after the corresponding friends are found and confirmed, a new order request does not need to be generated in the process, and the operation efficiency is improved.
In addition, no matter the instant messaging application is switched to the instant messaging interface from the webpage interface or the instant messaging application is switched back to the webpage interface, only one trigger operation is needed, compared with the prior art, the operation frequency is reduced, mechanical fatigue caused by frequent operation is avoided, and the service life of the equipment is prolonged.
EXAMPLE III
In order to better implement the above method, an embodiment of the present invention further provides an application interface switching device, as shown in fig. 4, the device of the embodiment includes: the display unit 401, the first detection unit 402, and the first switching unit 403 are as follows:
(1) a display unit 401;
the display unit 401 is configured to display a web interface of the instant messaging application, and display a switching control on the web interface.
Instant messaging applications, such as QQ, WeChat, facebook, etc., may provide instant messaging services (e.g., chat) and web services (e.g., games, shopping, news) to users. When a user uses an instant messaging service provided by an instant messaging application, an instant messaging interface (such as a message list interface) needs to be displayed on a display screen of the device, and when the user uses a web service provided by the instant messaging application, a web interface (such as a game interface and a shopping interface) needs to be displayed on the display screen of the device. In this embodiment, the WEB interface may refer to an H5WEB interface, that is, a mobile terminal WEB interface implemented using HyperText Markup Language (HTML) standard.
In a specific implementation, when displaying a web interface of an instant messaging application, the display unit 401 may set the web interface to support fast switching by using a Uniform Resource Locator (URL) as an input parameter, draw a fast switching icon on the web interface, that is, generate a switching control, and display the switching control on the web interface.
(2) A first detection unit 402;
a first detecting unit 402, configured to detect whether the switching control is triggered.
When a user uses a web service provided by an instant messaging application and wants to use an instant messaging service provided by the instant messaging application, a switching control displayed on the web interface may be triggered (e.g., clicked), and the first detection unit 402 may detect that the switching control is triggered.
In addition, the application interface switching apparatus of this embodiment further includes a saving unit and a generating unit, where the saving unit is configured to save display data (for example, data such as pictures, characters, and typesets) of the web interface to a stack when the first detecting unit 402 detects that the switching control is triggered; the generating unit is configured to generate a recovery control in the instant messaging interface according to the display data of the web interface, where information displayed in the recovery control may include, but is not limited to: an icon of the web interface, and/or a summary of the web interface, and/or a thumbnail of the web interface.
(3) A first switching unit 403;
a first switching unit 403, configured to switch and display the displayed web interface as an instant messaging interface of the instant messaging application when the switching control is triggered, where a recovery control is displayed on the instant messaging interface at this time.
In addition, the application interface switching apparatus of this embodiment further includes: a second detection unit, an extraction unit and a second switching unit, wherein:
when a user wants to return to a webpage service provided by using an instant messaging application, a recovery control displayed on an instant messaging interface can be triggered (for example, clicked), and a second detection unit can detect whether the recovery control is triggered or not; the extracting unit is used for taking out the display data of the webpage interface from the stack when the recovery control is triggered; and the second switching unit is used for restoring and displaying the displayed instant messaging interface as the webpage interface according to the taken data.
The webpage interface is restored and displayed directly according to the data taken out of the stack, so that the restored and displayed webpage interface can be in the same display state as the original webpage interface, the restoration control is triggered to restore the original webpage interface once, and the restoration control is not opened to restore the original webpage interface in one step, so that the operation is simplified; in addition, the data are directly taken from the stack to recover the webpage interface, so that the corresponding webpage interface does not need to be reinitialized and rendered, and the switching speed during recovery is improved.
In addition, one instant messaging application can provide multiple web page services for a user, and the user may use different web page services successively, for example, the user may browse a certain shopping website after playing a game.
The display unit 401 may display the plurality of recovery controls in parallel on the instant messaging interface according to the opening order of the corresponding web interface, for example, may set a plurality of control display positions, the plurality of recovery controls may be displayed on the instant messaging interface in a row or a column parallel in the opening order of the corresponding web interface, the recovery control corresponding to the web interface opened first is displayed before/above, and the recovery control corresponding to the web interface opened later is displayed after/below.
In addition, in order to save the display position and optimize the interface layout, the display unit 401 may further alternately switch and display the plurality of recovery controls on the instant messaging interface according to the opening sequence of the corresponding web interface, for example, only one control display position may be set, and each recovery control may be switched and displayed by turning up and down or turning left and right.
The user can select to trigger any one recovery control, the second detection unit detects the triggered recovery control, the extraction unit extracts the display data of the webpage interface corresponding to the triggered recovery control from the stack, and the second switching unit restores and displays the displayed instant messaging interface as the webpage interface corresponding to the triggered recovery control according to the extracted data.
In the embodiment, the webpage interface of the instant messaging application is switched to the instant messaging interface, and the user only needs to trigger the switching control once, so that the operation is simple, and the switching time is shortened; switching back to the webpage interface from the instant messaging interface of the instant messaging application, wherein the user only needs to trigger the recovery control once, the operation is simple, the webpage interface is directly recovered and displayed according to the data taken out from the stack, and the recovered and displayed webpage interface can be in the same display state as the original webpage interface; in addition, the data are directly taken from the stack to recover the webpage interface, and the application interface switching device does not need to reinitialize and render the corresponding webpage interface, so that the switching speed during recovery is improved.
Example four
An embodiment of the present invention further provides an application interface switching device, as shown in fig. 5, which shows a schematic structural diagram of a device according to an embodiment of the present invention, specifically:
the apparatus may include Radio Frequency (RF) circuitry 501, memory 502 including one or more computer-readable storage media, input unit 503, display unit 504, sensor 505, audio circuitry 506, Wireless Fidelity (WiFi) module 507, processor 508 including one or more processing cores, and power supply 509. Those skilled in the art will appreciate that the configuration of the device shown in fig. 5 is not intended to be limiting of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the device, and the like. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 504 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The device may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the device is stationary, and can be used for applications of recognizing the posture of the device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the device, detailed description is omitted here.
WiFi belongs to short-distance wireless transmission technology, and the device can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the apparatus, connects various parts of the entire apparatus using various interfaces and lines, performs various functions of the apparatus and processes data by operating or executing software programs and/or modules stored in the memory 502, and calling data stored in the memory 502, thereby performing overall monitoring of the apparatus. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The device also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the device may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the processor 508 in the apparatus loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application programs stored in the memory 502, thereby implementing various functions:
displaying a webpage interface of the instant messaging application, and displaying a switching control on the webpage interface;
detecting whether the switching control is triggered;
and when the switching control is triggered, switching and displaying the displayed webpage interface as an instant messaging interface of the instant messaging application.
Further, when the toggle control is triggered, processor 508 is also configured to,
saving the display data of the webpage interface to a stack;
and generating a recovery control in the instant messaging interface according to the display data of the webpage interface.
Further, the processor 508 is also configured to,
detecting whether the recovery control is triggered;
when the recovery control is triggered, taking out the display data of the webpage interface from the stack;
and restoring and displaying the displayed instant messaging interface as the webpage interface according to the taken data.
Further, the stack stores display data of a plurality of web interfaces of the instant messaging application, the number of the recovery controls is multiple, each recovery control corresponds to one web interface, and the processor 508 is specifically configured to,
detecting whether any recovery control is triggered;
when any recovery control is triggered, the display data of the webpage interface corresponding to the triggered recovery control is taken out from the stack;
and restoring and displaying the displayed instant messaging interface as a webpage interface corresponding to the triggered restoring control according to the taken data.
Specifically, the plurality of recovery controls are displayed on the instant messaging interface in parallel according to the opening sequence of the corresponding web interface;
or the plurality of recovery controls are alternately switched and displayed on the instant messaging interface according to the opening sequence of the corresponding webpage interface.
Specifically, the information presented in each resume control includes: the icon corresponding to the webpage interface, and/or the abstract corresponding to the webpage interface, and/or the thumbnail corresponding to the webpage interface.
In the embodiment, a switching control is arranged on a webpage interface of the instant messaging application, whether the switching control is triggered or not is detected when the webpage interface is displayed, and the displayed webpage interface is switched and displayed as the instant messaging interface of the instant messaging application when the switching control is triggered.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit. The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer (which may be a personal computer, an apparatus, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (11)
1. An application interface switching method is characterized by comprising the following steps:
displaying a webpage interface of an instant messaging application, drawing a quick switching icon on the webpage interface to generate a switching control, and displaying the switching control on the webpage interface;
detecting whether the switching control is triggered;
when the switching control is triggered, switching and displaying the displayed webpage interface as an instant messaging interface of the instant messaging application;
saving the display data of the webpage interface to a stack;
generating a recovery control in the instant messaging interface according to the display data of the webpage interface;
detecting whether the recovery control is triggered;
when the recovery control is triggered, taking out the display data of the webpage interface from the stack;
and restoring and displaying the displayed instant messaging interface as the webpage interface according to the taken data.
2. The method according to claim 1, wherein the stack stores display data of a plurality of web interfaces of the instant messaging application, the number of the recovery controls is multiple, and each recovery control corresponds to one web interface;
detecting whether any recovery control is triggered;
when any recovery control is triggered, the display data of the webpage interface corresponding to the triggered recovery control is taken out from the stack;
and restoring and displaying the displayed instant messaging interface as a webpage interface corresponding to the triggered restoring control according to the taken data.
3. The method of claim 2, wherein the plurality of recovery controls are displayed in parallel on the instant messaging interface in an opening order of the corresponding web interface.
4. The method of claim 2, wherein the plurality of recovery controls are alternately switched and displayed on the instant messaging interface according to the opening sequence of the corresponding web page interface.
5. The method of any of claims 2 to 4, wherein the information exposed in each resume control comprises: the icon corresponding to the webpage interface, and/or the abstract corresponding to the webpage interface, and/or the thumbnail corresponding to the webpage interface.
6. An application interface switching device, comprising:
the display unit is used for displaying a webpage interface of the instant messaging application, drawing a quick switching icon on the webpage interface to generate a switching control and displaying the switching control on the webpage interface;
the first detection unit is used for detecting whether the switching control is triggered or not;
the first switching unit is used for switching and displaying the displayed webpage interface as an instant messaging interface of the instant messaging application when the switching control is triggered;
the saving unit is used for saving the display data of the webpage interface to a stack when the switching control is triggered;
the generating unit is used for generating a recovery control in the instant messaging interface according to the display data of the webpage interface;
the second detection unit is used for detecting whether the recovery control is triggered or not;
the extracting unit is used for taking out the display data of the webpage interface from the stack when the recovery control is triggered;
and the second switching unit is used for restoring and displaying the displayed instant messaging interface as the webpage interface according to the taken data.
7. The apparatus according to claim 6, wherein the stack stores display data of a plurality of web interfaces of the instant messaging application, the number of the recovery controls is plural, and each recovery control corresponds to one web interface;
the second detection unit is specifically configured to detect whether any one of the recovery controls is triggered;
the extracting unit is specifically configured to, when any one recovery control is triggered, take out display data of a web interface corresponding to the triggered recovery control from the stack;
the second switching unit is specifically configured to restore and display the displayed instant messaging interface as a web interface corresponding to the triggered restoration control according to the retrieved data.
8. The apparatus of claim 7, wherein the display unit is further configured to,
and displaying the plurality of recovery controls on the instant messaging interface in parallel according to the opening sequence of the corresponding webpage interface.
9. The apparatus of claim 7, wherein the display unit is further configured to,
and switching and displaying the plurality of recovery controls on the instant messaging interface in turn according to the opening sequence of the corresponding webpage interface.
10. The apparatus according to any one of claims 7 to 9, wherein the information exposed in each resume control comprises: the icon corresponding to the webpage interface, and/or the abstract corresponding to the webpage interface, and/or the thumbnail corresponding to the webpage interface.
11. A storage medium having stored thereon a computer program, characterized in that, when the computer program runs on a computer, it causes the computer to execute an application interface switching method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611032098.4A CN106775194B (en) | 2016-11-22 | 2016-11-22 | Application interface switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611032098.4A CN106775194B (en) | 2016-11-22 | 2016-11-22 | Application interface switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106775194A CN106775194A (en) | 2017-05-31 |
CN106775194B true CN106775194B (en) | 2020-01-14 |
Family
ID=58971782
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611032098.4A Active CN106775194B (en) | 2016-11-22 | 2016-11-22 | Application interface switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775194B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107171947A (en) * | 2017-06-30 | 2017-09-15 | 胡玥莹 | A kind of browser instant communication information method of reseptance and system |
CN107390553A (en) * | 2017-08-08 | 2017-11-24 | 广东芬尼克兹节能设备有限公司 | The centralized control method and system of dryer unit |
CN108595231B (en) * | 2018-05-15 | 2021-06-15 | Oppo广东移动通信有限公司 | Application program preloading method and device, storage medium and intelligent terminal |
CN112416482B (en) * | 2019-08-23 | 2024-04-23 | 钉钉控股(开曼)有限公司 | Interface switching method and device |
CN111766989B (en) * | 2020-07-02 | 2022-05-03 | 网易(杭州)网络有限公司 | Interface switching method and device |
CN111782108B (en) * | 2020-07-30 | 2022-03-04 | 网易(杭州)网络有限公司 | Interface switching control method, device, medium and equipment in game |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11272610A (en) * | 1997-12-05 | 1999-10-08 | Ntt Software Corp | Communication system and communication method |
CN102841811A (en) * | 2012-06-28 | 2012-12-26 | 宇龙计算机通信科技(深圳)有限公司 | Method for switching terminal applications and terminal |
CN102929478A (en) * | 2012-09-25 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Application switching method and communication terminal |
CN104850406A (en) * | 2015-05-26 | 2015-08-19 | 广州华多网络科技有限公司 | Page switching method and device |
CN105786507A (en) * | 2016-02-26 | 2016-07-20 | 北京小米移动软件有限公司 | Display interface switching method and device |
-
2016
- 2016-11-22 CN CN201611032098.4A patent/CN106775194B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH11272610A (en) * | 1997-12-05 | 1999-10-08 | Ntt Software Corp | Communication system and communication method |
CN102841811A (en) * | 2012-06-28 | 2012-12-26 | 宇龙计算机通信科技(深圳)有限公司 | Method for switching terminal applications and terminal |
CN102929478A (en) * | 2012-09-25 | 2013-02-13 | 东莞宇龙通信科技有限公司 | Application switching method and communication terminal |
CN104850406A (en) * | 2015-05-26 | 2015-08-19 | 广州华多网络科技有限公司 | Page switching method and device |
CN105786507A (en) * | 2016-02-26 | 2016-07-20 | 北京小米移动软件有限公司 | Display interface switching method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106775194A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106775194B (en) | Application interface switching method and device | |
CN104965641B (en) | information display method and device | |
US10269163B2 (en) | Method and apparatus for switching real-time image in instant messaging | |
EP3015978A1 (en) | Gesture-based conversation processing method, apparatus, and terminal device | |
CN108205398B (en) | Method and device for adapting webpage animation to screen | |
US10652287B2 (en) | Method, device, and system for managing information recommendation | |
US10084729B2 (en) | Apparatuses and methods for web page sharing | |
CN106506321B (en) | Group message processing method and terminal device | |
CN104571979B (en) | A kind of method and apparatus for realizing split view | |
CN104915091B (en) | A kind of method and apparatus for the prompt information that Shows Status Bar | |
CN104954233B (en) | Information-pushing method, device and system | |
CN104598476A (en) | Message aggregation display method and information display method and relevant device | |
CN106293738B (en) | Expression image updating method and device | |
CN105094501B (en) | Method, device and system for displaying messages in mobile terminal | |
CN110147188A (en) | A kind of information cuing method, device, equipment and storage medium | |
WO2014194713A1 (en) | Method,apparatus and computer readable storage medium for displaying video preview picture | |
CN110674662A (en) | Scanning method and terminal equipment | |
CN105095161B (en) | Method and device for displaying rich text information | |
CN112691363A (en) | Cross-terminal switching method and related device for cloud games | |
CN112333337B (en) | Message checking method, device, equipment and storage medium | |
CN104951178A (en) | Processing method, device and system for desktop data | |
CN105631059B (en) | Data processing method, data processing device and data processing system | |
CN106339402B (en) | Method, device and system for pushing recommended content | |
CN110908586B (en) | Keyboard display method and device and terminal equipment | |
CN109739409B (en) | Batch processing method and device and terminal equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |