CN111124223A - Application interface switching method and electronic equipment - Google Patents

Application interface switching method and electronic equipment Download PDF

Info

Publication number
CN111124223A
CN111124223A CN201911269873.1A CN201911269873A CN111124223A CN 111124223 A CN111124223 A CN 111124223A CN 201911269873 A CN201911269873 A CN 201911269873A CN 111124223 A CN111124223 A CN 111124223A
Authority
CN
China
Prior art keywords
interface
target
control
switching
access address
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.)
Pending
Application number
CN201911269873.1A
Other languages
Chinese (zh)
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201911269873.1A priority Critical patent/CN111124223A/en
Publication of CN111124223A publication Critical patent/CN111124223A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an application interface switching method and electronic equipment, wherein the method comprises the following steps: receiving a first operation aiming at a first interface of a target application, responding to the first operation, acquiring an access address and a browsing position of the first interface, and switching to a second interface of the target application, wherein the first operation is used for requesting to switch from the first interface to the second interface; receiving a second operation aiming at a preset area of a second interface, responding to the second operation, and displaying a target window, wherein the target window is displayed with a first control, and the first control is a control for recording an access address and a browsing position of the first interface; and receiving a third operation aiming at the first control, responding to the third operation, and switching to the browsing position of the first interface corresponding to the access address from the second interface. By implementing the method, the historical browsing position of the user can be quickly switched back, the switching operation of the application interface is simplified, and the switching efficiency of the application interface is improved.

Description

