CN110083423B - Interface jump method, terminal and computer readable storage medium - Google Patents

Interface jump method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN110083423B
CN110083423B CN201910325164.4A CN201910325164A CN110083423B CN 110083423 B CN110083423 B CN 110083423B CN 201910325164 A CN201910325164 A CN 201910325164A CN 110083423 B CN110083423 B CN 110083423B
Authority
CN
China
Prior art keywords
interface
color information
theme
jump
activity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910325164.4A
Other languages
Chinese (zh)
Other versions
CN110083423A (en
Inventor
张军伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910325164.4A priority Critical patent/CN110083423B/en
Publication of CN110083423A publication Critical patent/CN110083423A/en
Application granted granted Critical
Publication of CN110083423B publication Critical patent/CN110083423B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/0481Interaction 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
    • 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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

Landscapes

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

Abstract

The embodiment of the application discloses an interface jump method, a terminal and a computer readable storage medium, wherein the interface jump method comprises the following steps: recording theme color information of a first interface; under the condition that an interface jump instruction on the first interface is detected, determining a second interface corresponding to the interface jump instruction; setting the recorded theme-color information of the first interface as the theme-color information of the second interface; and jumping from the first interface to the second interface under the condition that the recorded theme-color information of the first interface is set as the theme-color information of the second interface. Setting the theme color information of a first interface as the theme color information of a second interface, and then jumping to the second interface from the first interface; the problem of poor user experience effect caused by inconsistent theme styles before and after interface jump in the existing mobile terminal is solved; the interface theme before and after the jump keeps a unified style, and the user experience is improved.

Description

Interface jump method, terminal and computer readable storage medium
Technical Field
The embodiment of the application relates to the technical field of terminals, in particular to an interface jumping method, a terminal and a computer readable storage medium.
Background
The interface is the medium for transferring and exchanging information between the person and the machine, and is the set of supporting software, hardware and methods for two-way information interaction between the user and the system. Through the interface displayed on the screen of the mobile terminal, the user can realize information transfer with the mobile terminal. Based on the user operation, when a switch from the current interface to the target interface is required, an interface jump occurs.
In the use process of the mobile terminal, there are often cases where one interface is pulled up by different interfaces under different scenes, for example, a WLAN (Wireless LAN) interface may be pulled up by a setup interface and a boot guide interface, and the scenes where the sharing interface is pulled up by other applications are more. The interface before the jump and the interface which is pulled up may come from different application programs, such as from a white theme style boot guide interface, to a black background theme style WLAN setting interface, and the user experience effect is poor due to the different theme styles.
Disclosure of Invention
In view of the foregoing, an object of an embodiment of the present application is to provide an interface skipping method, a terminal and a computer readable storage medium, so as to solve the problem that the user experience effect is poor due to inconsistent theme styles existing before and after the interface skipping in the existing mobile terminal.
The technical scheme adopted by the embodiment of the application for solving the technical problems is as follows:
according to an aspect of the embodiments of the present application, an interface jump method is provided, where the method is used for a terminal, and the interface jump method includes:
under the condition that a first interface is displayed on a display interface of a terminal, recording theme color information of the first interface;
determining a second interface corresponding to the interface jump instruction under the condition that the interface jump instruction on the first interface is detected;
setting the recorded theme color information of the first interface as the theme color information of the second interface;
and jumping from the first interface to the second interface under the condition that the recorded theme-color information of the first interface is set as the theme-color information of the second interface.
In one possible implementation, the recording the theme color information of the first interface includes:
and storing the theme color information of the first interface into a preset array.
In one possible implementation, the theme-color information includes at least one of a background color, a text color, and an interspersed color.
In one possible implementation, the interface jump instruction includes an interface operation gesture;
the determining a second interface corresponding to the interface jump instruction comprises:
acquiring the operation gesture direction of the interface;
and determining the second interface according to the corresponding relation between the preset interface operation gesture direction and the jump interface.
In one possible implementation, the interface jump instruction includes an interface press operation signal;
the determining a second interface corresponding to the interface jump instruction comprises:
acquiring a pressure value corresponding to the interface pressing operation signal according to the interface pressing operation signal;
and determining the second interface according to the corresponding relation between the preset pressure value and the jump interface.
In one possible implementation manner, the setting the recorded theme-color information of the first interface as the theme-color information of the second interface includes:
analyzing the recorded theme color information of the first interface to obtain analyzed theme color information;
and setting the analyzed theme color information as the theme color information of the second interface.
In one possible implementation, the jumping from the first interface to the second interface includes:
and controlling the display proportion of the first interface to be continuously reduced until the second interface is completely moved to the display interface.
In one possible implementation manner, the controlling the display proportion of the first interface continuously decreases until the second interface moves to the display interface, and then further includes:
and under the condition that the interface return operation on the second interface is detected, controlling the display proportion of the first interface to be continuously increased until the second interface is completely moved out of the display interface.
According to another aspect of the embodiments of the present application, a terminal is provided, where the terminal includes a memory, a processor, and an interface jump program stored in the memory and executable on the processor, where the interface jump program implements the steps of the interface jump method described above when executed by the processor.
According to another aspect of the embodiments of the present application, there is provided a computer readable storage medium having stored thereon an interface jump program, which when executed by a processor, implements the steps of the interface jump method described above.
The interface skipping method, the terminal and the computer readable storage medium of the embodiment of the application are used for setting the theme color information of the first interface as the theme color information of the second interface and then skipping from the first interface to the second interface; the problem of poor user experience effect caused by inconsistent theme styles before and after interface jump in the existing mobile terminal is solved; the interface theme before and after the jump keeps a unified style, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application;
fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating an interface jump method according to a first embodiment of the present disclosure;
FIG. 4 is a schematic diagram of the process of jumping from Activity (A) to Activity (B) in the embodiment of the present application;
fig. 5 is a schematic diagram of a terminal structure according to a second embodiment of the present application.
The realization, functional characteristics and advantages of the present application will be further described with reference to the embodiments, referring to the attached drawings.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved by the application clearer and more obvious, the application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present invention, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present invention may include mobile terminals such as cell phones, tablet computers, notebook computers, palm top computers, PDAs (Personal Digital Assistant, personal digital assistants), PMPs (Portable Media Player, portable media players), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The following describes the components of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 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 101 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 GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures 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 frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (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 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 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 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present invention, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present invention is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present invention are provided.
First embodiment
Before explaining the present embodiment, a description is given below of a related technology of the android application:
activity is one of the components of an android application for exposing page windows. The page of the android application is realized by taking the Activity as a carrier. The lifecycle of an Activity is divided into onCreate, onStart, onResume, onPause, onStop and oncreation, specifically, when an Activity is called for the first time, the oncreation method is executed. The onStart method is called when the Activity is in a visible state, the onResume method is called when the Activity can get the focus of the user, the onRestart method is called when the Activity is not destroyed and is called again, the onPause method is called when the Activity is blocked, the onStop method is called when the Activity is in an invisible state, and the onDestore method is called when the Activity is destroyed. Both the presentation and disappearance of a page need to go through these phases, and by monitoring the life cycle of the Activity, the opening, closing and the residence time of the user on the page can be monitored.
An Intnt mechanism is provided in Android to assist interaction and communication among applications, the Intnt is responsible for describing actions, action related data and additional data of one-time operation in the applications, and the Android is responsible for finding out corresponding components according to the description of the Intnt, transmitting the Intnt to the called components and completing the calling of the components. The Intent can be used not only between application programs, but also between activities/services inside the application programs. Therefore, the Intent plays a role of a media intermediary, and provides related information of component calling each other specifically, so as to realize decoupling between a caller and a callee.
A startActivity method, a method in context objects in an android system, is used for starting an activity;
as shown in fig. 3, a first embodiment of the present application provides an interface jump method, which is used for a terminal, where the interface jump method includes:
and S31, under the condition that a first interface is displayed on a display interface of the terminal, recording theme and color information of the first interface.
In this embodiment, the theme-color information includes at least one of a background color, a text color, and an interspersed color.
Specifically, when the first interface is about to be loaded and run, elements on the first interface can be traversed, and theme and color information of the traversed first interface is recorded, for example: the background color of the first interface, the text color of the first interface and the interspersed color of the first interface.
In one embodiment, the recording the theme color information of the first interface includes:
and storing the theme color information of the first interface into a preset array.
In this embodiment, an array for recording the theme-color information is set in the first interface, and after the theme-color information of the first interface is traversed, the theme-color information of the first interface is traversed may be stored in the array.
And step S32, determining a second interface corresponding to the interface jump instruction under the condition that the interface jump instruction on the first interface is detected.
In this embodiment, the interface jump is performed in response to an interface jump instruction, where the interface jump instruction may be an instruction sent by the user to jump from the first interface to the second interface that is currently displayed by clicking a virtual key or a link on the terminal, or an interface operation gesture, or an interface press operation signal; the interface jump instruction may also be issued by a physical key on the terminal, for example, the user selects the interface to jump through a control key on the terminal, and then clicks the ok key to issue the jump instruction. The second interface is an interface to be skipped by the user, and the first interface may refer to an interface in the same application program on the terminal or may refer to an interface in a different application program.
Taking a WeChat application program as an example, a user wants to jump from a discovery interface to a friend circle interface, and can send a jump instruction by clicking a friend circle on the discovery interface, wherein the friend circle interface is a second interface, and the discovery interface is a first interface; for another example, when the user browses the friend circle interface, the user finds interesting news, and clicks a webpage link on the friend circle interface to send a jump instruction, and at this time, the friend circle interface is a first interface, and the news interface after jump is a second interface.
In one embodiment, the interface jump instruction comprises an interface operation gesture;
the determining a second interface corresponding to the interface jump instruction comprises:
acquiring the operation gesture direction of the interface;
and determining the second interface according to the corresponding relation between the preset interface operation gesture direction and the jump interface.
In this embodiment, a correspondence between an interface operation gesture direction and a skip interface is preset, and after the interface operation gesture direction on the first interface is obtained, the skip interface corresponding to the interface operation gesture direction is queried, so as to obtain the second interface.
Still taking a WeChat application program as an example, presetting a corresponding relation between a downward operation gesture on a found interface and a friend circle interface, and determining a jump interface corresponding to the downward operation gesture as the friend circle interface when the downward operation gesture is detected.
In another embodiment, the interface jump instruction includes an interface press operation signal;
the determining a second interface corresponding to the interface jump instruction comprises:
acquiring a pressure value corresponding to the interface pressing operation signal according to the interface pressing operation signal;
and determining the second interface according to the corresponding relation between the preset pressure value and the jump interface.
In this embodiment, a correspondence relationship between a pressure value and a skip interface is stored in advance, for example, a pressure value corresponding to a discovery interface of a WeChat application is a first pressure value, a pressure value corresponding to a friend circle interface of the WeChat application is a second pressure value, the first pressure value and the second pressure value are in a numerical range, and the first pressure value is greater than the second pressure value.
When the user presses the interface on the main interface of the WeChat application program, if the pressing force of the user is smaller (is a second pressure value), the interface to be skipped can be determined to be a friend circle interface; if the pressing force of the user is large (the first pressure value), the interface to be skipped can be determined as the discovery interface.
In this embodiment, the pressure value corresponding to the interface pressing operation signal may be obtained by the pressure sensor. The pressure sensor may specifically be a resistive strain gauge pressure sensor, a semiconductor strain gauge pressure sensor, a piezoresistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, a resonant pressure sensor, or the like.
And step S33, setting the recorded theme color information of the first interface as the theme color information of the second interface.
In this embodiment, the setting the recorded theme-color information of the first interface as the theme-color information of the second interface includes:
analyzing the recorded theme color information of the first interface to obtain analyzed theme color information;
and setting the analyzed theme color information as the theme color information of the second interface.
Taking an Android system as an example, after the theme color information of a first Activity interface is recorded, when a second Activity interface is started from the first Activity interface, the theme color information of the first Activity interface is additionally recorded in an Intnt. And then when initializing the second Activity interface, analyzing the theme color information of the first Activity interface, which is additionally recorded in the Intent, in an onCreate method in the second Activity interface, and setting the analyzed theme color information as the theme color information of the second Activity interface.
Step S34, when the recorded theme-color information of the first interface is set as the theme-color information of the second interface, jumping from the first interface to the second interface.
In this embodiment, the jumping from the first interface to the second interface includes:
and controlling the display proportion of the first interface to be continuously reduced until the second interface is completely moved to the display interface.
The display proportion of the first interface may be set by the user, for example: the decreasing speed of the display scale may be set to decrease once every 0.05s, and the decreasing amount of the preset display scale may be set to decrease 20% each time.
In one embodiment, the controlling the display scale of the first interface continuously decreases until the second interface moves to the display interface, and then further includes:
and under the condition that the interface return operation on the second interface is detected, controlling the display proportion of the first interface to be continuously increased until the second interface is completely moved out of the display interface.
Similarly to the former, the increasing speed of the display scale may be set to increase once every 0.05s, and the increasing amount of the preset display scale may be set to increase 20% each time.
To better illustrate this embodiment, the following describes an interface jump procedure for jumping from Activity (a) to Activity (B) with reference to fig. 4:
let Activity (a) be the on guide Activity and Activity (B) set Activity for WLAN.
First, at the time of startup guide Activity loading operation, color elements of startup guide Activity are recorded, for example: background color, text color, and click color of the boot guide Activity.
When an interface jump instruction on the startup guide Activity is detected, determining an interface corresponding to the interface jump instruction, namely the WLAN setting Activity.
When the startup guide Activity starts the WLAN setting Activity in a mode of StartActivity, the recorded color elements are attached to the Intent.
And analyzing the recorded color elements attached to the Inte in the onCreate of the WLAN setting Activity, and adjusting the color elements of the WLAN setting Activity.
After adjusting the color element of the WLAN setup Activity, the jump from the on-guide Activity to the WLAN setup Activity is completed.
According to the interface jumping method, theme color information of the first interface is set to be theme color information of the second interface, and then jumping is conducted from the first interface to the second interface; the problem of poor user experience effect caused by inconsistent theme styles before and after interface jump in the existing mobile terminal is solved; the interface theme before and after the jump keeps a unified style, and the user experience is improved.
Second embodiment
As shown in fig. 5, a second embodiment of the present application provides a terminal, where the terminal includes a memory 41, a processor 42, and an interface jump program stored in the memory 41 and executable on the processor 42, where the interface jump program is executed by the processor 42 and is configured to implement the following steps of the interface jump method:
under the condition that a first interface is displayed on a display interface of a terminal, recording theme color information of the first interface;
determining a second interface corresponding to the interface jump instruction under the condition that the interface jump instruction on the first interface is detected;
setting the recorded theme color information of the first interface as the theme color information of the second interface;
and jumping from the first interface to the second interface under the condition that the recorded theme-color information of the first interface is set as the theme-color information of the second interface.
The interface jump program, when executed by the processor 42, is further configured to implement the steps of the interface jump method described below:
the recording the theme color information of the first interface includes:
and storing the theme color information of the first interface into a preset array.
The interface jump program, when executed by the processor 42, is further configured to implement the steps of the interface jump method described below:
the theme-color information includes at least one of a background color, a text color, and an interspersed color.
The interface jump program, when executed by the processor 42, is further configured to implement the steps of the interface jump method described below:
the interface jump instruction comprises an interface operation gesture;
the determining a second interface corresponding to the interface jump instruction comprises:
acquiring the operation gesture direction of the interface;
and determining the second interface according to the corresponding relation between the preset interface operation gesture direction and the jump interface.
The interface jump program, when executed by the processor 42, is further configured to implement the steps of the interface jump method described below:
the interface jump instruction comprises an interface pressing operation signal;
the determining a second interface corresponding to the interface jump instruction comprises:
acquiring a pressure value corresponding to the interface pressing operation signal according to the interface pressing operation signal;
and determining the second interface according to the corresponding relation between the preset pressure value and the jump interface.
The interface jump program, when executed by the processor 42, is further configured to implement the steps of the interface jump method described below:
the setting the recorded theme-color information of the first interface as the theme-color information of the second interface includes:
analyzing the recorded theme color information of the first interface to obtain analyzed theme color information;
and setting the analyzed theme color information as the theme color information of the second interface.
The interface jump program, when executed by the processor 42, is further configured to implement the steps of the interface jump method described below:
the jumping from the first interface to the second interface includes:
and controlling the display proportion of the first interface to be continuously reduced until the second interface is completely moved to the display interface.
The interface jump program, when executed by the processor 42, is further configured to implement the steps of the interface jump method described below:
and the display proportion of the first interface is controlled to be continuously reduced until the second interface is completely moved to the display interface, and then the method further comprises the following steps:
and under the condition that the interface return operation on the second interface is detected, controlling the display proportion of the first interface to be continuously increased until the second interface is completely moved out of the display interface.
According to the terminal provided by the embodiment of the application, the theme color information of the first interface is set as the theme color information of the second interface, and then the terminal jumps to the second interface from the first interface; the problem of poor user experience effect caused by inconsistent theme styles before and after interface jump in the existing mobile terminal is solved; the interface theme before and after the jump keeps a unified style, and the user experience is improved.
Third embodiment
A third embodiment of the present application provides a computer readable storage medium having stored thereon an interface jump program for implementing the steps of the interface jump method described in the first embodiment when executed by a processor.
It should be noted that, the computer readable storage medium of the present embodiment belongs to the same concept as the method of the first embodiment, the specific implementation process of the computer readable storage medium is detailed in the method embodiment, and the technical features of the method embodiment are correspondingly applicable in the present embodiment, which is not repeated herein.
The computer readable storage medium of the embodiment of the application, by setting the theme-color information of the first interface as the theme-color information of the second interface, then jumping from the first interface to the second interface; the problem of poor user experience effect caused by inconsistent theme styles before and after interface jump in the existing mobile terminal is solved; the interface theme before and after the jump keeps a unified style, and the user experience is improved.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, functional modules/units in the apparatus, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
The preferred embodiments of the present application have been described above with reference to the accompanying drawings, and are not thereby limiting the scope of the claims of the present application. Any modifications, equivalent substitutions and improvements made by those skilled in the art without departing from the scope and spirit of the present application shall fall within the scope of the claims of the present application.

Claims (3)

1. An interface jump method for a terminal, the interface jump method comprising:
under the condition that a first interface is displayed on a display interface of a terminal, recording theme color information of the first interface; the theme color information comprises at least one of background color, text color and interspersed color; when the first interface is about to be loaded and run, traversing the elements on the first interface, and recording the theme color information of the traversed first interface, wherein the method comprises the following steps: the background color of the first interface, the text color of the first interface and the interspersed color of the first interface;
setting an array for recording the theme color information in the first interface, and storing the theme color information of the traversed first interface into the array after traversing the theme color information of the first interface;
determining a second interface corresponding to the interface jump instruction under the condition that the interface jump instruction on the first interface is detected;
setting the recorded theme color information of the first interface as the theme color information of the second interface;
the setting the recorded theme-color information of the first interface as the theme-color information of the second interface includes:
analyzing the recorded theme color information of the first interface to obtain analyzed theme color information;
setting the analyzed theme color information as the theme color information of the second interface;
after the theme color information of the first Activity interface is recorded, when a second Activity interface is started from the first Activity interface, the theme color information of the first Activity interface is additionally recorded in an Intent mechanism; then, when initializing the second Activity interface, analyzing the theme color information of the first Activity interface, which is additionally recorded in an Intent mechanism, in an onCreate method in the second Activity interface, and setting the analyzed theme color information as the theme color information of the second Activity interface;
jumping from the first interface to the second interface under the condition that the recorded theme-color information of the first interface is set as the theme-color information of the second interface;
the interface jump instruction comprises an interface operation gesture;
the determining a second interface corresponding to the interface jump instruction comprises:
acquiring the operation gesture direction of the interface;
determining the second interface according to the corresponding relation between the preset interface operation gesture direction and the jump interface; the corresponding relation between the interface operation gesture direction and the jump interface is preset, and after the interface operation gesture direction on the first interface is obtained, the jump interface corresponding to the interface operation gesture direction is inquired, so that the second interface is obtained;
the interface jump instruction also comprises an interface pressing operation signal;
the determining a second interface corresponding to the interface jump instruction comprises:
the correspondence between the pressure value and the jump interface is stored in advance,
acquiring a pressure value corresponding to the interface pressing operation signal according to the interface pressing operation signal;
determining the second interface according to the corresponding relation between the preset pressure value and the jump interface;
the jumping from the first interface to the second interface includes:
controlling the display proportion of the first interface to be continuously reduced until the second interface is completely moved to the display interface; wherein the decreasing speed of the display proportion is set to decrease once every 0.05s, and the decreasing amount of the preset display proportion is set to decrease 20% each time;
and the display proportion of the first interface is controlled to be continuously reduced until the second interface is completely moved to the display interface, and then the method further comprises the following steps:
under the condition that the interface return operation on the second interface is detected, controlling the display proportion of the first interface to be continuously increased until the second interface is completely moved out of the display interface; wherein the increasing speed of the display ratio is set to be increased once every 0.05s, and the increasing amount of the preset display ratio is set to be increased by 20% each time.
2. A terminal comprising a memory, a processor, and an interface jump program stored on the memory and executable on the processor, the interface jump program when executed by the processor implementing the steps of the interface jump method of claim 1.
3. A computer readable storage medium, wherein an interface jump program is stored on the computer readable storage medium, which when executed by a processor, implements the steps of the interface jump method of claim 1.
CN201910325164.4A 2019-04-22 2019-04-22 Interface jump method, terminal and computer readable storage medium Active CN110083423B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910325164.4A CN110083423B (en) 2019-04-22 2019-04-22 Interface jump method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910325164.4A CN110083423B (en) 2019-04-22 2019-04-22 Interface jump method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110083423A CN110083423A (en) 2019-08-02
CN110083423B true CN110083423B (en) 2024-03-22

Family

ID=67416013

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910325164.4A Active CN110083423B (en) 2019-04-22 2019-04-22 Interface jump method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110083423B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111414142B (en) * 2020-03-13 2023-10-03 青岛海信移动通信技术有限公司 Mobile terminal and display method of application interface thereof
CN112925588A (en) * 2021-04-13 2021-06-08 厦门理工学院 Interface jump method, device, equipment and readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601839A (en) * 2013-10-31 2015-05-06 京瓷办公信息系统株式会社 Display input apparatus and image forming apparatus having the same
CN105138263A (en) * 2015-08-17 2015-12-09 百度在线网络技术(北京)有限公司 Method and device for jumping to specific page in application
CN106873863A (en) * 2015-12-09 2017-06-20 阿里巴巴集团控股有限公司 The method to set up and device of a kind of changing interface animation
CN106997271A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 Single-hand control method and device
CN107169026A (en) * 2017-04-12 2017-09-15 深圳充电网科技有限公司 The method and device that a kind of Website page is shown
CN107241494A (en) * 2017-05-24 2017-10-10 努比亚技术有限公司 A kind of quick inspection method of data content, mobile terminal and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9632664B2 (en) * 2015-03-08 2017-04-25 Apple Inc. Devices, methods, and graphical user interfaces for manipulating user interface objects with visual and/or haptic feedback

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601839A (en) * 2013-10-31 2015-05-06 京瓷办公信息系统株式会社 Display input apparatus and image forming apparatus having the same
CN105138263A (en) * 2015-08-17 2015-12-09 百度在线网络技术(北京)有限公司 Method and device for jumping to specific page in application
CN106873863A (en) * 2015-12-09 2017-06-20 阿里巴巴集团控股有限公司 The method to set up and device of a kind of changing interface animation
CN106997271A (en) * 2016-01-22 2017-08-01 中兴通讯股份有限公司 Single-hand control method and device
CN107169026A (en) * 2017-04-12 2017-09-15 深圳充电网科技有限公司 The method and device that a kind of Website page is shown
CN107241494A (en) * 2017-05-24 2017-10-10 努比亚技术有限公司 A kind of quick inspection method of data content, mobile terminal and storage medium

Also Published As

Publication number Publication date
CN110083423A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN108958936B (en) Application program switching method, mobile terminal and computer readable storage medium
CN110275794B (en) Screen display method of terminal, and computer-readable storage medium
CN110187808B (en) Dynamic wallpaper setting method and device and computer-readable storage medium
CN114126015A (en) Power consumption control method, intelligent terminal and storage medium
CN110052024B (en) Game vibration adjusting method, adjusting device, mobile terminal and storage medium
CN110083423B (en) Interface jump method, terminal and computer readable storage medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN111970738B (en) Network switching control method, device and computer readable storage medium
CN110099173B (en) Touch experience mode switching method, terminal and storage medium
CN109684020B (en) Theme switching method, device and computer readable storage medium
CN110955397A (en) Method for setting frame rate of game terminal, game terminal and storage medium
CN115914719A (en) Screen projection display method, intelligent terminal and storage medium
CN110087290B (en) Power consumption management and control method, terminal and computer readable storage medium
CN109739641B (en) Self-adaptive CPU frequency modulation acceleration method and device, mobile terminal and storage medium
CN109885275B (en) Audio regulation and control method, equipment and computer readable storage medium
CN107818159B (en) Information processing method, terminal and computer readable storage medium
CN114125151B (en) Image processing method, mobile terminal and storage medium
CN110162349B (en) Method, terminal and storage medium for accelerating starting of desktop starter
CN112631709B (en) Screen refresh rate setting method, terminal and computer readable medium
CN110110138B (en) Preservation method, mobile terminal and computer readable storage medium
CN110109723B (en) Control operation method, mobile terminal and computer readable storage medium
CN109976862B (en) Method, device, terminal and storage medium for realizing multiple preference fragment lists
CN113360466A (en) File sharing method, mobile terminal and storage medium
CN117221438A (en) Volume adjusting method, intelligent terminal and storage medium
CN117453088A (en) Display method, intelligent terminal and storage medium

Legal Events

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