CN108762629A - A kind of interface control method, mobile terminal and computer readable storage medium - Google Patents
A kind of interface control method, mobile terminal and computer readable storage medium Download PDFInfo
- Publication number
- CN108762629A CN108762629A CN201810382957.5A CN201810382957A CN108762629A CN 108762629 A CN108762629 A CN 108762629A CN 201810382957 A CN201810382957 A CN 201810382957A CN 108762629 A CN108762629 A CN 108762629A
- Authority
- CN
- China
- Prior art keywords
- interface
- plies
- target
- mapping table
- mobile terminal
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a kind of interface control method, the method includes:Receive the return operation executed for the first interface of application program;Obtain the operation information for returning to operation;According to the operation information and default mapping table, determine that the number of plies corresponding with the operation information is the target number of plies, wherein, the default mapping table includes the correspondence between multiple operation informations and multiple numbers of plies, and different operation informations corresponds to the different numbers of plies;Target interface is determined according to first interface and the target number of plies;Show the target interface.In addition, invention additionally discloses a kind of mobile terminal and computer readable storage mediums.It is easy to operate in this way, user need to can only be returned by once-through operation is separated by the interface of multilayer with current interface, it does not need user and repeatedly clicks return push-button and successively return, reduce taking for successively display interface, provide the user with conveniently.
Description
Technical field
The present invention relates to a kind of display control technology field more particularly to interface control method, mobile terminal and computers
Readable storage medium storing program for executing.
Background technology
With the fast development of internet and electronic technology, the work(of mobile terminal (such as smart mobile phone, tablet computer etc.)
Can be stronger and stronger, it is played an increasingly important role in the work or life of people.With the function of application program
It enriches constantly, the level that application program includes is also more and more, when user enters the deeper interface of application program level, if
When wanting to return to application program homepage or the shallower interface of level, in the prior art, user can only successively click on interface
Return push-button successively returns.
So, it when the level being separated by with current interface when the interface that user wants to return to is more, needs by multiple
Click return push-button successively return, operation it is cumbersome, and interface need to successively show take it is longer.
Invention content
In view of this, a kind of interface control method of present invention proposition, mobile terminal and computer readable storage medium, with solution
Certainly above-mentioned technical problem.
First, to achieve the above object, the present invention proposes a kind of interface control method, is applied to mobile terminal, the side
Method includes:
Receive the return operation executed for the first interface of application program;
Obtain the operation information for returning to operation;
According to the operation information and default mapping table, determine that the number of plies corresponding with the operation information is target
The number of plies, wherein the default mapping table includes the correspondence between multiple operation informations and multiple numbers of plies, different behaviour
The different numbers of plies is corresponded to as information;
Target interface is determined according to first interface and the target number of plies;
Show the target interface.
Optionally, the operation information includes operating force and/or operation duration.
Optionally, the operation information includes operating force, and the reception is executed for the first interface of application program
Operation is returned, including:
Receive the return operation executed in the target area at the first interface of application program;
The operation information for obtaining the return operation, including:
Obtain be arranged the mobile terminal of the target area pressure sensor detection pressure be the return
The operating force of operation.
Optionally, described that target interface is determined according to first interface and the target number of plies, including:
Determine that the interface of the upward target number of plies in first interface is target interface.
Optionally, before the interface of the upward target number of plies in the determination first interface is target interface, the method
Further include:
Obtain the level residing for first interface;
Judge whether the level residing for first interface is less than the target number of plies;
The interface of the upward target number of plies in determination first interface is target interface, including:
If the level residing for first interface is not less than the target number of plies, the upward destination layer in the first interface is determined
Several interfaces is target interface.
Optionally, whether the level judged residing for first interface is less than after the target number of plies, the side
Method further includes:
If the level residing for first interface is less than the target number of plies, determine that the homepage of the application program is target
Interface.
Optionally, before the return operation received for the first interface execution of application program, the method is also wrapped
It includes:
It obtains and presets mapping table.
Optionally, described obtain presets mapping table, including:
It receives and presets mapping table;Or
Obtain multigroup training data, and machine learning carried out to multigroup training data, generation include multiple operation informations and
The mapping table of correspondence between multiple numbers of plies, wherein every group of training data is the operation of the first operation received
Information and receiving it is described first operation preset time inner boundary return the number of plies.
Further, to achieve the above object, the present invention also provides a kind of mobile terminal, the mobile terminal includes storage
Device, at least one processor and at least one journey that is stored on the memory and can be executed at least one processor
Sequence, at least one program realize the step in method described in any one of the above embodiments when being executed by least one processor
Suddenly.
Further, to achieve the above object, the present invention also provides a kind of computer readable storage medium, the computers
Readable storage medium storing program for executing is stored with the executable at least one program of computer, and at least one program is executed by the computer
When so that the computer is executed the step in the above method.
Compared to the prior art, interface control method proposed by the present invention receives the first interface execution for application program
Return operation;Obtain the operation information for returning to operation;According to the operation information and default mapping table, determine
The number of plies corresponding with the operation information is the target number of plies, wherein the default mapping table include multiple operation informations with
Correspondence between multiple numbers of plies, different operation informations correspond to the different numbers of plies;According to first interface and described
The target number of plies determines target interface;Show the target interface.Interface control method provided by the invention is executed according to user
The operation information for returning to operation determines the number of plies returned, in this way, user need to can only be returned by once-through operation and current interface
It is separated by the interface of multilayer, it is easy to operate, it does not need user and repeatedly clicks return push-button and successively return, reduce successively display interface
Take, provide the user with conveniently.
Description of the drawings
Fig. 1 is a kind of hardware architecture diagram for the mobile terminal for realizing each embodiment of the present invention;
Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of interface control method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another interface control method provided in an embodiment of the present invention;
Fig. 5 is the flow diagram of another interface control method provided in an embodiment of the present invention;
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, using for indicating that the suffix of such as " module ", " component " or " unit " of element is only
The explanation for being conducive to the present invention, itself does not have a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, tablet
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
The shiftings such as media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware architecture diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Moving terminal 100 may include:RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the number of the components such as memory 109, processor 110 and power supply 111, the processor 110 is at least one.Ability
Field technique personnel are appreciated that mobile terminal structure shown in Fig. 1 does not constitute the restriction to mobile terminal, and mobile terminal can
To include either combining certain components or different components arrangement than illustrating more or fewer components.
The all parts of mobile terminal are specifically introduced with reference to Fig. 1:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by radio communication.Above-mentioned wireless communication can use any communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), 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 short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to be omitted in the range for the essence for not changing invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, it is that radio frequency unit 101 or WiFi module 102 are received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
The relevant audio output of specific function executed with mobile terminal 100 can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loud speaker, buzzer etc..
A/V input units 104 are for receiving audio or video signal.A/V input units 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained by image capture apparatus (such as camera) in image capture mode carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case of telephone calling model.
Microphone 1042 can implement various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, size and the direction of gravity are can detect that when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode may be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family is arranged and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect user on it or neighbouring touch operation
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
It is one or more, do not limit herein specifically.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be to realize the function that outputs and inputs of mobile terminal as two independent components, but in certain embodiments, can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and by least one element that the input received is transferred in mobile terminal 100 or can use
In the transmission data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can include mainly storing program area
And storage data field, wherein storing program area can storage program area, application program (such as the sound needed at least one function
Sound playing function, image player function etc.) etc.;Storage data field can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Reason device 110 may include at least one processing unit;Preferably, processor 110 can integrate application processor and modulation /demodulation processing
Device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainly located
Reason wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, below to the communications network system that is based on of mobile terminal of the present invention into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system Organization Chart provided in an embodiment of the present invention, the communication network system
System is the LTE system of universal mobile communications technology, which includes communicating UE (User Equipment, the use of connection successively
Family equipment) (the lands Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN
Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation
204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and some are preserved in relation to use such as service features, data rates
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201
Address is distributed and other functions, and PCRF2036 is strategy and the charging control strategic decision-making of business data flow and IP bearing resources
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art it is to be understood that the present invention not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., it does not limit herein.
Based on 100 hardware configuration of above-mentioned mobile terminal and communications network system, each embodiment of the method for the present invention is proposed.
It is a kind of step flow chart of interface control method provided in an embodiment of the present invention, the method refering to Fig. 3, Fig. 3
Applied in mobile terminal, as shown in figure 3, the method includes:
Step 301 receives the return operation executed for the first interface of application program.
In the step, the method receives the return operation that user executes for the first interface of application program.It can manage
Solution, first interface can be other interfaces in addition to the homepage of the application program, and returns operates can be with
It is the operation executed to the Back button on first interface, such as clicking operation, can also be in the mobile terminal
When the first interface in application program, to the operation that " return " button of the mobile terminal executes, such as clicking operation.
Step 302 obtains the operation information for returning to operation.
In the step, the method obtains the operation information for returning to operation, and the operation information can be operating force
Degree, can also be operation duration, can also include operating force and operation duration.Specifically, when the operation information includes
When operating force, the pressure that the method can be detected by obtaining the pressure sensor of setting on the mobile terminal,
And the pressure for detecting the pressure sensor is as operating force.The pressure sensor is to be arranged on the mobile terminal
Receive the pressure sensor in the region for returning to operation.For example, it is assumed that the return that the method receives, which operates, is
The return operation that user executes in the target area at the first interface of the application program, the method, which obtains, to be arranged in the shifting
The pressure that the pressure sensor of the target area of dynamic terminal detects, and as the operating force for returning to operation.
Step 303, according to the operation information and default mapping table, determine layer corresponding with the operation information
Number is the target number of plies, wherein the default mapping table includes the correspondence between multiple operation informations and multiple numbers of plies,
Different operation informations corresponds to the different numbers of plies.
In the step, the method determines and believes with the operation according to the operation information and default mapping table
Cease the target number of plies of the corresponding number of plies.In the embodiment of the present invention, default correspondence can be prestored in the mobile terminal
Table, the default mapping table include the correspondence between multiple operation informations and multiple numbers of plies, wherein different behaviour
The different numbers of plies is corresponded to as information.In the step, the method can obtain and the behaviour from the default mapping table
It is the target number of plies to make the corresponding number of plies of information.
When the operation information is operating force, the default mapping table include multiple operating forces with it is multiple
Correspondence between the number of plies, wherein different operating forces corresponds to the different numbers of plies.The method is operated according to the return
Operating force, it is target to be obtained from the default mapping table with the corresponding number of plies of operating force for returning to operation
The number of plies.When the operation information is operation duration, the default mapping table includes multiple operation durations and multiple numbers of plies
Between correspondence, wherein different operation durations corresponds to the different numbers of plies, and the method is according to the behaviour for returning to operation
Make duration, it is destination layer that the number of plies corresponding with the operation duration for returning to operation is obtained from the default mapping table
Number.When the operation information includes operating force and operation duration, the method is obtained from the default mapping table
Extract operation dynamics is the operating force for returning and operating, and the operation of a length of operation duration for returning to operation is believed when operation
It is the target number of plies to cease the corresponding number of plies.
The default mapping table can be that the mobile terminal is first passed through in advance to multigroup training data progress engineering
The mapping table generated is practised, can also be to be passed through to the progress machine learning of multigroup training data by other-end or server
The mapping table for generating, and being sent to the mobile terminal.It is specifically, described that machine learning is carried out to multigroup training data,
Generating the mode of the mapping table can be:Multigroup training data is obtained, engineering then is carried out to multigroup training data
It practises, generation includes the mapping table of the correspondence between multiple operation informations and multiple numbers of plies, wherein every group of training data
The number of plies that preset time inner boundary returns is operated for the first operation information operated received and receiving described first,
In this way, the method can generate the default mapping table by big data analysis.For example, for the first interface,
If user wants that the number of plies returned is different, executes the operation information for returning and operating and generally have difference, the method obtains user
In the operation information for the first operation that the first interface executes, and successively obtains and to be returned successively in the first operation preset time
The stay time at interface, the method obtains the number of plies that stay time is more than the interface of preset duration, and calculates the stay time
It is to receive in the first operation preset time more than the number of plies being separated by between the interface of preset duration and first interface
The number of plies that interface returns.
In some embodiment of the invention, the default mapping table can also be operating habit of the user according to oneself
The mapping table being configured.
Step 304 determines target interface according to first interface and the target number of plies.
In the step, the method determines target interface according to first interface and the target number of plies.Specifically,
The method can determine that the interface of the upward target number of plies in the first interface is target interface.For example, it is assumed that first boundary
Face is the 4th bed boundary, and the target number of plies is 2 layers, and the method can determine that upward 2 layers of the interface in first interface is mesh
It demarcates face.
In some embodiment of the invention, the method can first obtain the level residing for the first interface, then judge institute
State whether the level residing for the first interface is less than the target number of plies;If the level residing for first interface is not less than the mesh
The number of plies is marked, the method determines that the interface of the upward target number of plies in first interface is target interface;If on the contrary, described first
Level residing for interface is less than the target number of plies, and the method determines that the homepage of the application program is target interface.
For example, it is assumed that level residing for the first interface is the 4th layer, if the target number of plies is 2 layers, described at this time the
Level residing for one interface is not less than the target number of plies, and the interface that upward two layers of first interface is existing, the side
Method determines that the interface at upward two layers of first interface is target interface.Assuming that the level residing for the first interface is the 4th layer, if institute
It is 5 layers to state the target number of plies, and the level residing for first interface is less than the target number of plies, first interface upward 5 at this time
It is not present when the interface of layer, the method can determine that the homepage of the application program is target interface.
Step 305, the display target interface.
In the step, the method shows the target interface.
In the present embodiment, the interface control method receives the return operation executed for the first interface of application program;
Obtain the operation information for returning to operation;According to the operation information and default mapping table, determine and the operation
The corresponding number of plies of information is the target number of plies, wherein the default mapping table include multiple operation informations with multiple numbers of plies it
Between correspondence, different operation informations corresponds to the different numbers of plies;It is true according to first interface and the target number of plies
Set the goal interface;Show the target interface.In this way, user need to can only be returned by once-through operation with current interface be separated by it is more
The interface of layer, it is easy to operate, it does not need user and repeatedly clicks return push-button and successively return, reduce the consumption of successively display interface
When, it provides the user with conveniently.
Optionally, the operation information includes operating force and/or operation duration.
Optionally, described that target interface is determined according to first interface and the target number of plies, including:
Determine that the interface of the upward target number of plies in first interface is target interface.
Optionally, before the return operation received for the first interface execution of application program, the method is also wrapped
It includes:
It obtains and presets mapping table.
Optionally, described obtain presets mapping table, including:
It receives and presets mapping table;Or
Obtain multigroup training data, and machine learning carried out to multigroup training data, generation include multiple operation informations and
The mapping table of correspondence between multiple numbers of plies, wherein every group of training data is the operation of the first operation received
Information and receiving it is described first operation preset time inner boundary return the number of plies.
It is the flow diagram of another interface control method provided in an embodiment of the present invention referring to Fig. 4, Fig. 4, such as Fig. 4 institutes
Show, the method includes:
Step 401 receives the return operation executed in the target area at the first interface of application program.
In the step, the method receives the return behaviour that user executes in the target area at the first interface of application program
Make.
Step 402, acquisition be arranged the mobile terminal of the target area pressure sensor detection pressure be
The operating force for returning to operation.
In the step, the method obtains the pressure sensor detection being arranged in the mobile terminal of the target area
Pressure be it is described return operation operating force.
Step 403, according to the operating force and default mapping table, determine layer corresponding with the operating force
Number is the target number of plies, wherein the default mapping table includes the correspondence between multiple operating forces and multiple numbers of plies,
Different operating forces corresponds to the different numbers of plies.
In the step, the method determines and the operating force according to the operating force and default mapping table
It is the target number of plies to spend the corresponding number of plies.In the embodiment, the mobile terminal be previously stored with including multiple operating forces with it is more
The mapping table of correspondence between a number of plies, wherein different operating forces corresponds to the different numbers of plies.
Step 404 determines target interface according to first interface and the target number of plies.
Step 405, the display target interface.
The step 404 and step 405 in present invention embodiment shown in Fig. 3 step 304 and step 305 it is identical,
Details are not described herein again.
In the present embodiment, the interface control method is received to be returned what the target area at the first interface of application program executed
Return operation;Obtain be arranged the mobile terminal of the target area pressure sensor detection pressure be the return behaviour
The operating force of work;According to the operating force and default mapping table, the number of plies corresponding with the operating force is determined
For the target number of plies, wherein the default mapping table includes the correspondence between multiple operating forces and multiple numbers of plies, no
Same operating force corresponds to the different numbers of plies;Target interface is determined according to first interface and the target number of plies;Display
The target interface.In this way, user need to can only be returned by once-through operation is separated by the interface of multilayer, operation letter with current interface
Just, it does not need user and repeatedly clicks return push-button and successively return, reduce taking for successively display interface, the side of providing the user with
Just.
It is the flow diagram of another interface control method provided in an embodiment of the present invention referring to Fig. 5, Fig. 5, such as Fig. 5 institutes
Show, the method includes:
Step 501 receives the return operation executed for the first interface of application program.
Step 502 obtains the operation information for returning to operation.
Step 503, according to the operation information and default mapping table, determine layer corresponding with the operation information
Number is the target number of plies, wherein the default mapping table includes the correspondence between multiple operation informations and multiple numbers of plies,
Different operation informations corresponds to the different numbers of plies.
The step 501 is identical to step 303 to step 503 and the step 301 in present invention embodiment shown in Fig. 3,
Details are not described herein again.
Level residing for step 504, acquisition first interface.
In the step, the method obtains the level residing for the first interface.
Step 505 judges whether the level residing for first interface is less than the target number of plies.
In the step, the method judges whether the level residing for first interface is less than the target number of plies, if institute
It states the level residing for the first interface and is not less than the target number of plies, execute step 506;If on the contrary, residing for first interface
Level be less than the target number of plies, execute step 507.
Step 506 determines that the interface of the upward target number of plies in first interface is target interface.
In the step, when the level residing for first interface is not less than the target number of plies, the method determines institute
The interface for stating the upward target number of plies in the first interface is target interface, and flow enters step 508.For example, it is assumed that the first interface
Residing level is the 4th layer, if the target number of plies is 2 layers, the level residing for first interface is not less than the mesh at this time
The number of plies is marked, the interface that upward two layers of first interface is existing, and the method directly determines first interface upward two
The interface of layer is target interface.
Step 507 determines that the homepage of the application program is target interface.
In the step, when the level residing for first interface is less than the target number of plies, described in the method determines
The homepage of application program is target interface.For example, it is assumed that the level residing for the first interface is the 4th layer, if the destination layer
Number is 5 layers, and the level residing for first interface is less than the target number of plies, upward 5 layers of the interface in the first interface at this time
When be not present, the method can determine the application program homepage be target interface.
Step 508, the display target interface.
The step 508 is identical as the step 305 in present invention embodiment shown in Fig. 3, and details are not described herein again.
In the present embodiment, the interface control method receives the return operation executed for the first interface of application program;
Obtain the operation information for returning to operation;According to the operation information and default mapping table, determine and the operation
The corresponding number of plies of information is the target number of plies, wherein the default mapping table include multiple operation informations with multiple numbers of plies it
Between correspondence, different operation informations corresponds to the different numbers of plies;Obtain the level residing for first interface;Described in judgement
Whether the level residing for the first interface is less than the target number of plies;If the level residing for first interface is not less than the target
The number of plies determines that the interface of the upward target number of plies in first interface is target interface;Show the target interface.In this way, user
The interface for being separated by multilayer with current interface need to can be only returned to by once-through operation, it is easy to operate, it does not need user and repeatedly clicks
Return push-button successively returns, and reduces taking for successively display interface, provides the user with conveniently.
It can be with one of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one program can be stored in shifting as shown in Figure 1
It in the memory 109 of dynamic terminal, and can be executed by the processor 110, at least one program is by the processor 110
Following steps are realized when execution:
Receive the return operation executed for the first interface of application program;
Obtain the operation information for returning to operation;
According to the operation information and default mapping table, determine that the number of plies corresponding with the operation information is target
The number of plies, wherein the default mapping table includes the correspondence between multiple operation informations and multiple numbers of plies, different behaviour
The different numbers of plies is corresponded to as information;
Target interface is determined according to first interface and the target number of plies;
Show the target interface.
Optionally, the operation information includes operating force and/or operation duration.
Optionally, the operation information includes operating force, and the reception is executed for the first interface of application program
Operation is returned, including:
Receive the return operation executed in the target area at the first interface of application program;
The operation information for obtaining the return operation, including:
Obtain be arranged the mobile terminal of the target area pressure sensor detection pressure be the return
The operating force of operation.
Optionally, described that target interface is determined according to first interface and the target number of plies, including:
Determine that the interface of the upward target number of plies in first interface is target interface.
Optionally, the processor 110, which executes, determines that the interface of the upward target number of plies in the first interface is target interface
Before, following steps be can also be achieved:
Obtain the level residing for first interface;
Judge whether the level residing for first interface is less than the target number of plies;
The interface of the upward target number of plies in determination first interface is target interface, including:
If the level residing for first interface is not less than the target number of plies, the upward destination layer in the first interface is determined
Several interfaces is target interface.
Optionally, the processor 110, which executes, judges whether the level residing for first interface is less than the destination layer
After number, following steps are can also be achieved:
If the level residing for first interface is less than the target number of plies, determine that the homepage of the application program is target
Interface.
Optionally, before the processor 110 executes the return operation for receiving and being executed for the first interface of application program,
It can also be achieved following steps:
It obtains and presets mapping table.
Optionally, described obtain presets mapping table, including:
It receives and presets mapping table;Or
Obtain multigroup training data, and machine learning carried out to multigroup training data, generation include multiple operation informations and
The mapping table of correspondence between multiple numbers of plies, wherein every group of training data is the operation of the first operation received
Information and receiving it is described first operation preset time inner boundary return the number of plies.
It can be with one of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment method is
It is completed by the relevant hardware of at least one program instruction, at least one program can be stored in one and computer-readable deposit
In storage media, which is performed, and includes the following steps:
Receive the return operation executed for the first interface of application program;
Obtain the operation information for returning to operation;
According to the operation information and default mapping table, determine that the number of plies corresponding with the operation information is target
The number of plies, wherein the default mapping table includes the correspondence between multiple operation informations and multiple numbers of plies, different behaviour
The different numbers of plies is corresponded to as information;
Target interface is determined according to first interface and the target number of plies;
Show the target interface.
Optionally, the operation information includes operating force and/or operation duration.
Optionally, the operation information includes operating force, and the reception is executed for the first interface of application program
Operation is returned, including:
Receive the return operation executed in the target area at the first interface of application program;
The operation information for obtaining the return operation, including:
Obtain be arranged the mobile terminal of the target area pressure sensor detection pressure be the return
The operating force of operation.
Optionally, described that target interface is determined according to first interface and the target number of plies, including:
Determine that the interface of the upward target number of plies in first interface is target interface.
Optionally, at least one program is performed the interface realized and determine the upward target number of plies in the first interface
Before target interface, following steps are can also be achieved:
Obtain the level residing for first interface;
Judge whether the level residing for first interface is less than the target number of plies;
The interface of the upward target number of plies in determination first interface is target interface, including:
If the level residing for first interface is not less than the target number of plies, the upward destination layer in the first interface is determined
Several interfaces is target interface.
Optionally, at least one program be performed realization judge whether the level residing for first interface is less than
After the target number of plies, following steps are can also be achieved:
If the level residing for first interface is less than the target number of plies, determine that the homepage of the application program is target
Interface.
Optionally, at least one program, which is performed, realizes that reception is returned for what the first interface of application program executed
It returns before operation, can also be achieved following steps:
It obtains and presets mapping table.
Optionally, described obtain presets mapping table, including:
It receives and presets mapping table;Or
Obtain multigroup training data, and machine learning carried out to multigroup training data, generation include multiple operation informations and
The mapping table of correspondence between multiple numbers of plies, wherein every group of training data is the operation of the first operation received
Information and receiving it is described first operation preset time inner boundary return the number of plies.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that process, method, article or device including a series of elements include not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including this
There is also other identical elements in the process of element, method, article or device.
The embodiments of the present invention are for illustration only, can not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical scheme of the present invention substantially in other words does the prior art
Going out the part of contribution can be expressed in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disc, CD), including some instructions are used so that a station terminal equipment (can be mobile phone, computer, clothes
Be engaged in device, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
It these are only the preferred embodiment of the present invention, be not intended to limit the scope of the invention, it is every to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of interface control method is applied to mobile terminal, which is characterized in that the method includes:
Receive the return operation executed for the first interface of application program;
Obtain the operation information for returning to operation;
According to the operation information and default mapping table, determine that the number of plies corresponding with the operation information is destination layer
Number, wherein the default mapping table includes the correspondence between multiple operation informations and multiple numbers of plies, different operations
Information corresponds to the different numbers of plies;
Target interface is determined according to first interface and the target number of plies;
Show the target interface.
2. interface control method as described in claim 1, which is characterized in that the operation information include operating force and/or
Operate duration.
3. interface control method as claimed in claim 2, which is characterized in that the operation information includes operating force, described
The return operation executed for the first interface of application program is received, including:
Receive the return operation executed in the target area at the first interface of application program;
The operation information for obtaining the return operation, including:
Obtain be arranged the mobile terminal of the target area pressure sensor detection pressure be the return operation
Operating force.
4. interface control method as described in claim 1, which is characterized in that described according to first interface and the mesh
The mark number of plies determines target interface, including:
Determine that the interface of the upward target number of plies in first interface is target interface.
5. interface control method as claimed in claim 4, which is characterized in that the determination upward destination layer in the first interface
Before several interfaces is target interface, the method further includes:
Obtain the level residing for first interface;
Judge whether the level residing for first interface is less than the target number of plies;
The interface of the upward target number of plies in determination first interface is target interface, including:
If the level residing for first interface is not less than the target number of plies, the upward target number of plies in first interface is determined
Interface is target interface.
6. interface control method as claimed in claim 5, which is characterized in that the level judged residing for first interface
Whether it is less than after the target number of plies, the method further includes:
If the level residing for first interface is less than the target number of plies, determine that the homepage of the application program is target circle
Face.
7. interface control method as described in claim 1, which is characterized in that first interface received for application program
Before the return operation of execution, the method further includes:
It obtains and presets mapping table.
8. interface control method as claimed in claim 7, which is characterized in that described obtain presets mapping table, including:
It receives and presets mapping table;Or
Obtain multigroup training data, and machine learning carried out to multigroup training data, generation include multiple operation informations with it is multiple
The mapping table of correspondence between the number of plies, wherein every group of training data is the operation information of the first operation received
And in the number of plies for receiving the first operation preset time inner boundary return.
9. a kind of mobile terminal, which is characterized in that the mobile terminal includes memory, at least one processor and is stored in institute
At least one program stated on memory and can executed at least one processor, at least one program by it is described extremely
When a few processor executes, the step in 1 to 8 any one of them method of the claims is realized.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer executable at least
One program, which is characterized in that at least one program makes the computer execute above-mentioned power when being executed by the computer
Profit requires the step in 1 to 8 any one of them method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810382957.5A CN108762629A (en) | 2018-04-26 | 2018-04-26 | A kind of interface control method, mobile terminal and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810382957.5A CN108762629A (en) | 2018-04-26 | 2018-04-26 | A kind of interface control method, mobile terminal and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108762629A true CN108762629A (en) | 2018-11-06 |
Family
ID=64012010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810382957.5A Pending CN108762629A (en) | 2018-04-26 | 2018-04-26 | A kind of interface control method, mobile terminal and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108762629A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110187823A (en) * | 2019-05-31 | 2019-08-30 | 浙江口碑网络技术有限公司 | The page display method and device realized using virtual key |
CN113703641A (en) * | 2021-06-28 | 2021-11-26 | 深圳市爱都科技有限公司 | Message preview method and device, wearable device and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080297483A1 (en) * | 2007-05-29 | 2008-12-04 | Samsung Electronics Co., Ltd. | Method and apparatus for touchscreen based user interface interaction |
CN105183228A (en) * | 2015-09-09 | 2015-12-23 | 魅族科技(中国)有限公司 | Terminal device and interface switching method |
CN106527926A (en) * | 2016-10-31 | 2017-03-22 | 珠海市魅族科技有限公司 | Page return method and device |
CN106919299A (en) * | 2015-12-25 | 2017-07-04 | 西安中兴新软件有限责任公司 | The changing method and terminal of a kind of display interface |
CN107896280A (en) * | 2017-11-16 | 2018-04-10 | 珠海市魅族科技有限公司 | Control method and device, the terminal and readable storage medium storing program for executing of a kind of application program |
-
2018
- 2018-04-26 CN CN201810382957.5A patent/CN108762629A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080297483A1 (en) * | 2007-05-29 | 2008-12-04 | Samsung Electronics Co., Ltd. | Method and apparatus for touchscreen based user interface interaction |
CN105183228A (en) * | 2015-09-09 | 2015-12-23 | 魅族科技(中国)有限公司 | Terminal device and interface switching method |
CN106919299A (en) * | 2015-12-25 | 2017-07-04 | 西安中兴新软件有限责任公司 | The changing method and terminal of a kind of display interface |
CN106527926A (en) * | 2016-10-31 | 2017-03-22 | 珠海市魅族科技有限公司 | Page return method and device |
CN107896280A (en) * | 2017-11-16 | 2018-04-10 | 珠海市魅族科技有限公司 | Control method and device, the terminal and readable storage medium storing program for executing of a kind of application program |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110187823A (en) * | 2019-05-31 | 2019-08-30 | 浙江口碑网络技术有限公司 | The page display method and device realized using virtual key |
CN113703641A (en) * | 2021-06-28 | 2021-11-26 | 深圳市爱都科技有限公司 | Message preview method and device, wearable device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108536481A (en) | A kind of application program launching method, mobile terminal and computer storage media | |
CN108391025A (en) | A kind of network access management method, mobile terminal and computer readable storage medium | |
CN108289174A (en) | A kind of image pickup method, mobile terminal and computer readable storage medium | |
CN108282771A (en) | A kind of network access management method, mobile terminal and computer readable storage medium | |
CN107340833A (en) | Terminal temperature control method, terminal and computer-readable recording medium | |
CN108512991A (en) | A kind of based reminding method, mobile terminal and computer readable storage medium | |
CN107844231A (en) | A kind of interface display method, mobile terminal and computer-readable recording medium | |
CN108052260A (en) | Mobile terminal operation response method, mobile terminal and readable storage medium storing program for executing | |
CN108172161A (en) | Display methods, mobile terminal and computer readable storage medium based on flexible screen | |
CN108762631A (en) | A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN107844230A (en) | A kind of advertisement page method of adjustment, mobile terminal and computer-readable recording medium | |
CN108881635A (en) | Screen luminance adjustment method, mobile terminal and computer readable storage medium | |
CN108363455A (en) | Working mode switching method, mobile terminal and computer readable storage medium | |
CN110187808A (en) | Dynamic wallpaper setting method, device and computer readable storage medium | |
CN108776600A (en) | Application program pretrigger method, mobile terminal and computer readable storage medium | |
CN110064196A (en) | Method for controlling mobile terminal, mobile terminal and computer readable storage medium | |
CN110177206A (en) | Image pickup method, mobile terminal and computer readable storage medium | |
CN108900765A (en) | A kind of shooting based reminding method, mobile terminal and computer readable storage medium | |
CN108366303A (en) | A kind of video broadcasting method, mobile terminal and computer readable storage medium | |
CN108228301A (en) | The method, apparatus and computer readable storage medium of the long sectional drawing of screen interface | |
CN107943397A (en) | A kind of note generation method, mobile terminal and computer-readable recording medium | |
CN108260009A (en) | Method for processing video frequency, mobile terminal and computer readable storage medium | |
CN107657022A (en) | A kind of document retrieval method, mobile terminal and computer-readable recording medium | |
CN108762629A (en) | A kind of interface control method, mobile terminal and computer readable storage medium | |
CN107577448A (en) | A kind of alarm clock alarming method, equipment and computer-readable recording 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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181106 |