Application interface switching method and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of mobile internet, in particular to an application interface switching method and electronic equipment.
Background
With the development of mobile internet technology, the variety and functions of network applications are more and more abundant, and more applications are installed in electronic devices by users. When a user uses an application in an electronic device, it is often necessary to switch back and forth between multiple application interfaces of the application.
Taking chat application of 'WeChat' as an example, when a user uses WeChat, the user often encounters the situation that half of articles in a friend circle are read, receives chat messages, and switches to a chat interface to process the chat messages. The user needs to switch back to the friend circle interface and then slide to the historical reading position, and the operation is complex.
Disclosure of Invention
The embodiment of the invention provides an application interface switching method and electronic equipment, and aims to solve the technical problem that the application interface switching operation is complex in the prior art.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present invention provides an application interface switching method, where the method includes:
receiving a first operation aiming at a first interface of a target application, responding to the first operation, acquiring an access address and a browsing position of the first interface, and switching to a second interface of the target application, wherein the first operation is used for requesting to switch from the first interface to the second interface;
receiving a second operation aiming at a preset area of the second interface, responding to the second operation, and displaying a target window, wherein the target window is displayed with a first control, and the first control is a control for recording an access address and a browsing position of the first interface;
and receiving a third operation aiming at the first control, responding to the third operation, and switching from the second interface to the browsing position of the first interface corresponding to the access address.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes:
a first receiving unit, configured to receive a first operation for a first interface of a target application, where the first operation is used to request to switch from the first interface to a second interface of the target application;
the acquisition unit is used for responding to the first operation and acquiring the access address and the browsing position of the first interface;
the first switching unit is used for responding to the first operation and switching to the second interface;
the second receiving unit is used for receiving a second operation aiming at a preset area of the second interface;
the display unit is used for responding to the second operation and displaying a target window, wherein a first control is displayed on the target window and is a control for recording the access address and the browsing position of the first interface;
a third receiving unit, configured to receive a third operation for the first control;
and the second switching unit is used for responding to the third operation and switching from the second interface to the browsing position of the first interface corresponding to the access address.
In a third aspect, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the steps of the application interface switching method in the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the application interface switching method in the first aspect.
In the embodiment of the invention, when a first operation for requesting to switch from a first interface of a target application to a second interface is received, an access address and a browsing position of the first interface can be acquired while switching to the second interface, and when a second operation aiming at a preset area of the second interface is received, a target window is displayed, so that a user can switch to the browsing position of the first interface corresponding to the access address by operating a first control in the target window. Compared with the prior art, the method and the device for switching the application interface can quickly switch back to the historical browsing position of the user, simplify the switching operation of the application interface and improve the switching efficiency of the application interface.
Drawings
Fig. 1 is a flowchart of an application interface switching method according to an embodiment of the present invention;
FIG. 2 is an exemplary diagram of a target window provided by embodiments of the invention;
FIG. 3 is an exemplary diagram of another target window provided by embodiments of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing various embodiments 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 some, not all, embodiments of the present invention. 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.
In recent years, the functions of web applications have become more and more abundant, and applications no longer have a single function, for example, a chat application may provide a shopping function, an article reading function, a video viewing function, and the like in addition to a basic chat function. Taking chat application 'WeChat' as an example, the WeChat can support users to watch articles and videos and use WeChat small programs and the like besides the basic chat function, and a smooth forward scene switching function is provided in the WeChat.
In the prior art, when a user uses WeChat, the user often touches a friend circle and articles or videos see half of the WeChat, and after important chatting is switched over, the user cannot return to a historical reading position. The original article generally needs to be found, and then the position is watched by swiping the history, so that the time and labor are wasted, the operation is complex, and the user experience is poor.
In order to solve the technical problem, embodiments of the present invention provide an application interface switching method and an electronic device.
First, a method for switching an application interface according to an embodiment of the present invention is described below.
It should be noted that the method provided by the embodiment of the present invention is applicable to an electronic device, and in practical application, the electronic device may include: smart phones, tablet computers, personal digital assistants, and the like, which are not limited in this embodiment of the present invention.
Fig. 1 is a flowchart of an application interface switching method provided in an embodiment of the present invention, and as shown in fig. 1, the method may include the following steps: step 101, step 102 and step 103, wherein,
in step 101, a first operation for a first interface of a target application is received, an access address and a browsing position of the first interface are obtained in response to the first operation, and the first interface is switched to a second interface of the target application, wherein the first operation is used for requesting to switch from the first interface to the second interface.
In the embodiment of the invention, the target application comprises a plurality of interfaces, wherein the first interface is an interface which is currently accessed by a user, and the second interface is an interface which the user desires to switch to.
In the embodiment of the present invention, the first operation may be a click operation, a long-press operation, a slide operation, or the like.
In this embodiment of the present invention, the file displayed in the first interface may be any one of the following: text files, audio files, and video files, wherein the text files may include: web articles and chat logs.
In the embodiment of the invention, when the file displayed in the first interface is the network article, the access address of the first interface is the access address of the network article, and the browsing position is the article reading position; when the file displayed in the first interface is a chat record, the access address of the first interface is the access address of the chat record, and the browsing position is a chat message reading position; when the file displayed in the first interface is an audio file, the access address of the first interface is the access address of the audio file, and the browsing position is an audio playing position; when the file displayed in the first interface is a video file, the access address of the first interface is the access address of the video file, and the browsing position is the video playing position.
In the embodiment of the present invention, before the browsing position of the first interface is obtained, the browsing position of the first interface may be determined by the following method:
determining the type of a file displayed in a first interface;
if the type of the file is audio and video, determining the browsing position of the first interface according to a progress bar of the file displayed in the first interface;
and if the type of the file is a text, determining the browsing position of the first interface according to a scroll bar of the file displayed in the first interface and/or the sight line stopping position of the user.
In the embodiment of the invention, the progress bar of the audio and video file is considered to record the playing progress information of the audio and video, and the progress playing information can reflect the current listening/watching progress of a user to a great extent, so that the browsing position of the user can be accurately determined based on the progress bar of the audio and video file.
In the embodiment of the invention, in consideration of the position of the scroll bar (usually on the right side) of the text file in the file, the reading progress of the user can be approximately reflected, so that the browsing position of the text file can be determined based on the scroll bar of the file; in addition, the sight line stopping position of the user can approximately reflect the reading position of the user, so that the browsing position of the user can be determined based on the sight line stopping position of the user. Preferably, in order to determine the browsing position more accurately, a browsing area may be first determined based on a scroll bar of the document, a browsing area may be determined based on a position where a line of sight of the user stays, and then an intersection may be taken between the two browsing areas, and the intersection area may be determined as the final browsing position.
In the embodiment of the invention, after the access address and the browsing position of the first interface are obtained, the access address and the browsing position of the first interface can be recorded in the first control, so that a user can return to the browsing position of the first interface corresponding to the access address by operating the first control.
In step 102, a second operation for a preset area of a second interface is received, a target window is displayed in response to the second operation, wherein a first control is displayed on the target window, and the first control is a control for recording an access address and a browsing position of the first interface.
In one example, FIG. 2 illustrates a target window with a first control displayed.
In the embodiment of the present invention, the preset area may be a top area, a bottom area, or the like, and the second operation may be a click operation, a long-press operation, a pull-down operation, or the like.
In the embodiment of the invention, besides the first control, at least one second control can be displayed in the target window; for example, FIG. 2 illustrates a target window with a first control and a second control displayed.
In the embodiment of the invention, the access address and the browsing position of one interface of the target application are recorded in each second control, different second controls correspond to different interfaces, the interface corresponding to the second control is an interface accessed by a user in a target time period, the target time period is a time period between a target time and the current time, and the target time is earlier than the current time and has a preset time interval with the current time.
Therefore, in the embodiment of the invention, the second control is displayed in the target window, and the interface for returning to the historical browsing position of the interface accessed in the recent period of time is provided for the user, so that the user can conveniently switch the interface accessed in the recent period of time.
In the embodiment of the present invention, for convenience of management, when the target window displays at least two second controls, the second controls in the target window may be arranged in descending order according to the time for closing the interface corresponding to each second control. That is, the second control corresponding to the interface with the access time closest to the current time is ranked at the top, and then the second controls are ranked downwards.
In step 103, a third operation for the first control is received, and in response to the third operation, the second interface is switched to the browsing position of the first interface corresponding to the access address.
In the embodiment of the present invention, the third operation may be a click operation or a long-press operation.
In the embodiment of the present invention, after the third operation is received, the first interface may be found based on the access address recorded in the first control, and after the first interface is found, the specific browsing position of the user in the first interface is located based on the browsing position recorded in the first control.
For ease of understanding, the present invention will be described with reference to a specific example.
In one example, the target application is a chat application, the first interface is a friend-circle article reading interface of the chat application, and the second interface is a chat interface of the chat application. When a user reads an article in a friend circle article reading interface, a new chat message prompt is provided, the user clicks the message prompt, the chat application is switched from the friend circle article reading interface to the chat interface, and meanwhile, the access address and the browsing position of the friend circle article reading interface are obtained, for example, when the user views the 300 th line of an article 'civil enterprise launching and recycling rocket' in the friend circle article reading interface, if the user requests to be switched to the chat interface, the address and the reading position '300 lines' of the article 'civil enterprise launching and recycling rocket' are obtained.
After the chat interface of the chat application is switched to, the user can process (view or reply) the chat messages in the chat interface, and after the user processes the chat messages in the chat interface, the user can call out a target window with a first control through operation, and the first control in the target window is operated to switch back to line 300 of the article, namely the article, that 'civil enterprises launch and recycle rockets' in the friend circle article reading interface.
As can be seen from the foregoing embodiment, in this embodiment, when a first operation for requesting to switch from a first interface to a second interface of a target application is received, an access address and a browsing position of the first interface may be acquired while switching to the second interface, and when a second operation for a preset region of the second interface is received, a target window is displayed, so that a user may switch to the browsing position of the first interface corresponding to the access address by operating a first control in the target window. Compared with the prior art, the method and the device for switching the application interface can quickly switch back to the historical browsing position of the user, simplify the switching operation of the application interface and improve the switching efficiency of the application interface.
It should be noted that the idea of switching interfaces in applications provided in the embodiment of the present invention may also be extended to interface switching between different applications, which is not described herein again.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 4, the electronic device 400 may include: a first receiving unit 401, an acquiring unit 402, a first switching unit 403, a second receiving unit 404, a display unit 405, a third receiving unit 406, and a second switching unit 407, wherein,
a first receiving unit 401, configured to receive a first operation for a first interface of a target application, where the first operation is used to request to switch from the first interface to a second interface of the target application;
an obtaining unit 402, configured to obtain, in response to the first operation, an access address and a browsing position of the first interface;
a first switching unit 403, configured to switch to the second interface in response to the first operation;
a second receiving unit 404, configured to receive a second operation for a preset area of the second interface;
a display unit 405, configured to respond to the second operation and display a target window, where the target window displays a first control, and the first control is a control that records an access address and a browsing position of the first interface;
a third receiving unit 406, configured to receive a third operation for the first control;
a second switching unit 407, configured to switch, in response to the third operation, from the second interface to the browsing position of the first interface corresponding to the access address.
As can be seen from the foregoing embodiment, in this embodiment, when a first operation for requesting to switch from a first interface to a second interface of a target application is received, an access address and a browsing position of the first interface may be acquired while switching to the second interface, and when a second operation for a preset region of the second interface is received, a target window is displayed, so that a user may switch to the browsing position of the first interface corresponding to the access address by operating a first control in the target window. Compared with the prior art, the method and the device for switching the application interface can quickly switch back to the historical browsing position of the user, simplify the switching operation of the application interface and improve the switching efficiency of the application interface.
Optionally, as an embodiment, the electronic device 400 may further include:
the first determining unit is used for determining the type of the file displayed in the first interface;
the second determining unit is used for determining the browsing position of the first interface according to the progress bar of the file under the condition that the type of the file is audio and video;
and the third determining unit is used for determining the browsing position of the first interface according to the scroll bar of the file and/or the sight line stopping position of the user under the condition that the type of the file is a text.
Optionally, as an embodiment, the target window further displays at least two second controls;
the access address and the browsing position of one interface of the target application are recorded in each second control, different second controls correspond to different interfaces, the interface corresponding to the second control is an interface accessed by a user in a target time period, the target time period is a time period between a target time and a current time, and the target time is earlier than the current time and is a preset time interval from the current time.
Optionally, as an embodiment, the at least two second controls are arranged in descending order of the time when the interface corresponding to each of the second controls is closed.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device for implementing various embodiments of the present invention, and as shown in fig. 5, the electronic device 500 includes, but is not limited to: a radio frequency unit 501, a network module 502, an audio output unit 503, an input unit 504, a sensor 505, a display unit 506, a user input unit 507, an interface unit 508, a memory 509, a processor 510, and a power supply 511. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 5 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like. Wherein:
a user input unit 507 for receiving a first operation of a first interface for a target application;
a processor 510, configured to, in response to the first operation, obtain an access address and a browsing location of the first interface, and switch to a second interface of the target application, where the first operation is used to request to switch from the first interface to the second interface;
the user input unit 507 is further configured to receive a second operation for a preset area of the second interface;
a display unit 506, configured to respond to the second operation and display a target window, where the target window displays a first control, and the first control is a control that records an access address and a browsing position of the first interface;
a user input unit 507, further configured to receive a third operation for the first control;
the processor 510 is further configured to switch, in response to the third operation, from the second interface to a browsing position of the first interface corresponding to the access address.
In the embodiment of the invention, when a first operation for requesting to switch from a first interface of a target application to a second interface is received, an access address and a browsing position of the first interface can be acquired while switching to the second interface, and when a second operation aiming at a preset area of the second interface is received, a target window is displayed, so that a user can switch to the browsing position of the first interface corresponding to the access address by operating a first control in the target window. Compared with the prior art, the method and the device for switching the application interface can quickly switch back to the historical browsing position of the user, simplify the switching operation of the application interface and improve the switching efficiency of the application interface.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 501 may be used for receiving and sending signals during a message sending and receiving process or a call process, and specifically, receives downlink data from a base station and then processes the received downlink data to the processor 510; in addition, the uplink data is transmitted to the base station. In general, radio frequency unit 501 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 501 can also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user via the network module 502, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 503 may convert audio data received by the radio frequency unit 501 or the network module 502 or stored in the memory 509 into an audio signal and output as sound. Also, the audio output unit 503 may also provide audio output related to a specific function performed by the electronic apparatus 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 503 includes a speaker, a buzzer, a receiver, and the like.
The input unit 504 is used to receive an audio or video signal. The input Unit 504 may include a Graphics Processing Unit (GPU) 5041 and a microphone 5042, and the Graphics processor 5041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image may be displayed on the display unit 506. The image processed by the graphics processor 5041 may be stored in the memory 509 (or other storage medium) or transmitted via the radio frequency unit 501 or the network module 502. The microphone 5042 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 501 in case of the phone call mode.
The electronic device 500 also includes at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 5061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 5061 and/or a backlight when the electronic device 500 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 505 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 506 is used to display information input by the user or information provided to the user. The Display unit 506 may include a Display panel 5061, and the Display panel 5061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 507 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 507 includes a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen, may collect touch operations by a user on or near it (e.g., operations by a user on or near touch panel 5071 using a finger, stylus, or any suitable object or attachment). The touch panel 5071 may include two parts of a touch detection device 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 510, and receives and executes commands sent by the processor 510. In addition, the touch panel 5071 may be implemented in various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 5071, the user input unit 507 may include other input devices 5072. In particular, other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 5071 may be overlaid on the display panel 5061, and when the touch panel 5071 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 510 to determine the type of the touch event, and then the processor 510 provides a corresponding visual output on the display panel 5061 according to the type of the touch event. Although in fig. 5, the touch panel 5071 and the display panel 5061 are two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 5071 and the display panel 5061 may be integrated to implement the input and output functions of the electronic device, and is not limited herein.
The interface unit 508 is an interface for connecting an external device to the electronic apparatus 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 508 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the electronic apparatus 500 or may be used to transmit data between the electronic apparatus 500 and external devices.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a storage program area and a storage data area, wherein the storage program 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 cellular phone, and the like. Further, the memory 509 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.
The processor 510 is a control center of the electronic device, connects various parts of the whole electronic device by using various interfaces and lines, performs various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 509 and calling data stored in the memory 509, thereby performing overall monitoring of the electronic device. Processor 510 may include one or more processing units; preferably, the processor 510 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 510.
The electronic device 500 may further include a power supply 511 (e.g., a battery) for supplying power to various components, and preferably, the power supply 511 may be logically connected to the processor 510 via a power management system, so that functions of managing charging, discharging, and power consumption are implemented via the power management system.
In addition, the electronic device 500 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of any of the foregoing embodiments of the application interface switching method, and can achieve the same technical effect, and details are not repeated here to avoid repetition.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of any of the above embodiments of the application interface switching method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. An application interface switching method is characterized by comprising the following steps:
receiving a first operation aiming at a first interface of a target application, responding to the first operation, acquiring an access address and a browsing position of the first interface, and switching to a second interface of the target application, wherein the first operation is used for requesting to switch from the first interface to the second interface;
receiving a second operation aiming at a preset area of the second interface, responding to the second operation, and displaying a target window, wherein the target window is displayed with a first control, and the first control is a control for recording an access address and a browsing position of the first interface;
and receiving a third operation aiming at the first control, responding to the third operation, and switching from the second interface to the browsing position of the first interface corresponding to the access address.
2. The method of claim 1, wherein the step of obtaining the access address and the browsing location of the first interface is preceded by the step of:
determining the type of the file displayed in the first interface;
if the type of the file is audio and video, determining the browsing position of the first interface according to the progress bar of the file;
and if the type of the file is a text, determining the browsing position of the first interface according to a scroll bar of the file and/or the sight line stopping position of the user.
3. The method of claim 1, wherein the target window displays at least two second controls;
the access address and the browsing position of one interface of the target application are recorded in each second control, different second controls correspond to different interfaces, the interface corresponding to the second control is an interface accessed by a user in a target time period, the target time period is a time period between a target time and a current time, and the target time is earlier than the current time and is a preset time interval from the current time.
4. The method of claim 3, wherein the at least two second controls are arranged in descending order of the interface closure time corresponding to each of the second controls.
5. An electronic device, characterized in that the electronic device comprises:
a first receiving unit, configured to receive a first operation for a first interface of a target application, where the first operation is used to request to switch from the first interface to a second interface of the target application;
the acquisition unit is used for responding to the first operation and acquiring the access address and the browsing position of the first interface;
the first switching unit is used for responding to the first operation and switching to the second interface;
the second receiving unit is used for receiving a second operation aiming at a preset area of the second interface;
the display unit is used for responding to the second operation and displaying a target window, wherein a first control is displayed on the target window and is a control for recording the access address and the browsing position of the first interface;
a third receiving unit, configured to receive a third operation for the first control;
and the second switching unit is used for responding to the third operation and switching from the second interface to the browsing position of the first interface corresponding to the access address.
6. The electronic device of claim 5, further comprising:
the first determining unit is used for determining the type of the file displayed in the first interface;
the second determining unit is used for determining the browsing position of the first interface according to the progress bar of the file under the condition that the type of the file is audio and video;
and the third determining unit is used for determining the browsing position of the first interface according to the scroll bar of the file and/or the sight line stopping position of the user under the condition that the type of the file is a text.
7. The electronic device of claim 5, wherein the target window displays at least two second controls;
the access address and the browsing position of one interface of the target application are recorded in each second control, different second controls correspond to different interfaces, the interface corresponding to the second control is an interface accessed by a user in a target time period, the target time period is a time period between a target time and a current time, and the target time is earlier than the current time and is a preset time interval from the current time.
8. The electronic device of claim 7, wherein at least two second controls are arranged in descending order of time that the interface corresponding to each of the second controls is closed.
9. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the application interface switching method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the application interface switching method according to any one of claims 1 to 4.
CN201911269873.1A 2019-12-11 2019-12-11 Application interface switching method and electronic equipment Pending CN111124223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911269873.1A CN111124223A (en) 2019-12-11 2019-12-11 Application interface switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911269873.1A CN111124223A (en) 2019-12-11 2019-12-11 Application interface switching method and electronic equipment

