Detailed Description
It should be understood that the embodiments described herein are only for explaining the technical solutions of the present invention, and are not intended to limit the scope of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art 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 moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal 100 implementing various embodiments of the present invention, and as shown in fig. 1, the mobile terminal 100 may include a wireless communication unit 110, an audio/video (a/V) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, a power supply unit 190, and the like. Fig. 1 illustrates the mobile terminal 100 having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. The elements of the mobile terminal 100 will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit 110 may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting systems. In particular, the broadcast receiving module 111 may receive a broadcast signal by using a signal such as multimedia broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), forward link media (MediaFLO)@) Number of data broadcasting system, terrestrial digital broadcasting integrated service (ISDB-T), etcA word broadcasting system receives digital broadcasting. The broadcast receiving module 111 may be constructed to be suitable for various broadcasting systems that provide broadcast signals as well as the above-mentioned digital broadcasting systems. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal 100. The wireless internet module 113 may be internally or externally coupled to the terminal. The wireless internet access technology referred to by the wireless internet module 113 may include Wireless Local Area Network (WLAN), wireless compatibility authentication (Wi-Fi), wireless broadband (Wibro), worldwide interoperability for microwave access (Wimax), High Speed Downlink Packet Access (HSDPA), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal 100. A typical example of the location information module 115 is a Global Positioning System (GPS) module 115. According to the current technology, the GPS module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the GPS module 115 can calculate speed information by continuously calculating current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal 100. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 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 audio signals.
The user input unit 130 may generate key input data to control various operations of the mobile terminal 100 according to a command input by a user. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port (a typical example is a Universal Serial Bus (USB) 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 identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means.
The interface unit 170 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 the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal 100. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal 100 is accurately mounted on the cradle.
The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, an alarm unit 153, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, mobile terminal 100 may include two or more display units (or other display devices), for example, mobile terminal 100 may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The alarm unit 153 may provide an output to notify the mobile terminal 100 of the occurrence of an event. Typical events may include call reception, message reception, key signal input, touch input, and the like. In addition to audio or video output, the alarm unit 153 may provide output in different ways to notify the occurrence of an event. For example, the alarm unit 153 may provide an output in the form of vibration, and when a call, a message, or some other incoming communication (communicating communication) is received, the alarm unit 153 may provide a tactile output (i.e., vibration) to inform the user thereof. By providing such a tactile output, the user can recognize the occurrence of various events even when the user's mobile phone is in the user's pocket. The alarm unit 153 may also provide an output notifying the occurrence of an event via the display unit 151 or the audio output module 152.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal 100. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing or playing back multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed to be separated from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to this point, the mobile terminal 100 has been described in terms of its functions. Hereinafter, the slide-type mobile terminal 100 among various types of mobile terminals 100, such as a folder-type, bar-type, swing-type, slide-type mobile terminal 100, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal 100, and is not limited to the slide type mobile terminal 100.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which the mobile terminal 100 according to the present invention is capable of operating will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC 280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC 280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 2750.
Each BS 270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS 270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS 270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each partition of a particular BS 270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several satellites 300 are shown, for example, Global Positioning System (GPS) satellites 300 may be employed. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal 100 may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS 270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC 280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC 280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS 270 to transmit forward link signals to the mobile terminal 100.
The mobile communication module 112 of the wireless communication unit 110 in the mobile terminal accesses the mobile communication network based on the necessary data (including the user identification information and the authentication information) of the mobile communication network (such as the mobile communication network of 2G/3G/4G, etc.) built in the mobile terminal, so as to transmit the mobile communication data (including the uplink mobile communication data and the downlink mobile communication data) for the services of web browsing, network multimedia playing, etc. of the mobile terminal user.
The wireless internet module 113 of the wireless communication unit 110 implements a function of a wireless hotspot by operating a related protocol function of the wireless hotspot, the wireless hotspot supports access by a plurality of mobile terminals (any mobile terminal other than the mobile terminal), transmits mobile communication data (including uplink mobile communication data and downlink mobile communication data) for mobile terminal user's services such as web browsing, network multimedia playing, etc. by multiplexing the mobile communication connection between the mobile communication module 112 and the mobile communication network, since the mobile terminal essentially multiplexes the mobile communication connection between the mobile terminal and the communication network for transmitting mobile communication data, the traffic of mobile communication data consumed by the mobile terminal is charged to the communication tariff of the mobile terminal by a charging entity on the side of the communication network, thereby consuming the data traffic of the mobile communication data included in the communication tariff contracted for use by the mobile terminal.
Based on the above hardware structure of the mobile terminal 100 and the communication system, various embodiments of the method of the present invention are proposed.
As shown in FIG. 3, a first embodiment of the present invention provides a desktop page entering method, which includes
Step S310: detecting a pressing parameter of a pressing operation acting on the touch screen;
step S320: judging whether the pressing parameters meet a first preset rule or not;
step S320: when the pressing parameters meet the first preset rule, displaying at least one desktop card; wherein one of the desktop cards corresponds to one desktop page; the desktop card and the desktop page are display pages provided with at least one application icon, and the application icons arranged on the corresponding desktop card and the corresponding desktop page are the same; the display area of the desktop card is smaller than that of the desktop page;
step S340: detecting sliding operation to obtain sliding parameters;
step S350: switching and displaying the desktop card according to a second preset rule within the action time of the sliding operation;
step S360: and when the sliding operation is stopped, stopping the switching of the desktop card and entering the display of the currently displayed desktop page corresponding to the desktop card.
The desktop page method in this embodiment may be an information processing method applied to various mobile terminals, where the desktop page is a display page on which at least one application icon is displayed, and the application icon may be a control for entering an application. In step S310 of the present embodiment, a pressing parameter of a pressing operation applied to the touch screen is first detected. The pressing parameters are operation parameters of the pressing operation, such as pressing coordinates, pressing time length and/or pressing force degree.
In step S330, it is determined whether the pressing parameter satisfies a first predetermined rule, and if the pressing parameter satisfies the first predetermined rule, a desktop card corresponding to the desktop page is displayed, where the desktop card is different from the desktop page at least in display area. For example, the display area of a desktop page may be equal to the display area of the display screen, and the desktop card will then be smaller than the display area of the display screen.
A sliding operation will be detected in step S340, which will be used to trigger the switching display of the desktop card. The display of the desktop card will be switched in step S350. For example, switching and displaying the desktop card according to a second preset rule may include: and sequentially switching the desktop cards according to a preset sequence. In this embodiment, the switching of the desktop card is performed when the sliding operation is stopped during the time when the sliding operation is performed, and the switching of the desktop card is stopped. In step S360 in this embodiment, when it is detected that the sliding operation is stopped, the switching of the display card is stopped, and meanwhile, the entering desktop page is determined according to the currently displayed desktop card, and the determined desktop page is entered. The currently displayed desktop card can be regarded as the desktop card displayed at the moment when the sliding operation stops.
Therefore, the pressing operation and the sliding operation can be realized, the switching between any two desktop pages can be realized, in the process of desktop page switching, the equipment displays the application icons also arranged on each desktop, and a user can find the application icons wanted by the user in the process of desktop card switching conveniently due to the corresponding relation between the desktop pages and the desktop cards, and the sliding is stopped if the application icons needed by the user are found, so that the intelligence of the equipment is obviously greatly improved, the software and hardware resources of the mobile terminal are better utilized, the user operation is simplified, and the user experience is improved.
Further, the compression parameters include compression coordinates; the step S340 may include: and detecting the sliding operation with the pressing coordinates as a sliding starting point to acquire sliding parameters.
In this embodiment, the sliding operation with the important coordinates as the sliding start point is detected, such that the pressing operation and the sliding operation are actually two associated parts of one operation. The pressing operation may be pressing of a slide start position of the slide operation. Obviously, user operation is reduced again, and the intelligence of the mobile terminal and the user using satisfaction are further improved. Thus, only one user operation can be realized, and the switching between any two desktop pages can be realized, so that the operation is obviously simplified, and the switching efficiency is improved.
Further, as shown in fig. 4, the displaying at least one desktop card includes: m desktop cards are displayed in a stacked mode; wherein the mth desktop card at least partially overlays the m +1 th desktop card; wherein M is an integer not greater than M. The display of such a desktop card is designed according to the mind of a person. When a user sees the desktop card displayed in a stacked mode, a sliding impulse can be generated naturally, so that the user can be reminded to slide, the intelligence of the mobile terminal and the effective utilization rate of resources are improved again, and the use satisfaction of the user is improved.
Specifically, there are a plurality of methods for determining whether the pressing parameter satisfies the first preset rule, and three optional methods are provided below.
The first method is as follows:
as shown in fig. 5, the touch screen includes a first area 301 and second areas 302 located at both sides of the first area 301; the step S320 may include: according to the pressing coordinates, whether the pressing operation acts on the second area 302 is judged.
In this embodiment, the touch screen is divided into at least two regions, and only the pressing operation that falls into the designated region and satisfies the first preset rule triggers the display of the desktop card, which is regarded as the switching operation of the desktop page. In this embodiment, the touch screen is divided into two regions, the first region 301 can be regarded as a middle region, and the second region 302 can be regarded as two sides or four sides. In this embodiment, the method further includes determining whether the pressing operation is located in the first area 301 or the second area 302 according to the pressing coordinates, and entering the desktop card display only when the pressing operation is located in the second area 302. In most cases, in order to facilitate the user to view and operate, various touch icons displayed on the touch screen are located at the middle position of the screen as much as possible, and in order to interfere with the sliding operations of other touch icons located at the middle position, the trigger position for switching the desktop page is set in the second area in the present embodiment, so as to reduce the misoperation.
The second method comprises the following steps:
the pressing parameters further comprise pressing duration of the pressing operation; the step S320 may include: and when the pressing time length is greater than a preset time length threshold value, determining that the operating parameter meets the first preset rule. In the embodiment, whether the desktop page switching operation is triggered or not is determined according to the length of the pressing time, so that the desktop page switching method has the advantage of simplicity.
The third method comprises the following steps: the pressing parameters further comprise a pressure value of the pressing operation; the step S320 may include: and when the pressure value is larger than a preset pressure threshold value, determining that the operating parameter meets the first preset rule. In the present embodiment, whether the pressing operation is a pressing operation satisfying a first preset rule is determined according to the pressing strength.
It is worth mentioning that: in the method for switching desktop pages provided by this embodiment, regardless of what content is currently displayed on the touch screen, an application interface of a specific application or a desktop page is displayed, and as long as the pressing operation satisfies a first preset rule, it may be considered to be switching of desktop pages. The switching of the desktop pages simultaneously solves the problem that the desktop pages cannot be switched when the screen displays a specific application interface of one application in the prior art; obviously, the intelligence of the mobile terminal is improved again, and the use satisfaction of the user is improved.
Further, the step S340 may include: detecting the sliding rate of the sliding operation according to a preset time interval; or, detecting the sliding distance of the sliding operation within a preset time interval;
the step S350 may include: determining the switching rate of the desktop card according to the sliding rate or the sliding distance; and switching and displaying the desktop card according to the switching rate.
The preset time interval may be a preset time interval, such as 1/85 seconds. If the duration of one sliding operation is 1 second, the device will detect 85 sliding rates or sliding distances. In the present embodiment, the switching rate of the desktop card is determined according to each corresponding sliding rate or sliding distance. The step S350 may include: and determining the switching rate of the desktop card in the m +1 th preset time interval according to the sliding rate or the sliding distance of the m th preset time interval. Therefore, the switching rate of the desktop card can be adaptively adjusted according to the watching rate of the user, so as to meet the individual requirements of different users. In a specific implementation, the switching rate of the 1 st preset time interval of the desktop card may be an initial rate preset by the device.
Certainly, in a specific implementation process, the switching rate of the desktop card may be a constant rate, which is determined by the device in advance according to the user habit or the big data statistical result, and is not limited to the above method.
In a word, the embodiment provides a method for intelligently switching desktop pages by using equipment, and the method has the characteristics of simplicity in implementation, high equipment intelligence and high user satisfaction.
As shown in fig. 6, an embodiment of the present invention further provides a mobile terminal, including:
a detection unit 410 for detecting a pressing parameter of a pressing operation applied to the touch screen;
a determining unit 420, configured to determine whether the pressing parameter satisfies a first preset rule;
a display unit 430, configured to display at least one desktop card when the pressing parameter meets the first preset rule; wherein one of the desktop cards corresponds to one desktop page; the desktop card and the desktop page are display pages provided with at least one application icon, and the application icons arranged on the corresponding desktop card and the corresponding desktop page are the same; the display area of the desktop card is smaller than that of the desktop page;
the detecting unit 410 is further configured to detect a sliding operation to obtain a sliding parameter;
the display unit 420 is further configured to switch and display the desktop card according to a second preset rule within the action time of the sliding operation; and when the sliding operation is stopped, stopping the switching of the desktop card and entering the display of the currently displayed desktop page corresponding to the desktop card.
The mobile terminal described in this embodiment may be the mobile terminal shown in fig. 1, and may specifically correspond to a device with a touch screen, such as a mobile phone, a tablet computer, or various wearable devices.
The determining unit 420 may correspond to the controller shown in fig. 1, and may also correspond to various processors or processing circuits. The processor herein may include a central processing unit, microprocessor, digital signal processor, or programmable array, or the like. The processing circuitry may comprise an application specific integrated circuit, a structure capable of implementing information determination and processing.
The display unit 430 may also correspond to the display unit in fig. 1, and may correspond to various display screens, such as a liquid crystal display screen, an electronic ink display screen, or an organic light emitting diode OLED display screen.
In a word, the display unit in this embodiment can display the desktop card and the desktop page, and similarly has the characteristics of simple desktop page switching, high intelligence and high user satisfaction.
Further, the compression parameters include compression coordinates; the detecting unit 410 is specifically configured to detect a sliding operation with the pressing coordinates as a sliding starting point, and acquire a sliding parameter. Thus, the pressing operation and the sliding operation are substantially one operation for the user, the user operation is further simplified, and the intelligence of the mobile terminal is improved.
The display unit 430 is specifically configured to display M desktop cards in a stacked manner; wherein the mth desktop card at least partially overlays the m +1 th desktop card; wherein M is an integer not greater than M. In this embodiment, the display unit 420 displays the desktop cards in a stacked manner, prompts the user to input a sliding operation, prompts the user to slide through the stacked display of one desktop card, and does not need to additionally prompt through a text or a dialog box, so that the output of information is obviously reduced, and the intelligence of the electronic device is improved.
The determining unit 420 determines whether the pressing operation satisfies the first preset rule, and in an actual implementation process, the determining unit 420 may be any combination of the following structures.
The structure I is as follows: the touch screen comprises a first area and second areas positioned on two sides of the first area;
the determining unit 420 is specifically configured to determine whether the pressing operation is applied to the second area according to the pressing coordinate.
The structure II is as follows:
the pressing parameters further comprise pressing duration of the pressing operation;
the judging unit is specifically configured to determine that the operation parameter meets the first preset rule when the pressing duration is greater than a preset duration threshold.
The structure is three:
the pressing parameters further comprise a pressure value of the pressing operation;
the judging unit is specifically configured to determine that the operating parameter meets the first preset rule when the pressure value is greater than a preset pressure threshold.
Further, the detecting unit 410 is specifically configured to detect a sliding rate of the sliding operation at preset time intervals; or, detecting the sliding distance of the sliding operation within a preset time interval; the display unit 420 is specifically configured to determine a switching rate of the desktop card according to the sliding rate or the sliding distance; and switching and displaying the desktop card according to the switching rate.
In this way, the display switching of the desktop card is also determined by the sliding operation input by the user, and obviously, the display switching device can better match the current viewing speed of the user, and the intelligence of the device and the use satisfaction of the user are improved again. In a specific implementation, the display unit may switch the display of the desktop card according to a preset constant rate, and is not limited to the structure of the display unit 430.
Several specific examples are provided below in conjunction with any of the embodiments described above:
example one:
the present example provides a desktop page switching method including:
the method comprises the following steps: detecting the pressing operation of the touch screen with the virtual partition, and entering a second step if the pressing operation in the peripheral area exceeds a certain time;
step two: the display desktop cards are stacked to guide the user to slide inward.
Step three: switching the desktop card in response to the sliding;
step four: and detecting the sliding distance sliding in unit time, and controlling the switching display rate of the desktop card according to the sliding distance.
Step five: and when the sliding is detected to be finished, selecting a desktop page corresponding to the desktop card with the largest current display area to enter, and displaying the selected desktop page.
Wherein the virtually grouping may include: registering two input devices when the touch screen is initialized; if the middle region corresponds to the input device input0, the edge region corresponds to the input device input 1. When a touch point is reported, whether the touch point is located in the middle area or the edge area is judged, if the touch point is located in the middle area, the touch point is reported to an application layer or a Framework by an input0, and if the touch point is located in the edge area, the touch point is reported by an input 1. And normally responding to the touch point in the middle area, and executing the response of the example for the report of the edge area. The touch point in this embodiment may be a touch point formed by a pressing operation or a touch point formed by a sliding operation.
The detection of the sliding parameters of the sliding operation is described below.
And when a touch point is pressed down on the touch screen, the position coordinate and the pressing time of the touch point are driven to be reported, and the position coordinate and the pressing time of the touch point are recorded by the Framework or the upper application. And then the touch screen is driven at intervals (such as 1/85 seconds) to report the current position coordinate of the contact, the Framework or the upper application calculates the distance between the current position and the pressed position to judge whether the contact slides, and the X-axis size of the two-point position coordinate is compared to judge the sliding direction.
The method mainly comprises the following steps:
1. a touch point is pressed down on the touch screen, and the Framework or the upper application records the position coordinates (down X, down Y) and the pressing time (down time) of the touch point;
2. reporting current position coordinates (currentX, currentY) of a touch point by the touch screen at intervals (such as 1/85 seconds);
3. and judging whether the current coordinate position changes within a preset time interval.
4. Judging that the internal sliding stops when the position changes within a preset time interval; and if the position changes within a preset time interval, starting to calculate the distance between the current position and the pressed position of the contact, and if the distance is greater than a certain threshold value, determining that the contact slides. There are two methods for calculating the distance:
4.2 distance | currntX-downX |
5. And according to the desktop cards, transversely dividing the screen area by the number of the desktop cards, corresponding to the desktop cards, and rolling the desktop cards according to the sliding distance.
6. And (4) the user loosens his hand and stops sliding to select the desktop card corresponding to the current x axis.
Example two:
scene 1: after unlocking, the desktop starts a social application, such as WeChat, after the chat is finished, the user wants to open a new game which is just downloaded yesterday, the desktop card is directly rolled by using a sliding gesture in an edge area of the current chat interface, and after a fifth desktop page of the game icon is quickly retrieved, the user loosens the hand to enter the fifth desktop page. The slide start point of the slide gesture here corresponds to the aforementioned pressing operation.
FIG. 7 is a schematic diagram illustrating a desktop page switching performed by the method according to this embodiment; detecting that a user presses a finger in an edge area, stacking and displaying the desktop cards, and switching the display of the desktop cards by sliding the finger; the desktop card displayed on the uppermost layer is detected to stop sliding from the desktop card a to the desktop card b, and the desktop card is switched to stop; into the display of desktop page b. The desktop page b is the desktop page corresponding to the desktop card b. As can also be seen from fig. 7, the display area of the desktop card b is slightly smaller than the desktop page b.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.