Method, apparatus, and computer-readable storage medium for operating screenTechnical Field
The present invention relates to the field of display of mobile terminals, and in particular, to a method and apparatus for operating a screen, and a computer-readable storage medium.
Background
With the rapid progress of the information-based industry, intelligent terminals, especially smart phones, have become indispensable electronic devices in people's lives; in recent years, the development of smart phones is rapidly advancing, and the appearance of touch screen phones provides a new experience of full-screen touch for users, so that the touch screen phones become the most popular smart phones at present.
At present, the screen of a touch screen mobile phone is made larger and larger, and a large-screen mobile phone appears, so that better visual effect and interactive experience are brought to a user; however, when the screen of the mobile phone exceeds a certain size, it becomes more and more difficult for the user to hold the mobile phone with one hand and perform point touch operation on all areas of the screen of the mobile phone; therefore, the single-hand operation function cannot be realized, and the single-hand operability is poor.
Disclosure of Invention
In view of this, embodiments of the present invention are expected to provide a method, a device, and a computer-readable storage medium for operating a screen, so as to implement a single-hand operation function of a large-screen mobile terminal and improve single-hand controllability.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
the invention provides a method for operating a screen, which comprises the following steps:
when a first operation is acquired, displaying a first screen area suspension frame in a suspension manner on a first screen area, wherein the first screen area suspension frame comprises the content of the first screen area, the first screen area is a 1/N screen area on one side of a receiver, and N is an integer greater than or equal to 2;
moving the first screen area suspension frame to a second screen area direction according to a preset moving rule, wherein the second screen area is the rest (N-1)/N screen areas except the first screen area in the screen;
when a second operation is obtained, fixing the first screen region suspension frame at the current position on the screen to obtain the fixed first screen region suspension frame;
and acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame.
In the foregoing solution, after the operation of obtaining the content of the first screen region in the fixed first screen region suspension frame, the method further includes:
and when the operation on the content of the first screen area is not acquired in the fixed first screen area suspension frame within a first preset time period, eliminating the first screen area suspension frame and presenting the current content in the screen.
In the foregoing solution, the moving the first screen region floating frame to the second screen region direction according to the preset moving rule includes:
moving the first screen region suspension frame towards the second screen region direction according to the corresponding relation between an included angle and a moving distance, wherein the included angle is the included angle between the Z axis of the gravity sensor and the XY plane of the screen;
or, moving the first screen region suspension frame towards the second screen region direction according to the acquired continuous sliding operation of the back input device;
or moving the first screen area suspension frame towards the second screen area according to the acquired click operation or sliding operation in a preset moving operation area, wherein the preset moving operation area is located in the second screen area.
In the above solution, according to the corresponding relationship between the included angle and the movement distance, moving the first screen region suspension frame in the second screen region direction includes:
establishing a three-dimensional coordinate system on a screen plane by taking the side where the receiver is positioned as an X axis, taking the side vertical to the X axis as a Y axis and taking the direction vertical to the screen plane as a Z axis;
dividing an included angle between the Z axis of the gravity sensor and the XY plane of the screen into M included angle ranges; m is an integer greater than or equal to 1;
setting respective corresponding moving distances of the M included angle ranges;
acquiring an included angle between the current Z axis of the gravity sensor and the XY plane of the screen to obtain a current included angle;
and moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area by the movement distance corresponding to the current included angle.
In the foregoing solution, the moving the first screen region suspension frame toward the second screen region according to the obtained continuous sliding operation on the back input device includes:
acquiring that the first screen area suspension frame continuously moves from the current position of the first screen area suspension frame to the direction of the second screen area when the back input device is continuously slid;
the moving the first screen region suspension frame to the second screen region direction according to the acquired click operation in a preset moving operation region includes:
moving the first screen area suspension frame from the current position of the first screen area suspension frame to the second screen area direction by a preset distance each time a click operation in the preset mobile operation area is obtained;
the moving the first screen region suspension frame to the second screen region direction according to the acquired sliding operation in a preset moving operation region includes:
and when the sliding operation in the preset mobile operation area is acquired, continuously moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area.
In the above scheme, the first operation is a double-click operation on the back input device within a second preset time period;
the second operation is three consecutive click operations of the back input device within a third preset time period.
The invention provides equipment for operating a screen, which comprises an interface, a processor, a memory and a communication bus, wherein the processor is used for processing the interface;
the interface is used for receiving an operation instruction;
the communication bus is used for realizing connection communication among the interface, the processor and the memory;
the processor is used for executing the program of the operation screen stored in the memory so as to realize the following steps:
when a first operation is acquired, displaying a first screen area suspension frame in a suspension manner on a first screen area, wherein the first screen area suspension frame comprises the content of the first screen area, the first screen area is a 1/N screen area on one side of a receiver, and N is an integer greater than or equal to 2;
moving the first screen area suspension frame to a second screen area direction according to a preset moving rule, wherein the second screen area is the rest (N-1)/N screen areas except the first screen area in the screen;
when a second operation is obtained, fixing the first screen region suspension frame at the current position on the screen to obtain the fixed first screen region suspension frame;
and acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame.
In the foregoing solution, the processor is configured to execute a program of an operation screen stored in the memory, so as to implement the following steps:
moving the first screen region suspension frame towards the second screen region direction according to the corresponding relation between an included angle and a moving distance, wherein the included angle is the included angle between the Z axis of the gravity sensor and the XY plane of the screen;
or, the processor is configured to execute the program of the operation screen stored in the memory, so as to implement the following steps:
moving the first screen area suspension frame towards the second screen area direction according to the obtained continuous sliding operation of the back input device;
or, the processor is configured to execute the program of the operation screen stored in the memory, so as to implement the following steps:
and moving the first screen area suspension frame towards the second screen area according to the acquired click operation or sliding operation in a preset moving operation area, wherein the preset moving operation area is positioned in the second screen area.
In the foregoing solution, the processor is further configured to execute a program of an operation screen stored in the memory, so as to specifically implement the following steps:
establishing a three-dimensional coordinate system on a screen plane by taking the side where the receiver is positioned as an X axis, taking the side vertical to the X axis as a Y axis and taking the direction vertical to the screen plane as a Z axis;
dividing an included angle between the Z axis of the gravity sensor and the XY plane of the screen into M included angle ranges; m is an integer greater than or equal to 1;
setting respective corresponding moving distances of the M included angle ranges;
acquiring an included angle between the current Z axis of the gravity sensor and the XY plane of the screen to obtain a current included angle;
moving the first screen area suspension frame from the current position of the first screen area suspension frame to the second screen area direction by a moving distance corresponding to the current included angle;
the processor is further configured to execute the program of the operation screen stored in the memory, so as to implement the following steps:
acquiring that the first screen area suspension frame continuously moves from the current position of the first screen area suspension frame to the direction of the second screen area when the back input device is continuously slid;
the processor is further configured to execute the program of the operation screen stored in the memory, so as to implement the following steps:
moving the first screen area suspension frame from the current position of the first screen area suspension frame to the second screen area direction by a preset distance each time a click operation in the preset mobile operation area is obtained;
the processor is further configured to execute the program of the operation screen stored in the memory, so as to implement the following steps:
and when the sliding operation in the preset mobile operation area is acquired, continuously moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area.
The present invention provides a computer readable storage medium having stored thereon one or more programs, which are executable by one or more processors, to perform the steps of the method as described above.
According to the method, the device and the computer-readable storage medium for operating the screen, provided by the embodiment of the invention, when the first operation is obtained, the first screen area suspension frame is displayed in a suspension manner on the first screen area, wherein the first screen area suspension frame comprises the content of the first screen area, the first screen area is a 1/N screen area on one side of a receiver, and N is an integer greater than or equal to 2; then, moving the first screen area suspension frame to a second screen area direction according to a preset moving rule, wherein the second screen area is the rest (N-1)/N screen areas except the first screen area in the screen; the first screen area can be moved to be within the range of the second screen area; when the second operation is obtained, fixing the first screen area suspension frame at the current position on the screen to obtain the fixed first screen area suspension frame; then, acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame; when the first screen area is the inaccessible screen area and the second screen area is the accessible screen area, the inaccessible first screen area can be moved into the accessible second screen area, and the content of the inaccessible first screen area is operated by operating the fixed first screen area suspension frame, so that the single-hand operation function of the large-screen mobile terminal is realized, and the single-hand operability is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a flowchart of a first method for operating a screen according to the present invention;
FIG. 4 is a diagram illustrating operation of a back fingerprint identifier in an embodiment of a method for operating a screen in accordance with the present invention;
FIG. 5 is a flowchart of a second embodiment of a method for operating a screen according to the present invention;
FIG. 6 is a diagram of an operation screen in a second embodiment of a method for operating a screen according to the present invention;
FIG. 7 is a flowchart of a third embodiment of a method for operating a screen;
FIG. 8 is a diagram of an operation screen in a third embodiment of a method for operating a screen according to the present invention;
FIG. 9 is a flowchart of a fourth embodiment of a method for operating a screen;
FIG. 10 is a diagram of an operation screen in a fourth embodiment of a method for operating a screen according to the present invention;
FIG. 11 is a schematic diagram of an embodiment of an apparatus for operating a screen according to the present invention;
FIG. 12 is a schematic diagram of an embodiment of an apparatus for operating a screen according to the present invention.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
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 itself. Thus, "module", "component" or "unit" may be used mixedly.
The 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 tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, where themobile terminal 100 may include: RF (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,memory 109,processor 110, andpower supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
theradio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to theprocessor 110; in addition, the uplink data is transmitted to the base station. Typically,radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, theradio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex-Long Term Evolution), and TDD-LTE (Time Division duplex-Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through theWiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows theWiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
Theaudio output unit 103 may convert audio data received by theradio frequency unit 101 or theWiFi module 102 or stored in thememory 109 into an audio signal and output as sound when themobile 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, theaudio output unit 103 may also 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.). Theaudio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and amicrophone 1042, theGraphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on thedisplay unit 106. The image frames processed by thegraphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via theradio frequency unit 101 or theWiFi module 102. Themicrophone 1042 may receive sounds (audio data) via themicrophone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing 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 theradio frequency unit 101 in case of a phone call mode. Themicrophone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
Themobile terminal 100 also includes at least onesensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of thedisplay panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off thedisplay panel 1061 and/or a backlight when themobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Thedisplay unit 106 is used to display information input by a user or information provided to the user. TheDisplay unit 106 may include aDisplay panel 1061, and theDisplay panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
Theuser input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, theuser input unit 107 may include atouch panel 1071 andother input devices 1072. Thetouch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near thetouch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. Thetouch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to theprocessor 110, and can receive and execute commands sent by theprocessor 110. In addition, thetouch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to thetouch panel 1071, theuser input unit 107 may includeother input devices 1072. In particular,other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, thetouch panel 1071 may cover thedisplay panel 1061, and when thetouch panel 1071 detects a touch operation thereon or nearby, thetouch panel 1071 transmits the touch operation to theprocessor 110 to determine the type of the touch event, and then theprocessor 110 provides a corresponding visual output on thedisplay panel 1061 according to the type of the touch event. Although thetouch panel 1071 and thedisplay panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, thetouch panel 1071 and thedisplay panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
Theinterface unit 108 serves as an interface through which at least one external device is connected to themobile 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 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. Theinterface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within themobile terminal 100 or may be used to transmit data between themobile terminal 100 and external devices.
Thememory 109 may be used to store software programs as well as various data. Thememory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, thememory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Theprocessor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in thememory 109 and calling data stored in thememory 109, thereby performing overall monitoring of the mobile terminal.Processor 110 may include one or more processing units; preferably, theprocessor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into theprocessor 110.
Themobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, thepower supply 111 may be logically connected to theprocessor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, themobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and anIP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 andother eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to theEPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032,other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and charging functions Entity) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
TheIP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
Example one
FIG. 3 is a flowchart of a first method for operating a screen according to the present invention; as shown in fig. 3, the method for operating a screen according to the embodiment of the present invention can be applied to a terminal (hereinafter referred to as a terminal) for operating a screen; the terminal described in the embodiments of 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 PAD computer (PAD), a Portable Multimedia Player (PMP), a navigation device, and the like.
If the terminal has an operating system, the operating system may be UNIX, Linux, Windows, Mac OS X, Android (Android), Windows Phone, or the like.
Application software (APP) is a third-party Application program of the intelligent terminal, and a user can work, entertain, acquire information and the like through various Application software, and the formats of the APP include ipa, pxl, deb, apk and the like.
The method may comprise the steps of:
step 301: when a first operation is acquired, a first screen area suspension frame is displayed in a suspension mode on a first screen area, the first screen area suspension frame comprises the content of the first screen area, the first screen area is a 1/N screen area on one side of a receiver, and N is an integer greater than or equal to 2.
The screen of the terminal can be divided into N screen areas along the longitudinal edges of the screen, wherein the longitudinal edges are edges perpendicular to the edge where the receiver of the terminal is located; taking 1 screen area from the side where the receiver of the terminal is located as a first screen area, namely taking 1/N screen area from the side where the receiver of the terminal is located as the first screen area, wherein N is an integer greater than or equal to 2; the first screen area is an area which cannot be touched when a user holds the terminal with one hand and operates the terminal screen.
When the terminal acquires a first operation, a first screen area suspension frame is displayed in a suspension mode on a first screen area, namely the first screen area suspension frame is displayed in a suspension mode on a 1/N screen area on one side of a receiver of the terminal, and the first screen area suspension frame comprises the content of the first screen area; the first operation is a screen area reselection operation, and may be a double-click operation on the back input device within a second preset time period, for example, a double-click operation on the back input device, such as a back fingerprint identifier, within 1 s.
For example, the screen of the terminal may be divided into 2 screen areas along the longitudinal edge of the screen, and the screen area on the side where the receiver of the terminal is located is used as the first screen area; when the terminal acquires double-click operation on a back input device such as a back fingerprint identifier within 1s, a first screen area suspension frame is displayed on a first screen area in a suspension mode, and the first screen area suspension frame contains the content of the first screen area.
Step 302: and moving the first screen area suspension frame to a second screen area direction according to a preset moving rule, wherein the second screen area is the residual (N-1)/N screen areas except the first screen area in the screen.
After the terminal displays the first screen area suspension frame in a suspension manner on the first screen area, the first screen area suspension frame can be moved from the current position to a second screen area direction according to a preset movement rule, wherein the second screen area is the residual (N-1)/N screen areas except the first screen area in the screen; the second screen area is a screen area which can be touched when a user holds the terminal with one hand and operates the terminal screen.
In practical application, the first screen area suspension frame can be moved towards the second screen area direction according to the corresponding relation between the included angle and the moving distance, wherein the included angle is the included angle between the Z axis of the gravity sensor of the terminal and the XY plane of the terminal screen; specifically, a three-dimensional coordinate system can be established on a screen plane of the terminal by taking an edge where a receiver of the terminal is located as an X axis, an edge perpendicular to the X axis as a Y axis and a direction perpendicular to the screen plane of the terminal as a Z axis; after the three-dimensional coordinate system is established, an included angle between a Z axis of a gravity sensor of the terminal and an XY plane of a terminal screen can be divided into M included angle ranges, wherein M is an integer greater than or equal to 1, for example, an included angle between the Z axis of the gravity sensor and the XY plane of the terminal screen can be divided into 3 included angle ranges; meanwhile, setting respective corresponding moving distances for the M included angle ranges; when the terminal acquires the included angle between the Z axis of the current gravity sensor and the XY plane of the screen, namely the current included angle, the first screen region suspension frame is moved to the second screen region direction from the current position of the first screen region suspension frame by the moving distance corresponding to the current included angle according to the corresponding relation between the set M included angle ranges and the moving distance.
For example, the angle between the Z-axis of the gravity sensor and the XY-plane of the terminal screen can be divided into 3 angle ranges: 0 degree < alpha > 1, a1< alpha > a2, a2< alpha > 90 degrees; meanwhile, corresponding moving distances are set for the 3 included angle ranges, and the corresponding relationship can be shown in table 1, where α represents an included angle between the Z axis of the gravity sensor and the XY plane of the terminal screen:
TABLE 1
| Range of included angle | Distance of movement |
| 0°<α≤a1 | S1 |
| a1<α≤a2 | S2 |
| a2<α≤90° | S3 |
As shown in table 1, when the included angle between the Z-axis of the gravity sensor and the XY-plane of the terminal screen is 0 ° < α ≦ a1, the corresponding moving distance is S1; when the included angle range is a1< alpha is not more than a2, the corresponding moving distance is S1; when the included angle range is a2< alpha is less than or equal to 90 degrees, the corresponding moving distance is S3.
The terminal obtains that the included angle between the Z axis of the current gravity sensor and the XY plane of the screen is beta, and if the beta belongs to the included angle range of 0 degrees < alpha ≦ a1, the terminal moves the first screen region suspension frame from the current position of the first screen region suspension frame to the second screen region direction by a distance S1.
In practical application, the terminal can also move the first screen area suspension frame towards the second screen area according to the obtained continuous sliding operation on the back input device; specifically, when the terminal acquires a continuous sliding operation of a back input device, such as a back fingerprint recognizer, the terminal continuously moves the first screen region suspension frame from the current position of the first screen region suspension frame to the direction of the second screen region.
In practical application, the terminal may also move the first screen region suspension frame towards the second screen region according to the obtained click operation or sliding operation in the preset moving operation region, where the preset moving operation region is located in the second screen region; specifically, each time the terminal obtains a click operation in the preset mobile operation area, the first screen area suspension frame is moved a preset distance, for example, 2 grid distances, from the current position of the first screen area suspension frame to the second screen area direction; or, the terminal may also obtain that the first screen region suspension frame is continuously moved from the current position of the first screen region suspension frame to the second screen region direction when the sliding operation in the preset moving operation region is performed.
Step 303: and when the second operation is acquired, fixing the first screen region suspension frame at the current position on the screen to obtain the fixed first screen region suspension frame.
After the terminal moves the first screen area suspension frame towards the second screen area direction according to the preset movement rule, when a second operation is obtained, the first screen area suspension frame is fixed at the current position on the terminal screen, and the fixed first screen area suspension frame is obtained on the screen; the second operation is a locking operation, and may be three consecutive click operations on the back input device within a third preset time period, for example, three consecutive click operations on the back fingerprint identifier within 2 s.
Step 304: and acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame.
The terminal is fixing the current position of the first screen area suspension frame on the screen, and after the fixed first screen area suspension frame is obtained, the operation on the content of the first screen area is obtained in the fixed first screen area suspension frame, namely, the terminal can move the content of the first screen area which can not be touched by the user to the range of the second screen area which can be touched by the user, so that the user can realize the operation on the area which can not be touched in the screen when holding the terminal by one hand and operating the screen of the terminal.
After the terminal obtains the operation on the content of the first screen region in the fixed first screen region suspension frame, if the operation on the content of the first screen region is not obtained in the fixed first screen region suspension frame within a first preset time period, for example, within 5s, the first screen region suspension frame will be eliminated and the current content in the screen will be presented, that is, the screen will be restored to a normal screen state.
According to the method for operating the screen, provided by the embodiment of the invention, when a first operation is obtained, a first screen area suspension frame is displayed in a suspension manner on a first screen area, wherein the first screen area suspension frame comprises the content of the first screen area, the first screen area is a 1/N screen area on one side of a receiver, and N is an integer greater than or equal to 2; then, moving the first screen area suspension frame to a second screen area direction according to a preset moving rule, wherein the second screen area is the rest (N-1)/N screen areas except the first screen area in the screen; the first screen area can be moved to be within the range of the second screen area; when the second operation is obtained, fixing the first screen area suspension frame at the current position on the screen to obtain the fixed first screen area suspension frame; then, acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame; when the first screen area is the inaccessible screen area and the second screen area is the accessible screen area, the inaccessible first screen area can be moved into the accessible second screen area range, and the content of the first screen area is operated through the operation of the fixed first screen area suspension frame, so that the single-hand operation function of the large-screen mobile terminal is realized, and the single-hand operability is improved.
In order to more clearly embody the object of the present invention, further illustration is made on the basis of the above-mentioned embodiments.
In the following embodiments, the method for operating a screen according to the present invention is described by taking an example that a user holds a large-screen mobile phone with one hand and operates all areas of the screen of the large-screen mobile phone, and for convenience of description, the large-screen mobile phone is simply referred to as a mobile phone.
FIG. 4 is a diagram illustrating operation of a back fingerprint identifier in an embodiment of a method for operating a screen in accordance with the present invention; as shown in fig. 4, when a user holds the mobile phone with one hand, the user can touch the back fingerprint identifier of the mobile phone with the index finger or other fingers, and the user can perform operations such as touch, click, slide and the like on the back fingerprint identifier; the operations of the back fingerprint recognizer described in the following embodiments are described by way of example, and are not intended to limit the present invention.
Example two
FIG. 5 is a flowchart of a second embodiment of a method for operating a screen according to the present invention; as shown in fig. 5, a method for operating a screen according to an embodiment of the present invention may include the following steps:
step 501: and when the double-click operation on the back fingerprint identifier is acquired, displaying a first screen area suspension frame in a suspension manner on the first screen area.
FIG. 6 is a diagram of an operation screen in a second embodiment of a method for operating a screen according to the present invention; as shown in fig. 6, the screen of the mobile phone is divided into 2 areas, the upper half of the screen area is a screen area that is not reachable by the user and is defined as a first screen area, and the lower half of the screen area is a screen area that is reachable by the user and is defined as a second screen area; when a user holds the mobile phone with one hand and needs to operate the first screen area of the mobile phone, the user can perform double-click operation on the fingerprint identifier on the back of the mobile phone within a second preset time period, such as 2s, at this time, the mobile phone can display a first screen area suspension frame in a suspension manner on the first screen area, that is, the content of the first screen area is highlighted on the mobile phone screen; it should be noted that the size of the first screen region floating frame shown in fig. 6 is only for convenience of description and is not intended to limit the present invention, and in practical applications, the size may be the same as the size of the first screen region.
Step 502: and acquiring an included angle between the Z axis of the current gravity sensor and the XY plane of the mobile phone screen to obtain the current included angle.
As shown in fig. 6, a three-dimensional coordinate system of the gravity sensor is established with the transverse edge of the mobile phone screen as an X axis, the longitudinal edge of the mobile phone screen as a Y axis, and the direction perpendicular to the mobile phone screen as a Z axis; the included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen is divided into 3 included angle ranges, the moving distances corresponding to the 3 included angle ranges are set, the relationship between the 3 included angle ranges and the moving distances corresponding to the 3 included angle ranges can be represented by table 2, wherein alpha is the included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen.
TABLE 2
| Range of included angle | Distance of movement |
| 0°<α≤30° | 1 grid of uterus |
| 30°<α≤60° | 2 palace grids |
| 60°<α≤90° | 3 palace grids |
As shown in table 2, when the included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen is between 0 ° and 30 °, the corresponding movement distance is 1 grid; when the included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen is between 30 degrees and 60 degrees, the corresponding moving distance is 2 grids; when the included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen is between 60 degrees and 90 degrees, the corresponding moving distance is 3 grids; the grid can be a grid formed by dividing a mobile phone screen into 8 x 16 screen areas, wherein each screen area represents one grid; the division of the 8 × 16 screen regions is merely an example and is not intended to limit the present invention.
It should be noted that the division of the included angle range and the corresponding relationship between the included angle range and the moving distance are only examples, and are not intended to limit the present invention, and may be determined according to specific situations in practical applications.
After the mobile phone displays the first screen area suspension frame in a suspension manner on the first screen area, a user can move the first screen area suspension frame by tilting the mobile phone according to the rotation direction shown in fig. 6, and the mobile phone can move the first screen area suspension frame according to an included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen; if the user inclines the mobile phone by an angle, at this time, the mobile phone obtains the included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen at this time, and obtains the current included angle.
In order to effectively control the movement of the first screen region floating frame, a time period, for example, 500ms, may be set, and it is considered as an effective operation when the time period during which the mobile phone maintains the current tilt state exceeds the time period.
Step 503: and moving the first screen area suspension frame from the current position of the first screen area suspension frame to the second screen area direction by a movement distance corresponding to the current included angle.
If the mobile phone obtains that the included angle between the Z axis of the current gravity sensor and the XY plane of the mobile phone screen is 45 degrees, the current included angle is 45 degrees, and the mobile phone can determine that the moving distance of the first screen area suspension frame is 2 grids according to the corresponding relation between the included angle range and the moving distance shown in the table 2; at this time, the mobile phone will move the first screen region suspension frame from the current position of the first screen region suspension frame to the second screen region direction, i.e., downward by a distance of 2 grids.
When a user inclines the mobile phone, if the included angle between the Z axis of the gravity sensor and the XY plane of the mobile phone screen exceeds 90 degrees, the mobile phone is considered to be abnormal operation, and the first screen area suspension frame cannot move.
Step 504: and when the locking operation is acquired, fixing the first screen region suspension frame at the current position of the mobile phone screen to obtain the fixed first screen region suspension frame.
When a user moves the first screen area suspension frame to the designated position of the mobile phone screen by tilting the mobile phone, the first screen area suspension frame can be fixed at the designated position of the mobile phone screen through locking operation, and the fixed first screen area suspension frame is obtained.
As shown in fig. 6, the user moves the first screen area suspension frame to the position of the dashed line frame by tilting the mobile phone, and the thumb of the user can touch the position, at this time, the user can fix the first screen area suspension frame at the position of the dashed line frame by locking operation, so as to obtain the fixed first screen area suspension frame; the locking operation can be three continuous clicking operations to the mobile phone back fingerprint recognizer in a third preset time period, such as 3 s; at this time, the first screen area floating frame is fixed in the screen area accessible to the user.
Step 505: and acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame.
As shown in fig. 6, the mobile phone fixes the first screen region suspension frame at the position of the dashed line frame, and after the fixed first screen region suspension frame is obtained, the user can operate the content of the first screen region in the fixed first screen region suspension frame, that is, the user can operate the content of the first screen region which is not reachable in the reachable second screen region range, so that the function of operating all regions of the screen by one hand is realized, and the one-hand operability of the large-screen mobile phone is improved.
Step 506: and when the operation on the content of the first screen area is not acquired in the fixed first screen area suspension frame within the first preset time period, eliminating the first screen area suspension frame and presenting the current content in the mobile phone screen.
As shown in fig. 6, after completing the operation on the content of the first screen region in the fixed first screen region suspension frame, in a first preset time period, for example, in 5s, when the mobile phone does not acquire the operation on the content of the first screen region in the fixed first screen region suspension frame any more, the user will eliminate the first screen region suspension frame, and present the current content in the mobile phone screen, that is, the mobile phone screen is restored to the normal screen state.
According to the method for operating the screen, provided by the embodiment of the invention, when the reselection operation of the screen area is acquired through the mobile phone, the first screen area suspension frame is displayed in a suspension manner on the first screen area; the content of the first screen area is highlighted on the mobile phone screen in a form of a suspension frame, so that the reselection of the first screen area is realized; at the moment, the mobile phone can obtain the included angle between the Z axis of the current gravity sensor and the XY plane of the mobile phone screen to obtain the current included angle; then moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area by a moving distance corresponding to the current included angle; the user can move the first screen area suspension frame by tilting the mobile phone; when the mobile phone obtains the locking operation, the first screen area suspension frame is fixed at the current position of the mobile phone screen, and the fixed first screen area suspension frame is obtained; at this time, the mobile phone can acquire the operation on the content of the first screen area in the fixed first screen area suspension frame, so that the user can operate the content of the inaccessible screen area in the accessible screen area range; when the mobile phone does not acquire the operation on the content of the first screen area in the fixed first screen area suspension frame within the first preset time period, eliminating the first screen area suspension frame and presenting the current content in the mobile phone screen, namely, restoring the mobile phone screen to a normal screen state; the single-hand operation function of the large-screen mobile phone is realized, and the single-hand operability is improved.
EXAMPLE III
FIG. 7 is a flowchart of a third embodiment of a method for operating a screen; as shown in fig. 7, a method for operating a screen according to an embodiment of the present invention may include the following steps:
step 701: and when the double-click operation on the back fingerprint identifier is acquired, displaying a first screen area suspension frame in a suspension manner on the first screen area.
FIG. 8 is a diagram of an operation screen in a third embodiment of a method for operating a screen according to the present invention; as shown in fig. 8, the screen of the mobile phone is divided into 2 areas, the upper half of the screen area is a screen area that is not reachable by the user and is defined as a first screen area, and the lower half of the screen area is a screen area that is reachable by the user and is defined as a second screen area; when a user holds the mobile phone with one hand and needs to operate the first screen area of the mobile phone, the user can make the content of the first screen area be highlighted on the first screen area in a form of a suspension frame by double-clicking the back fingerprint identifier of the mobile phone shown in fig. 4, that is, the mobile phone displays the first screen area suspension frame in a suspension manner on the first screen area; it should be noted that the size of the first screen region floating frame shown in fig. 8 is only for convenience of description and is not intended to limit the present invention, and in practical applications, the size of the first screen region floating frame may be the same as that of the first screen region.
Step 702: when the continuous sliding operation of the back fingerprint identifier is acquired, the first screen area suspension frame is continuously moved from the current position of the first screen area suspension frame to the direction of the second screen area.
As shown in fig. 8, after the mobile phone displays the first screen area floating frame in a floating manner on the first screen area, the user may perform a continuous sliding operation on the back fingerprint identifier of the mobile phone, at this time, the first screen area floating frame may continuously move along the arrow direction, that is, the first screen area floating frame may continuously move from the current position to the second screen area direction.
Step 703: and when the locking operation is acquired, fixing the first screen region suspension frame at the current position of the mobile phone screen to obtain the fixed first screen region suspension frame.
As shown in fig. 8, the user moves the first screen area suspension frame by performing continuous sliding operation on the back fingerprint identifier of the mobile phone, and when the user moves to a position that can be reached by the user, such as the position of the dashed line frame shown in fig. 8, the user can perform locking operation, and at this time, the mobile phone fixes the first screen area suspension frame at the position of the dashed line frame to obtain the fixed first screen area suspension frame; the locking operation may be three consecutive clicks of the mobile phone back fingerprint identifier within a third preset time period, such as 2 s.
Step 704: and acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame.
As shown in fig. 8, the mobile phone fixes the first screen area suspension frame at the position of the dashed line frame, after the fixed first screen area suspension frame is obtained, the user can operate the content of the first screen area in the fixed first screen area suspension frame, and thus, the user can operate the content of the first screen area which is not reachable in the reachable screen area range, thereby realizing the function of operating all areas of the screen by one hand, and improving the one-hand operability of the large-screen mobile phone.
Step 705: and when the operation on the content of the first screen area is not acquired in the fixed first screen area suspension frame within the first preset time period, eliminating the first screen area suspension frame and presenting the current content in the mobile phone screen.
As shown in fig. 8, after the user completes the operation on the content of the first screen region in the fixed first screen region suspension frame, in a first preset time period, for example, 5s, when the mobile phone does not acquire the operation on the content of the first screen region in the fixed first screen region suspension frame any more, the fixed first screen region suspension frame is eliminated, and the current content in the mobile phone screen is presented, that is, the mobile phone screen is restored to the normal screen state.
According to the method for operating the screen, provided by the embodiment of the invention, when the double-click operation on the back fingerprint identifier is acquired through the mobile phone, the first screen area suspension frame is displayed on the first screen area in a suspension manner, so that the content of the first screen area can be highlighted on the mobile phone screen in the form of the suspension frame; when the mobile phone obtains continuous sliding operation of the back fingerprint identifier, the first screen area suspension frame can be continuously moved from the current position of the first screen area suspension frame to the direction of the second screen area; the user can move the first screen area suspension frame through the back fingerprint recognizer of the mobile phone; when the mobile phone obtains the locking operation, the first screen area suspension frame is fixed at the current position of the mobile phone screen, and the fixed first screen area suspension frame is obtained; at this time, the mobile phone can acquire the operation on the content of the first screen area in the fixed first screen area suspension frame, so that the user can operate the content of the inaccessible screen area in the accessible screen area range; when the mobile phone does not acquire the operation on the content of the first screen area in the fixed first screen area suspension frame within the first preset time period, eliminating the first screen area suspension frame and presenting the current content in the mobile phone screen, namely, restoring the mobile phone screen to a normal screen state; the single-hand operation function of the large-screen mobile phone is realized, and the single-hand operability is improved.
Example four
FIG. 9 is a flowchart of a fourth embodiment of a method for operating a screen; as shown in fig. 9, a method for operating a screen according to an embodiment of the present invention may include the following steps:
step 901: and when the double-click operation on the back fingerprint identifier is acquired, displaying a first screen area suspension frame in a suspension manner on the first screen area.
FIG. 10 is a diagram of an operation screen in a fourth embodiment of a method for operating a screen according to the present invention; as shown in fig. 10, the screen of the mobile phone is divided into 2 areas, the upper half of the screen area is a screen area that is not reachable by the user and is defined as a first screen area, and the lower half of the screen area is a screen area that is reachable by the user and is defined as a second screen area; when a user holds the mobile phone with one hand and needs to operate the first screen area of the mobile phone, the user can make the content of the first screen area be highlighted on the first screen area in the form of a suspension frame by double-clicking the back fingerprint identifier shown in fig. 4, namely obtaining the suspension frame of the first screen area; it should be noted that the size of the first screen region floating frame shown in fig. 10 is only for convenience of description and is not intended to limit the present invention, and in practical applications, the size may be the same as the size of the first screen region.
Step 902: and when the click operation in the preset mobile operation area is obtained, the first screen area suspension frame is moved towards the direction of the second screen area.
As shown in fig. 10, after the mobile phone displays the first screen area suspension frame in a suspension manner on the first screen area, the user may click on a preset moving operation area in the second screen area, and each time the user clicks on the preset moving operation area, the first screen area suspension frame moves a preset distance from the current position along the arrow direction, that is, moves a preset distance towards the second screen area; for example, each click in the preset moving operation area moves the first screen area floating frame by a distance of 1 grid towards the second screen area.
In practical application, a user may also perform a sliding operation in a preset moving operation area, when the mobile phone obtains the sliding operation, the first screen region suspension frame may be continuously moved along the arrow direction shown in fig. 10, and when the user stops sliding, the first screen region suspension frame also stops moving.
The execution process ofstep 903 to step 905 is the same as that ofstep 703 to step 705 in the third embodiment, and is not described herein again.
According to the method for operating the screen, provided by the embodiment of the invention, when the double-click operation on the back fingerprint identifier is acquired through the mobile phone, the first screen area suspension frame is displayed on the first screen area in a suspension manner; the content of the first screen area can be highlighted on the mobile phone screen in a form of a suspension frame; when the mobile phone acquires the click operation in the preset mobile operation area, the first screen area suspension frame can be moved towards the direction of the second screen area; the method can enable a user to carry out moving operation on the first screen area suspension frame through a preset moving operation area in a second screen area on a mobile phone screen; when the mobile phone obtains the locking operation, the first screen area suspension frame is fixed at the current position of the mobile phone screen, and the fixed first screen area suspension frame is obtained; at this time, the mobile phone can acquire the operation on the content of the first screen area in the fixed first screen area suspension frame, so that the user can operate the content of the inaccessible screen area in the accessible screen area range; when the mobile phone does not acquire the operation on the content of the first screen area in the fixed first screen area suspension frame within the first preset time period, eliminating the first screen area suspension frame and presenting the current content in the mobile phone screen, namely, restoring the mobile phone screen to a normal screen state; the single-hand operation function of the large-screen mobile phone is realized, and the single-hand operability is improved.
EXAMPLE five
FIG. 11 is a schematic diagram of an embodiment of an apparatus for operating a screen according to the present invention; as shown in fig. 11, theapparatus 011 for operating a screen according to an embodiment of the present invention includes: the method comprises the following steps of (1) suspending adisplay module 0111, moving amodule 0112, fixing amodule 0113 and obtaining amodule 0114; wherein,
the floatingdisplay module 0111, configured to, when a first operation is obtained, display a first screen region floating frame in a floating manner on a first screen region, where the first screen region floating frame includes content of the first screen region, the first screen region is a 1/N screen region on a side where a receiver is located, and N is an integer greater than or equal to 2;
the movingmodule 0112 is configured to move the first screen region suspension frame toward a second screen region according to a preset moving rule, where the second screen region is a remaining (N-1)/N screen regions in the screen except the first screen region;
thefixing module 0113, configured to fix the first screen region suspension frame at a current position on the screen when a second operation is obtained, so as to obtain a fixed first screen region suspension frame;
the obtainingmodule 0114 is configured to obtain, in the fixed first screen region floating frame, an operation on the content of the first screen region.
Further, theapparatus 011 further includes:elimination presentation module 0115; wherein,
the eliminating and presentingmodule 0115 is configured to, when the operation on the content of the first screen region is not acquired in the fixed first screen region suspension frame within a first preset time period, eliminate the first screen region suspension frame and present the current content in the screen.
Further, the movingmodule 0112 is specifically configured to move the first screen region suspension frame toward the second screen region according to a corresponding relationship between an included angle and a moving distance, where the included angle is an included angle between a Z axis of the gravity sensor and an XY plane of the screen;
or, the movingmodule 0112 is specifically configured to move the first screen region suspension frame toward the second screen region according to the obtained continuous sliding operation on the back input device;
or the movingmodule 0112 is specifically configured to move the first screen region suspension frame toward the second screen region according to the obtained click operation or slide operation in a preset moving operation region, where the preset moving operation region is located in the second screen region.
Further, the movingmodule 0112 is further specifically configured to establish a three-dimensional coordinate system on the screen plane with an edge where the receiver is located as an X-axis, an edge perpendicular to the X-axis on the screen plane as a Y-axis, and a direction perpendicular to the screen plane as a Z-axis;
the movingmodule 0112 is further specifically configured to divide an included angle between the Z axis of the gravity sensor and the XY plane of the screen into M included angle ranges; m is an integer greater than or equal to 1;
the movingmodule 0112 is further specifically configured to set respective moving distances corresponding to the M included angle ranges;
the movingmodule 0112 is further specifically configured to obtain an included angle between a Z axis of the current gravity sensor and an XY plane of the screen, so as to obtain a current included angle;
the movingmodule 0112 is further specifically configured to move the first screen region floating frame from the current position of the first screen region floating frame to the second screen region direction by a moving distance corresponding to the current included angle.
Further, the movingmodule 0112 is further specifically configured to obtain that the first screen region suspension frame is continuously moved from the current position of the first screen region suspension frame to the second screen region direction when the continuous sliding operation of the back input device is performed;
the movingmodule 0112 is further specifically configured to, each time a click operation in the preset moving operation area is obtained, move the first screen region suspension frame a preset distance from the current position of the first screen region suspension frame toward the second screen region;
the movingmodule 0112 is further specifically configured to obtain that the first screen region suspension frame is continuously moved from the current position of the first screen region suspension frame to the second screen region direction when the sliding operation in the preset moving operation area is performed.
The apparatus of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
In practical applications, the floatingdisplay module 0111, the movingmodule 0112, the fixedmodule 0113, the obtainingmodule 0114, and the eliminating and presentingmodule 0115 can be implemented by a Central Processing Unit (CPU), a microprocessor Unit (MPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), or the like, which are located in thedevice 011 of the operation screen.
EXAMPLE six
FIG. 12 is a schematic diagram of an embodiment of an apparatus for operating a screen according to the present invention; as shown in fig. 12, anapparatus 012 for operating a screen according to an embodiment of the present invention includes: aninterface 0121, aprocessor 0122, amemory 0123 and acommunication bus 0124; wherein,
theinterface 0121 is used for receiving an operation instruction;
thecommunication bus 0124 is used to implement connection communication among theinterface 0121, theprocessor 0122 and thememory 0123;
theprocessor 0122 is configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
when a first operation is acquired, displaying a first screen area suspension frame in a suspension manner on a first screen area, wherein the first screen area suspension frame comprises the content of the first screen area, the first screen area is a 1/N screen area on one side of a receiver, and N is an integer greater than or equal to 2;
moving the first screen area suspension frame to a second screen area direction according to a preset moving rule, wherein the second screen area is the rest (N-1)/N screen areas except the first screen area in the screen;
when a second operation is obtained, fixing the first screen region suspension frame at the current position on the screen to obtain the fixed first screen region suspension frame;
and acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame.
Further, theprocessor 0122 is further configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
and when the operation on the content of the first screen area is not acquired in the fixed first screen area suspension frame within a first preset time period, eliminating the first screen area suspension frame and presenting the current content in the screen.
Further, theprocessor 0122 is configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
moving the first screen region suspension frame towards the second screen region direction according to the corresponding relation between an included angle and a moving distance, wherein the included angle is the included angle between the Z axis of the gravity sensor and the XY plane of the screen;
or, theprocessor 0122 is configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
moving the first screen area suspension frame towards the second screen area direction according to the obtained continuous sliding operation of the back input device;
or, theprocessor 0122 is configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
and moving the first screen area suspension frame towards the second screen area according to the acquired click operation or sliding operation in a preset moving operation area, wherein the preset moving operation area is positioned in the second screen area.
Further, theprocessor 0122 is further configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
establishing a three-dimensional coordinate system on a screen plane by taking the side where the receiver is positioned as an X axis, taking the side vertical to the X axis as a Y axis and taking the direction vertical to the screen plane as a Z axis;
dividing an included angle between the Z axis of the gravity sensor and the XY plane of the screen into M included angle ranges; m is an integer greater than or equal to 1;
setting respective corresponding moving distances of the M included angle ranges;
acquiring an included angle between the current Z axis of the gravity sensor and the XY plane of the screen to obtain a current included angle;
and moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area by the movement distance corresponding to the current included angle.
Theprocessor 0122 is further configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
acquiring that the first screen area suspension frame continuously moves from the current position of the first screen area suspension frame to the direction of the second screen area when the back input device is continuously slid;
theprocessor 0122 is further configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
moving the first screen area suspension frame from the current position of the first screen area suspension frame to the second screen area direction by a preset distance each time a click operation in the preset mobile operation area is obtained;
theprocessor 0122 is further configured to execute the program of the operation screen stored in thememory 0123, so as to implement the following steps:
and when the sliding operation in the preset mobile operation area is acquired, continuously moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area.
The device of this embodiment may be configured to implement the technical solutions of the above-described method embodiments, and the implementation principles and technical effects are similar, which are not described herein again.
EXAMPLE seven
The present embodiments provide a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to perform the steps of:
when a first operation is acquired, displaying a first screen area suspension frame in a suspension manner on a first screen area, wherein the first screen area suspension frame comprises the content of the first screen area, the first screen area is a 1/N screen area on one side of a receiver, and N is an integer greater than or equal to 2;
moving the first screen area suspension frame to a second screen area direction according to a preset moving rule, wherein the second screen area is the rest (N-1)/N screen areas except the first screen area in the screen;
when a second operation is obtained, fixing the first screen region suspension frame at the current position on the screen to obtain the fixed first screen region suspension frame;
and acquiring the operation of the content of the first screen area in the fixed first screen area suspension frame.
Further, the one or more programs are also executable by the one or more processors to perform the steps of:
and when the operation on the content of the first screen area is not acquired in the fixed first screen area suspension frame within a first preset time period, eliminating the first screen area suspension frame and presenting the current content in the screen.
Further, the one or more programs are executable by the one or more processors to implement the steps of:
moving the first screen region suspension frame towards the second screen region direction according to the corresponding relation between an included angle and a moving distance, wherein the included angle is the included angle between the Z axis of the gravity sensor and the XY plane of the screen;
or, moving the first screen region suspension frame towards the second screen region direction according to the acquired continuous sliding operation of the back input device;
or moving the first screen area suspension frame towards the second screen area according to the acquired click operation or sliding operation in a preset moving operation area, wherein the preset moving operation area is located in the second screen area.
Further, the one or more programs are also executable by the one or more processors to implement the steps of:
establishing a three-dimensional coordinate system on a screen plane by taking the side where the receiver is positioned as an X axis, taking the side vertical to the X axis as a Y axis and taking the direction vertical to the screen plane as a Z axis;
dividing an included angle between the Z axis of the gravity sensor and the XY plane of the screen into M included angle ranges; m is an integer greater than or equal to 1;
setting respective corresponding moving distances of the M included angle ranges;
acquiring an included angle between the current Z axis of the gravity sensor and the XY plane of the screen to obtain a current included angle;
and moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area by the movement distance corresponding to the current included angle.
Further, the one or more programs are also executable by the one or more processors to implement the steps of:
acquiring that the first screen area suspension frame continuously moves from the current position of the first screen area suspension frame to the direction of the second screen area when the back input device is continuously slid;
the one or more programs are further executable by the one or more processors to implement the steps of:
moving the first screen area suspension frame from the current position of the first screen area suspension frame to the second screen area direction by a preset distance each time a click operation in the preset mobile operation area is obtained;
the one or more programs are further executable by the one or more processors to implement the steps of:
and when the sliding operation in the preset mobile operation area is acquired, continuously moving the first screen area suspension frame from the current position of the first screen area suspension frame to the direction of the second screen area.
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.
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.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.