Publications (1)

Publication Number Publication Date
CN111124223A true CN111124223A (en) 2020-05-08

Family

ID=70498957

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911269873.1A Pending CN111124223A (en) 2019-12-11 2019-12-11 Application interface switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN111124223A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949868A (en) * 2020-08-11 2020-11-17 北京百度网讯科技有限公司 Content access method, device, electronic equipment and storage medium
CN112346690A (en) * 2020-10-30 2021-02-09 深圳Tcl新技术有限公司 Display control method, device and computer readable storage medium
CN112764628A (en) * 2021-01-28 2021-05-07 维沃移动通信有限公司 Content display method, content display device, electronic equipment and storage medium
CN113485813A (en) * 2021-07-26 2021-10-08 维沃移动通信有限公司 Application skipping method and device
CN115309312A (en) * 2021-04-21 2022-11-08 花瓣云科技有限公司 Content display method and electronic equipment
CN115981533A (en) * 2022-12-02 2023-04-18 南京翼辉爱智物联技术有限公司 Viewport switching method and device, electronic equipment and storage medium
CN116048710A (en) * 2023-04-03 2023-05-02 荣耀终端有限公司 Application identifier display method, electronic device and readable storage medium

Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081503A (en) * 2011-01-25 2011-06-01 汉王科技股份有限公司 Electronic reader capable of automatically turning pages based on eye tracking and method thereof
CN102708358A (en) * 2012-04-18 2012-10-03 北京十分科技有限公司 Reading-trajectory recognizing method
CN102750269A (en) * 2012-07-16 2012-10-24 西安体育学院 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage
CN104133626A (en) * 2014-07-21 2014-11-05 腾讯科技(深圳)有限公司 Article reading interface switching method, article reading interface switching device and terminal equipment
CN104423839A (en) * 2013-08-30 2015-03-18 中兴通讯股份有限公司 Browser resource display method and device
CN105306667A (en) * 2014-07-17 2016-02-03 Lg电子株式会社 Mobile terminal and controlling method thereof
CN105320255A (en) * 2014-07-30 2016-02-10 腾讯科技(深圳)有限公司 Data loading method and device
US20160350589A1 (en) * 2015-05-27 2016-12-01 Hsien-Hsiang Chiu Gesture Interface Robot
CN106445108A (en) * 2016-08-29 2017-02-22 浙江工业大学 Final reading position display method and system based on eye movement tracking
CN106528085A (en) * 2016-09-30 2017-03-22 北京奇虎科技有限公司 Interface switching method and apparatus
CN106598257A (en) * 2016-12-23 2017-04-26 北京奇虎科技有限公司 Mobile terminal-based reading control method and apparatus
CN106775255A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 A kind of interface display method and device
CN107256118A (en) * 2017-04-28 2017-10-17 珠海市魅族科技有限公司 A kind of page control method and device
CN107870784A (en) * 2017-11-24 2018-04-03 维沃移动通信有限公司 A kind of display control method, mobile terminal and computer-readable recording medium
CN108874289A (en) * 2018-06-15 2018-11-23 深圳超多维科技有限公司 Applicating history records inspection method, device and electronic equipment
CN108920204A (en) * 2018-05-30 2018-11-30 维沃移动通信有限公司 A kind of interface display method and terminal device
CN110162371A (en) * 2019-05-24 2019-08-23 网易(杭州)网络有限公司 Display control method and device, electronic equipment and storage medium
CN110442287A (en) * 2019-08-14 2019-11-12 网易(杭州)网络有限公司 Page navigation method and device

Patent Citations (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102081503A (en) * 2011-01-25 2011-06-01 汉王科技股份有限公司 Electronic reader capable of automatically turning pages based on eye tracking and method thereof
CN102708358A (en) * 2012-04-18 2012-10-03 北京十分科技有限公司 Reading-trajectory recognizing method
CN102750269A (en) * 2012-07-16 2012-10-24 西安体育学院 Method for establishing navigation bookmark during browsing of ultra-long and ultra-wide webpage
CN104423839A (en) * 2013-08-30 2015-03-18 中兴通讯股份有限公司 Browser resource display method and device
CN105306667A (en) * 2014-07-17 2016-02-03 Lg电子株式会社 Mobile terminal and controlling method thereof
CN104133626A (en) * 2014-07-21 2014-11-05 腾讯科技(深圳)有限公司 Article reading interface switching method, article reading interface switching device and terminal equipment
CN105320255A (en) * 2014-07-30 2016-02-10 腾讯科技(深圳)有限公司 Data loading method and device
US20160350589A1 (en) * 2015-05-27 2016-12-01 Hsien-Hsiang Chiu Gesture Interface Robot
CN106445108A (en) * 2016-08-29 2017-02-22 浙江工业大学 Final reading position display method and system based on eye movement tracking
CN106528085A (en) * 2016-09-30 2017-03-22 北京奇虎科技有限公司 Interface switching method and apparatus
CN106598257A (en) * 2016-12-23 2017-04-26 北京奇虎科技有限公司 Mobile terminal-based reading control method and apparatus
CN106775255A (en) * 2016-12-28 2017-05-31 深圳天珑无线科技有限公司 A kind of interface display method and device
CN107256118A (en) * 2017-04-28 2017-10-17 珠海市魅族科技有限公司 A kind of page control method and device
CN107870784A (en) * 2017-11-24 2018-04-03 维沃移动通信有限公司 A kind of display control method, mobile terminal and computer-readable recording medium
CN108920204A (en) * 2018-05-30 2018-11-30 维沃移动通信有限公司 A kind of interface display method and terminal device
CN108874289A (en) * 2018-06-15 2018-11-23 深圳超多维科技有限公司 Applicating history records inspection method, device and electronic equipment
CN110162371A (en) * 2019-05-24 2019-08-23 网易(杭州)网络有限公司 Display control method and device, electronic equipment and storage medium
CN110442287A (en) * 2019-08-14 2019-11-12 网易(杭州)网络有限公司 Page navigation method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
夏孟娜: "《交互设计 创造高效用户体验》", 31 March 2018 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949868A (en) * 2020-08-11 2020-11-17 北京百度网讯科技有限公司 Content access method, device, electronic equipment and storage medium
CN112346690A (en) * 2020-10-30 2021-02-09 深圳Tcl新技术有限公司 Display control method, device and computer readable storage medium
CN112764628A (en) * 2021-01-28 2021-05-07 维沃移动通信有限公司 Content display method, content display device, electronic equipment and storage medium
WO2022161265A1 (en) * 2021-01-28 2022-08-04 维沃移动通信有限公司 Content display method and apparatus, and electronic device and storage medium
CN115309312A (en) * 2021-04-21 2022-11-08 花瓣云科技有限公司 Content display method and electronic equipment
CN113485813A (en) * 2021-07-26 2021-10-08 维沃移动通信有限公司 Application skipping method and device
CN115981533A (en) * 2022-12-02 2023-04-18 南京翼辉爱智物联技术有限公司 Viewport switching method and device, electronic equipment and storage medium
CN116048710A (en) * 2023-04-03 2023-05-02 荣耀终端有限公司 Application identifier display method, electronic device and readable storage medium
CN116048710B (en) * 2023-04-03 2023-09-29 荣耀终端有限公司 Application identifier display method, electronic device and readable storage medium

Similar Documents

Publication Publication Date Title
CN110995923B (en) Screen projection control method and electronic equipment
CN108762954B (en) Object sharing method and mobile terminal
CN107734175B (en) Notification message prompting method and mobile terminal
CN108446058B (en) Mobile terminal operation method and mobile terminal
CN111124223A (en) Application interface switching method and electronic equipment
CN108897473B (en) Interface display method and terminal
CN109525710B (en) Method and device for accessing application program
CN110752981B (en) Information control method and electronic equipment
US11354017B2 (en) Display method and mobile terminal
CN109710349B (en) Screen capturing method and mobile terminal
CN108984066B (en) Application icon display method and mobile terminal
CN109407949B (en) Display control method and terminal
CN110971510A (en) Message processing method and electronic equipment
CN111124706A (en) Application program sharing method and electronic equipment
CN110795002A (en) Screenshot method and terminal equipment
CN111610903A (en) Information display method and electronic equipment
CN109271262B (en) Display method and terminal
CN111061446A (en) Display method and electronic equipment
CN111131607A (en) Information sharing method, electronic equipment and computer readable storage medium
CN107765954B (en) Application icon updating method, mobile terminal and server
CN111163449B (en) Application sharing method, first electronic device and computer-readable storage medium
CN107728920B (en) Copying method and mobile terminal
CN109672845B (en) Video call method and device and mobile terminal
CN111026674A (en) Data storage method and electronic equipment
CN108021315B (en) Control method and mobile terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508