CN107145287B - Picture display method, mobile terminal and computer readable storage medium - Google Patents

Picture display method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN107145287B
CN107145287B CN201710415881.7A CN201710415881A CN107145287B CN 107145287 B CN107145287 B CN 107145287B CN 201710415881 A CN201710415881 A CN 201710415881A CN 107145287 B CN107145287 B CN 107145287B
Authority
CN
China
Prior art keywords
mobile terminal
picture
variation
angle
instruction
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710415881.7A
Other languages
Chinese (zh)
Other versions
CN107145287A (en
Inventor
张海龙
张腾
杨亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201710415881.7A priority Critical patent/CN107145287B/en
Publication of CN107145287A publication Critical patent/CN107145287A/en
Application granted granted Critical
Publication of CN107145287B publication Critical patent/CN107145287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/12Details of telephonic subscriber devices including a sensor for measuring a physical value, e.g. temperature or motion

Abstract

The invention discloses a picture display method, which is applied to a mobile terminal, wherein the left side and the right side of the mobile terminal are respectively provided with at least one sensor, and the picture display method comprises the following steps: when the mobile terminal is in a picture display mode, detecting whether the mobile terminal is in a hand-held state or not through a sensor; if the mobile terminal is in a hand-held state, monitoring an angle change parameter of the mobile terminal relative to a reference direction; and controlling the display of the pictures of the mobile terminal according to the angle change parameters. The invention also discloses a mobile terminal and a computer readable storage medium. The invention realizes that when the mobile terminal is in the picture display mode, the pictures stored in the mobile terminal can be browsed by changing the change of the mobile terminal state in the hand-held state without the need of manually executing a series of operations on the screen of the mobile terminal by a user, thereby simplifying the operation flow of checking the pictures in the mobile terminal.

Description

Picture display method, mobile terminal and computer readable storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a picture display method, a mobile terminal, and a computer-readable storage medium.
Background
With the popularization of mobile terminals, users have become increasingly unable to leave mobile terminals in work and life. The mobile terminal can be used as a storage medium for storing pictures. When a user views pictures stored in the mobile terminal, the user is required to manually perform a series of operations in the screen of the mobile terminal. When a user wants to browse a plurality of pictures stored by the mobile terminal, the user needs to slide upwards or downwards in a screen of the mobile terminal so as to browse the plurality of pictures stored by the mobile terminal; if the user wants to view the previous or next picture, the user needs to slide left or right in the screen of the mobile terminal. Therefore, the operation of checking the picture in the conventional mobile terminal is complicated.
Disclosure of Invention
The invention mainly aims to provide a picture display method, a mobile terminal and a computer readable storage medium, and aims to solve the technical problem that the operation of checking pictures in the conventional mobile terminal is complicated.
In order to achieve the above object, the present invention provides a picture displaying method, which is applied to a mobile terminal, wherein at least one sensor is respectively arranged on the left side and the right side of the mobile terminal, and the picture displaying method comprises:
when the mobile terminal is in a picture display mode, detecting whether the mobile terminal is in a hand-held state or not through the sensor;
if the mobile terminal is in a hand-held state, monitoring an angle change parameter of the mobile terminal relative to a reference direction;
and controlling the display of the mobile terminal picture according to the angle change parameter.
Optionally, the angle change parameter includes an angle change amount and a change direction, and the step of controlling the display of the mobile terminal picture according to the angle change parameter includes:
and when the angle variation is larger than a first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, controlling the mobile terminal to display the picture forwards or backwards according to the browsing instruction so that a user can browse the picture stored by the mobile terminal forwards or backwards.
Optionally, when the angle variation is greater than a first preset variation and the variation direction is matched with a direction corresponding to a browsing instruction, controlling the mobile terminal to display a picture forward or backward according to the browsing instruction, so that a user can browse the picture stored in the mobile terminal forward or backward, including:
when the angle variation is larger than a first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, monitoring the duration of the mobile terminal in the process that the angle variation is larger than the first preset variation;
and when the duration is longer than the preset duration, controlling the mobile terminal to display the pictures forwards or backwards according to the browsing instruction so that a user can browse the pictures stored by the mobile terminal forwards or backwards.
Optionally, the angle change parameter includes an angle change amount and a change direction, and the step of controlling the display of the mobile terminal picture according to the angle change parameter includes:
and when the angle variation is larger than a second preset variation and the variation direction is matched with the direction corresponding to the switching instruction, switching to the previous picture or the next picture according to the switching instruction.
Optionally, the angle change parameter includes a change direction, and before the step of controlling the display of the mobile terminal picture according to the angle change parameter, the method further includes:
detecting the distance of the mobile terminal relative to the face of a user;
when the distance is smaller than a first preset distance, the step of controlling the display of the mobile terminal picture according to the angle change parameter comprises the following steps:
and when the changing direction is matched with the direction corresponding to the amplifying instruction, amplifying the current picture displayed by the mobile terminal according to the amplifying instruction.
Optionally, after the step of detecting the distance between the mobile terminal and the face of the user, the method further includes:
when the distance is greater than a second preset distance, the step of controlling the display of the mobile terminal picture according to the angle change parameter comprises the following steps:
and when the changing direction is matched with the direction corresponding to the reducing instruction, reducing the current picture according to the reducing instruction, wherein the second preset distance is greater than the first preset distance.
Optionally, the angle change parameter includes an angle change amount and a change direction, and the step of controlling the display of the mobile terminal picture according to the angle change parameter includes:
and when the angle variation is larger than a third preset variation and the variation direction is matched with the direction corresponding to the deleting instruction, deleting the current picture displayed by the mobile terminal according to the deleting instruction.
Optionally, after the step of controlling the display of the mobile terminal picture according to the angle variation parameter, the method further includes:
and when the mobile terminal is detected to be in a non-hand-held state, exiting the picture display mode.
In addition, to achieve the above object, the present invention further provides a mobile terminal, which includes a memory, a sensor, a processor, and a picture displaying program stored in the memory and executable on the processor, wherein the picture displaying program, when executed by the processor, implements the steps of the picture displaying method as described above.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, having stored thereon a picture displaying program, which when executed by a processor, implements the steps of the picture displaying method as described above.
In the invention, at least one sensor is respectively arranged on the left side and the right side of the mobile terminal, and when the mobile terminal is in a picture display mode, whether the mobile terminal is in a hand-held state is detected through the sensor; if the mobile terminal is in a hand-held state, monitoring an angle change parameter of the mobile terminal relative to a reference direction; and controlling the display of the mobile terminal picture according to the angle change parameter. The method and the device have the advantages that when the mobile terminal is in the picture display mode, pictures stored in the mobile terminal can be browsed by changing the state of the mobile terminal in the hand-held state, a user does not need to manually execute a series of operations on a screen of the mobile terminal, and the operation flow of checking the pictures in the mobile terminal is simplified.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a terminal for 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 rear view of the mobile terminal in the embodiment of the present invention;
FIG. 4 is a cross-sectional view of the mobile terminal of FIG. 3 taken along direction AA;
FIG. 5 is a flowchart illustrating a first embodiment of a picture displaying method according to the present invention
FIG. 6 is a schematic diagram of a sensor respectively disposed on the left and right sides of a mobile terminal according to an embodiment of the present invention;
fig. 7a is a schematic view illustrating that a plurality of sensors are respectively disposed on the left side and the right side of the mobile terminal in the embodiment of the present invention;
FIG. 7b is a right side view of the front side of the mobile terminal of FIG. 7a in accordance with the present invention;
FIG. 7c is a left side view of the front side of the mobile terminal of FIG. 7a in accordance with the present invention;
FIG. 8 is a flowchart illustrating a second embodiment of a method for displaying pictures according to the present invention;
fig. 9a is a schematic diagram of the bottom of the mobile terminal 100 according to the embodiment of the present invention;
FIG. 9b is a schematic diagram illustrating a change in bottom angle during forward tilting of the mobile terminal 100 in an embodiment of the present invention;
FIG. 10 is a flowchart illustrating a third embodiment of a method for displaying pictures according to the present invention;
FIG. 11 is a flowchart illustrating a fourth embodiment of a method for displaying pictures according to the present invention;
fig. 12 is a schematic diagram illustrating a distance between the mobile terminal 100 and a face of a user according to an embodiment of the present invention;
fig. 13 is a flowchart illustrating a fifth embodiment of a picture displaying method according to the present invention.
The implementation, functional features and advantages of the present invention will be described with reference to the accompanying drawings.
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, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, Wi-Fi 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, and power supply 111. Those skilled in the art will appreciate that the mobile terminal 100 depicted in fig. 1 is not intended to be limiting of the mobile terminal 100, and that the mobile terminal 100 may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
The various components of the mobile terminal 100 are described in detail below with reference to fig. 1:
the radio 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 the processor 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, the radio 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 Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution), etc.
Wi-Fi belongs to a short-distance wireless transmission technology, and the mobile terminal 100 can help a user to send and receive e-mails, browse webpages, access streaming media and the like through the Wi-Fi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the Wi-Fi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal 100, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the Wi-Fi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output 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 unit 103 may include a speaker, a buzzer, and the like.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile 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.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect 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 the touch 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. The touch 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 the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch 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 the touch panel 1071, the user input unit 107 may include other 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, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display 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, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 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 port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices 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 external devices.
The memory 109 may be used to store software programs as well as various data. The memory 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, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal 100, connects various parts of the entire mobile terminal 100 using various interfaces and lines, and performs various functions of the mobile terminal 100 and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby monitoring the mobile terminal 100 as a whole. Processor 110 may include one or more processing units; preferably, the processor 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 the processor 110.
In addition, in the mobile terminal 100 shown in fig. 1, at least one sensor is respectively disposed on the left and right sides of the mobile terminal 100, and the processor 110 is configured to call the picture display program stored in the memory 109 and perform the following operations:
when the mobile terminal 100 is in the picture display mode, detecting whether the mobile terminal 100 is in a hand-held state by a sensor;
if the mobile terminal 100 is in a hand-held state, monitoring an angle change parameter of the mobile terminal 100 relative to a reference direction;
and controlling the display of the pictures of the mobile terminal 100 according to the angle change parameters.
Further, the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter includes:
when the angle variation is larger than the first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, the mobile terminal 100 is controlled to display the picture forwards or backwards according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forwards or backwards.
Further, when the angle variation is greater than the first preset variation and the variation direction matches the direction corresponding to the browsing instruction, the step of controlling the mobile terminal 100 to display the picture forward or backward according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forward or backward includes:
when the angle variation is larger than a first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, monitoring the duration of the mobile terminal 100 in the process that the angle variation is larger than the first preset variation;
and when the duration is longer than the preset duration, controlling the mobile terminal 100 to display the picture forwards or backwards according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forwards or backwards.
Further, the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter includes:
and when the angle variation is larger than the second preset variation and the variation direction is matched with the direction corresponding to the switching instruction, switching to the previous picture or the next picture according to the switching instruction.
Further, the angle variation parameter includes a variation direction, and before the step of controlling the display of the picture in the mobile terminal 100 according to the angle variation parameter, the processor 110 is further configured to call a picture display program stored in the memory 109, and perform the following operations:
detecting a distance of the mobile terminal 100 with respect to a face of the user;
when the distance is less than the first preset distance, the step of controlling the display of the picture of the mobile terminal 100 according to the angle change parameter includes:
and when the changing direction is matched with the direction corresponding to the amplifying instruction, amplifying the current picture displayed by the mobile terminal 100 according to the amplifying instruction.
Further, after the step of detecting the distance between the mobile terminal 100 and the face of the user, the processor 110 is further configured to call the picture displaying program stored in the memory 109, and perform the following operations:
and when the distance is greater than a second preset distance and the change direction is matched with the direction corresponding to the reduction instruction, reducing the current picture according to the reduction instruction, wherein the second preset distance is greater than the first preset distance.
Further, the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter includes:
and when the angle variation is larger than the third preset variation and the variation direction is matched with the direction corresponding to the deleting instruction, deleting the current picture displayed by the mobile terminal 100 according to the deleting instruction.
Further, after the step of controlling the display of the picture in the mobile terminal 100 according to the angle variation parameter, the processor 110 is further configured to call a picture display program stored in the memory 109, and perform the following operations:
when the mobile terminal 100 is detected to be in the non-handheld state, the picture display mode is exited.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 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, the mobile 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 100 of the present invention is based will be 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 an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the mobile terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other 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 the EPC 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 Rules Function) 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).
The IP 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 terminal hardware structure and communication network system, the present invention provides various embodiments of the picture display method.
The invention provides a picture display method.
In the present embodiment, an embodiment of a picture presentation method is provided, and it should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that here.
In the present embodiment, the picture display method may be optionally applied to the mobile terminal 100. Referring to fig. 3 and 4, the body 200 of the mobile terminal 100 includes an outer case 210 and various hardware inside the outer case 210. One side of the outer casing 210 is provided with a screen, the other side opposite to the screen is a back, and the outer casing 210 connecting the screen and the back is a side of the mobile terminal 100. Generally, the mobile terminal 100 has two long sides and two short sides.
The outer case 210 is provided with a hand-held state detection area 220 for detecting whether a user holds the mobile terminal 100. The hand-held state detection area 220 may cover the entire outer casing 210, or may be only a partial area of the outer casing 210, and the area and the location of the area may be flexibly configured according to actual needs.
In order to sense an object, a capacitive sensor 230 is disposed on the hand-held state detection area 220. The capacitive sensor 230 is electrically connected to the CPU300, and transmits the capacitance value to the CPU300 in real time, so that the CPU300 can determine whether an object touches the hand-held state detection area 220.
The gesture acquirer 400 is disposed in the body 200 and is configured to sense a gesture change of the mobile terminal 100 when held by a hand. The posture acquiring instrument 400 is electrically connected to the CPU300, and transmits a signal generated by the same to the CPU 300.
The CPU300 is electrically connected to the capacitance sensor 230 and the posture collection instrument 400, respectively, and receives signals transmitted from the capacitance sensor 230 and the posture collection instrument 400. The CPU300 detects whether an object touches the hand-held state detection area 220 based on a signal transmitted from the capacitive sensor 230.
The working principle of the capacitive sensor 230 is: assuming that the effective projection area of a proximity object (e.g., a user's finger) in the capacitive sensor 230 is a, the capacitance value C can be expressed by the following formula:
Figure DEST_PATH_GDA0001333912750000111
note that ε0And εrWhich represent the dielectric constants of vacuum and air, respectively, and d represents the distance between the approaching object and the capacitive sensor 230. As can be seen from the formula, the effective projection area a and the distance d from the object can both change the value of the capacitor C, so that the interaction state between the user and the mobile terminal 100 can be determined according to the change of the capacitor C and the difference between the capacitors, and further, whether the mobile terminal 100 is in the hand-held state can be detected.Further, the pressure value of the hand can be detected.
Therefore, the CPU300 can determine whether there is an object touching the hand-held state detection area 220 according to the magnitude and the variation trend of the capacitance value fed back by the capacitance sensor 230. Generally, when the user approaches the capacitive sensor 230, the capacitance value fed back by the capacitive sensor 230 gradually increases. Considering that grip strength of different users is different, a capacitance threshold value may be preset, and when the capacitance value detected by the capacitive sensor 230 gradually increases and exceeds the preset capacitance threshold value, it is determined that an object is in contact with the position where the capacitive sensor 230 is located.
Then, the CPU300 detects whether or not the holding posture is determined based on the position touched by the object sensed by the capacitance sensor 230. For example, when a user holds the mobile terminal 100 with one hand, it is common that four fingers contact one long side of the mobile terminal 100 and a palm contacts the other long side of the mobile terminal 100. If the position touched by the object sensed by the capacitive sensor 230 includes two long sides of the mobile terminal 100, it may be determined that the mobile terminal 100 is currently in a hand-held state.
After determining that the mobile terminal 100 is currently in the hand-held state, the CPU300 generates an angle change parameter of the mobile terminal 100 with respect to the reference direction according to the signal transmitted by the gesture acquirer 400, and further detects a gesture change of the mobile terminal 100.
The gesture acquirer 400 may be a gyroscope, a gravity sensor, or other devices for detecting the angle change of the mobile terminal 100 from the reference direction.
The gyroscope operates on the principle that the rotating shaft of the object rotates at a high speed, and tends to be vertical to the action of an external force for changing the direction of the rotating shaft, and when the rotating object is inclined transversely, gravity acts in a direction for increasing the inclination, and the rotating shaft moves in the vertical direction, so that the motion (motion of the camera) for shaking the head is generated, and the CPU300 can calculate the inclination direction and the inclination angle of the mobile terminal 100 relative to the reference direction according to the signal generated by the rotation of the gyroscope.
When detecting the change in the angle of the mobile terminal 100 from the reference direction using the gravity sensor, acceleration due to gravity is measured by the gravity sensor and a signal is transmitted to the CPU300, and the CPU300 calculates the tilt direction and tilt angle of the mobile terminal 100 with respect to the reference direction from the acceleration measured by the gravity sensor.
Wherein the reference direction is a reference vector value set by the CPU300 for reference, which is a vector value designated by the mobile terminal 100 in a preset azimuth coordinate system or a vector value of an initial position of the mobile terminal 100 to be acquired from a sensor. The preset orientation coordinate system comprises one or more of a plane coordinate system, a terrestrial coordinate system and a geographic coordinate system. The initial position of the mobile terminal 100 may be a position when the mobile terminal 100 enters the current operation mode, or a position of the mobile terminal 100 before a preset time interval, or a position after the CPU300 executes the control instruction last time, and may be flexibly configured or selected according to actual needs.
The CPU300 periodically detects an angle variation parameter of the body 200 with respect to the reference direction according to a preset frequency, or monitors an angle variation parameter of the body 200 with respect to the reference direction in real time. The angle change parameters comprise angle change amount and change direction. Wherein, the angle change direction can be understood as the inclined direction of the body 200 of the mobile terminal 100 relative to the reference direction, and represents the change of the body 200 direction; the angle change amount is a value of a tilt angle of the body 200 of the mobile terminal 100 with respect to a reference direction.
Meanwhile, the CPU300 detects a current operating mode of the mobile terminal 100, such as a music playing mode, a photographing mode, a call mode, a picture displaying mode, a web browsing mode, and the like, according to application software or system functions currently running in the foreground of the mobile terminal 100. The CPU300 obtains a control condition library corresponding to the control scenario according to the current working mode of the mobile terminal 100. The CPU300 searches for a control condition that the angle change parameter satisfies in the control condition library corresponding to the current control scene. The CPU300 presets control conditions, and different control conditions correspond to different control instructions, so as to ensure that the user can correspondingly control the mobile terminal 100 by shaking or swinging the mobile terminal 100 through different actions when holding the mobile terminal 100.
In the present embodiment, the preset control conditions include, but are not limited to, a preset direction, and an angle value range. When it is required to be described, the preset control condition may be configured by the CPU300, or may be set by the user, or the use habit of the user may be collected to perform optimization adjustment on the range of the direction and the angle value in the control condition. The CPU300 searches the control condition library for the control condition that is satisfied by the angle change parameter, and uses the control instruction corresponding to the control condition as the control instruction corresponding to the angle change parameter. After determining the control command, the CPU300 executes the control command to control the mobile terminal 100 accordingly.
It should be noted that different working modes correspond to different control condition libraries, so that the same angle change parameter may correspond to different control instructions in different working modes, thereby implementing personalized control over the working modes.
Referring to fig. 5, the picture display method includes:
in step S10, when the mobile terminal 100 is in the picture display mode, it is detected whether the mobile terminal 100 is in a hand-held state by a sensor.
In the embodiment of the present invention, at least one sensor is respectively disposed on the left and right sides of the mobile terminal 100. When the mobile terminal 100 is in the picture presentation mode, the mobile terminal 100 detects whether it is currently in a hand-held state through the sensor. One sensor may be provided on each of the left and right sides of the mobile terminal 100, or a plurality of sensors may be provided. Specifically, referring to fig. 6, fig. 7a, fig. 7b and fig. 7c, fig. 6 is a schematic diagram illustrating that one sensor is respectively disposed on the left and right sides of the mobile terminal 100 in an embodiment of the present invention, fig. 7a is a schematic diagram illustrating that a plurality of sensors are respectively disposed on the left and right sides of the mobile terminal 100 in an embodiment of the present invention, fig. 7b is a right side view of the front of the mobile terminal 100 in fig. 7a in the present invention, and fig. 7c is a left side view of the front of the mobile terminal 100 in fig. 7a in. In fig. 6, S1 denotes a sensor on the right side of the mobile terminal 100, and S2 denotes a sensor on the left side of the mobile terminal 100; in fig. 7a, 7b and 7c, a plurality of sensors are provided at positions of S1 and S2 in fig. 6, so that S1 is (S10 … S1n) and S2 is (S20 … S2 m). In fig. 7a, 7b and 7c, S1 denotes a sensor array on the right side of the mobile terminal 100, and S10 … S1n denotes n sensors provided on the right side of the mobile terminal 100; s2 denotes a sensor array on the left side of the mobile terminal 100, and S20 … S2m denotes m sensors provided on the left side of the mobile terminal 100. In the present embodiment, the sensor for detecting whether the mobile terminal 100 is in the hand-held state is a capacitive sensor.
In step S20, if the mobile terminal 100 is in a hand-held state, the angle change parameter of the mobile terminal 100 with respect to the reference direction is monitored.
When the mobile terminal 100 detects that it is in a hand-held state by a sensor, the mobile terminal 100 monitors an angle change parameter thereof with respect to a reference direction. The reference direction is a reference vector value set for the mobile terminal 100 for reference, and the reference vector value is a vector value specified by the mobile terminal 100 in a predetermined azimuth coordinate system or a vector value of an initial position of the mobile terminal 100 acquired by a sensor. It is to be understood that the coordinate system includes one or more of a planar coordinate system, a terrestrial coordinate system, or a geographic coordinate system. The sensors include, but are not limited to, gravitational acceleration sensors, geomagnetic sensors, and gyroscopes. The vector value obtained from the sensor may be an acceleration vector, an angular acceleration vector, or a magnetic field strength vector, or the like. The angle change parameters include, but are not limited to, the amount of angle change and the direction of change. Specifically, in the process of monitoring the angle variation parameter of the mobile terminal 100 with respect to the reference direction, a certain side of the mobile terminal 100 may be designated as a reference plane of the mobile terminal 100, and the angle variation parameter between the reference plane and the reference direction may be monitored.
And step S30, controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter.
When the mobile terminal 100 determines an angle change parameter of the mobile terminal with respect to a reference direction through a sensor, the mobile terminal 100 determines a control command corresponding to the angle change parameter and displays a picture stored therein according to the determined control command. In addition, the mobile terminal 100 is preset with a mapping relationship between the angle change parameter and the control command, and different angle change parameters correspond to different control commands. The control instructions include, but are not limited to, browse instructions, delete instructions, switch instructions, jump instructions, and share instructions.
Further, the picture display method further comprises the following steps:
step a, when the mobile terminal 100 is detected to be in the non-hand-held state, the picture display mode is exited.
When the mobile terminal 100 is in the hand-held state, the mobile terminal 100 monitors whether it is currently in the hand-held state in real time through a sensor. When the mobile terminal 100 detects that it is currently in the non-hand-held state through the sensor, the mobile terminal 100 exits the picture display mode.
Further, in order to more accurately detect the user holding operation and reduce the mishandling rate of the mobile terminal 100, at least one back sensor is provided on the back of the mobile terminal 100. Such as the back sensor may be disposed in the middle of the back of the mobile terminal 100. It is to be understood that the position of the rear sensor at the rear of the mobile terminal 100 is not limited to the present embodiment. In the embodiment of the present invention, two sensors are preferably disposed on the rear surface of the mobile terminal 100. Specifically, referring to fig. 6 or 7a, one sensor S3 is disposed above the rear surface of the mobile terminal 100, and the other sensor S0 is disposed below the rear surface of the mobile terminal 100.
In the embodiment, the left side and the right side of the mobile terminal 100 are respectively provided with at least one sensor, and when the mobile terminal 100 is in the picture display mode, whether the mobile terminal 100 is in a hand-held state is detected through the sensors; if the mobile terminal 100 is in a hand-held state, monitoring an angle change parameter of the mobile terminal 100 relative to a reference direction; and controlling the display of the pictures of the mobile terminal 100 according to the angle change parameters. The method and the device realize that when the mobile terminal 100 is in the picture display mode, pictures stored in the mobile terminal 100 can be browsed by changing the state change of the mobile terminal 100 in the hand-held state without a series of operations manually performed on the screen of the mobile terminal 100 by a user, and simplify the operation flow of viewing the pictures in the mobile terminal 100.
Further, a second embodiment of the picture displaying method of the present invention is provided based on the first embodiment. The second embodiment of the picture presentation method is different from the first embodiment of the picture presentation method in that, referring to fig. 8, step S30 includes:
step S31, when the angle variation is greater than the first preset variation and the variation direction matches the direction corresponding to the browsing instruction, controlling the mobile terminal 100 to display the picture forward or backward according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forward or backward.
In the embodiment of the present invention, the angle change parameter includes an angle change amount and a change direction. When the mobile terminal 100 monitors the angle variation thereof through the sensor, the mobile terminal 100 determines whether the angle variation is greater than a first preset variation and determines that the angle variation is reversed. When the angle variation is greater than the first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, the mobile terminal 100 displays the picture forward or backward according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forward or backward. If the angle variation is greater than the first preset variation and the mobile terminal 100 tilts backward relative to the current position, the mobile terminal 100 automatically slides the picture backward so that the user can browse the picture stored in the mobile terminal 100 backward from the displayed current picture; when the mobile terminal 100 is tilted forward relative to the current position, which may be understood as a reference position in this embodiment, the mobile terminal 100 automatically slides a picture forward for the user to browse forward the picture stored by the mobile terminal 100 from the presented current picture. When the angle variation is smaller than or equal to the first preset variation and/or the variation direction is not matched with the direction corresponding to the browsing instruction, the mobile terminal 100 continues to display the displayed current picture. The first preset variation and the variation direction may be set according to the habit of the user, for example, the first preset variation may be set to 20 °, or 30 °, and the variation direction is inclined forward or backward relative to the reference direction. Specifically, referring to fig. 9a and 9b, fig. 9a is a schematic diagram of the bottom of the mobile terminal 100 in the embodiment of the present invention; fig. 9b is a schematic diagram illustrating a change in the bottom angle during forward tilting of the mobile terminal 100 according to an embodiment of the present invention. In fig. 9b, the angle α represents the amount of change in the angle of the mobile terminal 100.
Further, the mobile terminal 100 may set a presentation time of each picture in executing the browsing instruction according to the user's operation, and may set the number of pictures to be presented at one time. If the display time of each picture is set to be 3s, each browsing instruction corresponds to 5 photos.
Further, an angle change range may be set, and whether to perform an operation corresponding to the operation instruction may be decided by determining whether the angle change amount of the mobile terminal 100 is within the angle change range. For example, when the angle variation is within the browsing angle variation range and the variation direction matches the direction corresponding to the browsing instruction, the mobile terminal 100 displays the picture forward or backward according to the browsing instruction.
In the embodiment, by setting the angle variation and the variation direction corresponding to the browsing instruction in the mobile terminal 100, the user does not need to manually operate the mobile terminal 100, and the picture stored in the mobile terminal 100 can be browsed by holding the mobile terminal 100, thereby simplifying the operation flow of browsing the picture stored in the mobile terminal 100.
Further, step S31 includes:
and b, when the angle variation is larger than the first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, monitoring the duration of the mobile terminal 100 in the process that the angle variation is larger than the first preset variation.
And c, when the duration is longer than the preset duration, controlling the mobile terminal 100 to display the pictures forwards or backwards according to the browsing instruction, so that the user can browse the pictures stored in the mobile terminal 100 forwards or backwards.
When the mobile terminal 100 determines that the angle variation is greater than the first preset variation and the variation direction matches the direction corresponding to the browsing instruction, the mobile terminal 100 starts a timer, monitors the duration of the mobile terminal in the process that the angle variation is greater than the first preset variation through the timer, and judges whether the duration is greater than the preset duration. When the duration is longer than the preset duration, the mobile terminal 100 displays the picture forward or backward according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forward or backward. When the duration is less than or equal to the preset duration, the mobile terminal 100 continues to display the current picture. The preset time period can be set according to specific needs of a user, such as 3s, or 5 s.
According to the embodiment, when the angle variation and the variation direction of the mobile terminal 100 meet the browsing instruction condition, whether the browsing instruction is executed or not is judged by time, so that the misoperation rate of browsing the pictures of the mobile terminal 100 through holding operation is reduced.
Further, a third embodiment of the picture displaying method of the present invention is provided based on the first embodiment. The third embodiment of the picture presentation method is different from the first embodiment of the picture presentation method in that, referring to fig. 10, step S30 includes:
in step S32, when the angle variation is greater than the second preset variation and the variation direction matches the direction corresponding to the switching instruction, the switching is performed to the previous picture or the next picture according to the switching instruction.
In the embodiment of the present invention, the angle change parameter includes an angle change amount and a change direction. When the mobile terminal 100 monitors the angle variation thereof through the sensor, the mobile terminal 100 determines whether the angle variation is greater than a second preset variation and determines whether the variation direction is matched with the direction corresponding to the switching instruction. When the angle variation is greater than the second preset variation and the variation direction is matched with the direction corresponding to the switching instruction, the mobile terminal 100 switches to the previous picture or the next picture according to the switching instruction, so that the user can view the previous picture or the next picture. If the angle variation is greater than the second preset variation and the mobile terminal 100 tilts to the right relative to the current position, the mobile terminal 100 switches from the current picture to the next picture according to the switching instruction, so that the user can view the next picture; when the angle variation is greater than the second preset variation and the mobile terminal 100 tilts left relative to the current position, the mobile terminal 100 switches from the current picture to the previous picture according to the switching instruction, so that the user can view the previous picture. In this embodiment, the current position may be understood as a reference position, and the reference position may be understood as a position where the mobile terminal 100 is located when the user normally views the current picture. When the angle variation is smaller than or equal to the second preset variation and/or the variation direction is not matched with the direction corresponding to the switching instruction, the mobile terminal 100 continues to display the displayed current picture. The second preset variation and the variation direction may be set according to the habit of the user, for example, the second preset variation may be set to 25 °, or 30 °, and the variation direction is inclined to the left or right with respect to the reference direction.
In this embodiment, by setting the angle variation and the variation direction corresponding to the switching instruction in the mobile terminal 100, the user is not required to manually operate the mobile terminal 100, and the mobile terminal 100 is held to switch to the previous picture or the next picture, thereby simplifying the operation flow of switching the pictures displayed by the mobile terminal 100.
Furthermore, the angle variation and the variation direction corresponding to the jump instruction can be set. When the angle variation and the variation direction of the mobile terminal 100 relative to the reference direction satisfy the angle variation and the variation direction corresponding to the jump instruction, the mobile terminal 100 jumps from the current picture to the first picture or the last picture in the gallery of the mobile terminal 100 according to the jump instruction. The user does not need to manually operate the mobile terminal 100, the first picture or the last picture of the gallery of the mobile terminal 100 can be skipped through holding operation, and the operation flow of picture skipping in the gallery of the mobile terminal 100 is simplified.
Further, a fourth embodiment of the picture displaying method of the present invention is provided based on the first embodiment. The fourth embodiment of the picture presentation method is different from the first embodiment of the picture presentation method in that, referring to fig. 11, the picture presentation method includes:
in step S40, the distance of the mobile terminal 100 from the face of the user is detected.
When the distance is less than the first preset distance, step S30 includes:
in step S33, when the changing direction matches the direction corresponding to the zoom-in instruction, the current picture displayed by the mobile terminal 100 is zoomed in according to the zoom-in instruction.
In the present embodiment, the angle change parameter includes a change direction. When the mobile terminal 100 is in a hand-held state, the mobile terminal 100 detects a distance from the user's face, determines whether the detected distance is smaller than a first preset distance, and determines whether an angle change direction of the mobile terminal is matched with a direction corresponding to the zoom-in command. When the detected distance is smaller than the first preset distance and the changing direction is matched with the direction corresponding to the amplifying instruction, the mobile terminal 100 amplifies the displayed current picture according to the amplifying instruction, so that the user can view the amplified current picture. When the detected distance is greater than or equal to the first preset distance and/or the change direction is not matched with the direction corresponding to the zoom-in instruction, the mobile terminal 100 continues to display the current picture without changing the state of the current picture. Specifically. The first preset distance may be set according to specific needs, for example, the first preset distance may be set to 15cm, or 18cm, etc. The direction corresponding to the enlargement instruction is a direction in which the mobile terminal 100 approaches the face of the user from the reference position. The reference position may be understood as a position where the mobile terminal 100 is located when the user normally views the current picture.
In the embodiment of the present invention, the distance between the mobile terminal 100 and the face of the user may be understood as the distance between the mobile terminal 100 and a certain part of the face of the user. As in the present embodiment, the distance of the mobile terminal 100 with respect to the face of the user may be understood as the distance of the mobile terminal 100 with respect to the eyes of the user. Specifically, referring to fig. 12, fig. 12 is a schematic diagram illustrating a distance change between the mobile terminal 100 and a face of the user in the embodiment of the present invention, where an angle between the mobile terminal 100 and the reference direction is α is changed to β, and a distance between the mobile terminal 100 and the eyes of the user is smaller.
It should be noted that, in the embodiment of the present invention, the sequence of detecting whether the mobile terminal 100 is in the hand-held state and detecting whether the changing direction is matched with the direction corresponding to the zoom instruction by detecting the distance between the mobile terminal 100 and the face of the user is not limited. If the distance between the user and the face of the user can be detected firstly, whether the user is in a hand-held state or not can be monitored firstly.
Further, when the distance is greater than the second preset distance, step S30 further includes:
and d, when the changing direction is matched with the direction corresponding to the reducing instruction, reducing the current picture according to the reducing instruction, wherein the second preset distance is greater than the first preset distance.
When the distance between the mobile terminal 100 and the face of the user is greater than the second preset distance and the direction of the mobile terminal 100 is matched with the direction corresponding to the zoom-out instruction, the mobile terminal 100 zooms out the current picture displayed by the mobile terminal 100 according to the zoom-out instruction. In this embodiment, the second preset distance may be set according to specific needs, such as 25cm, 23cm, or the like. The second preset distance is greater than the first preset distance. The direction corresponding to the reduction instruction is a direction away from the face of the user from the reference position. When the mobile terminal 100 is away from the face of the user from directly in front of the reference position, it is confirmed that the direction of change matches the direction corresponding to the zoom-out instruction.
When the distance between the mobile terminal 100 and the face of the user is less than or equal to the second preset distance and/or the change direction does not match the direction corresponding to the zoom-in instruction, the mobile terminal 100 continues to display the current picture without changing the state of the current picture.
In the embodiment, by setting the change direction and the change distance corresponding to the zoom-in instruction and the zoom-out instruction in the mobile terminal 100, the user does not need to manually operate the mobile terminal 100, and the image can be zoomed in and zoomed out by holding the mobile terminal 100, so that the operation flow of zooming the image by the mobile terminal 100 is simplified.
Further, a fifth embodiment of the picture displaying method of the present invention is provided based on the first embodiment. The fifth embodiment of the picture displaying method is different from the first embodiment of the picture displaying method in that, referring to fig. 13, step S30 further includes:
in step S34, when the angle variation is greater than the third preset variation and the variation direction matches the direction corresponding to the deleting instruction, the current picture displayed by the mobile terminal 100 is deleted according to the deleting instruction.
In the present embodiment, the angle change parameter includes an angle change amount and a change direction. When the mobile terminal 100 in the hand-held state monitors the angle variation, it is determined whether the angle variation is larger than a third preset variation and whether the variation direction is matched with the direction corresponding to the delete command. When the angle variation is greater than the third preset variation and the variation direction matches the direction corresponding to the deleting instruction, the mobile terminal 100 deletes the current picture displayed by the mobile terminal according to the deleting instruction. When the angle variation is smaller than or equal to the third preset variation and/or the variation direction is not matched with the direction corresponding to the deletion instruction, the mobile terminal 100 continues to display the current picture without deleting the displayed current picture. In this embodiment, the third preset variation may be set according to specific needs, for example, may be set to 90 °, or 100 °, and the direction corresponding to the deletion instruction may be set to flip forward or flip backward.
In the embodiment, by setting the change direction and the angle change amount corresponding to the deletion instruction in the mobile terminal 100, the user does not need to manually operate the mobile terminal 100, and the picture can be deleted by holding the mobile terminal 100, thereby simplifying the operation flow of deleting the picture by the mobile terminal 100.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium has stored thereon a picture presentation program which when executed by the processor implements the steps of:
when the mobile terminal 100 is in the picture display mode, detecting whether the mobile terminal 100 is in a hand-held state by using a sensor, wherein the left side and the right side of the mobile terminal 100 are respectively provided with at least one sensor;
if the mobile terminal 100 is in a hand-held state, monitoring an angle change parameter of the mobile terminal 100 relative to a reference direction;
and controlling the display of the pictures of the mobile terminal 100 according to the angle change parameters.
In the present invention, by respectively providing at least one sensor on the left and right sides of the mobile terminal 100, when the mobile terminal 100 is in the picture display mode, the sensor is used to detect whether the mobile terminal 100 is in a hand-held state; if the mobile terminal 100 is in a hand-held state, monitoring an angle change parameter of the mobile terminal 100 relative to a reference direction; and controlling the display of the pictures of the mobile terminal 100 according to the angle change parameters. The method and the device realize that when the mobile terminal 100 is in the picture display mode, pictures stored in the mobile terminal 100 can be browsed by changing the state change of the mobile terminal 100 in the hand-held state without a series of operations manually performed on the screen of the mobile terminal 100 by a user, and simplify the operation flow of viewing the pictures in the mobile terminal 100.
Further, the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter includes:
when the angle variation is larger than the first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, the mobile terminal 100 is controlled to display the picture forwards or backwards according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forwards or backwards.
Further, when the angle variation is greater than the first preset variation and the variation direction matches the direction corresponding to the browsing instruction, the step of controlling the mobile terminal 100 to display the picture forward or backward according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forward or backward includes:
when the angle variation is larger than a first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, monitoring the duration of the mobile terminal 100 in the process that the angle variation is larger than the first preset variation;
and when the duration is longer than the preset duration, controlling the mobile terminal 100 to display the picture forwards or backwards according to the browsing instruction, so that the user can browse the picture stored in the mobile terminal 100 forwards or backwards.
Further, the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter includes:
and when the angle variation is larger than the second preset variation and the variation direction is matched with the direction corresponding to the switching instruction, switching to the previous picture or the next picture according to the switching instruction.
Further, the angle variation parameter includes a variation direction, and before the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter, the picture display program implements the following steps when executed by the processor:
detecting a distance of the mobile terminal 100 with respect to a face of the user;
when the distance is less than the first preset distance, the step of controlling the display of the picture of the mobile terminal 100 according to the angle change parameter includes:
and when the changing direction is matched with the direction corresponding to the amplifying instruction, amplifying the current picture displayed by the mobile terminal 100 according to the amplifying instruction.
Further, after the step of detecting the distance of the mobile terminal 100 relative to the face of the user, the picture presentation program when executed by the processor implements the steps of:
and when the distance is greater than a second preset distance and the change direction is matched with the direction corresponding to the reduction instruction, reducing the current picture according to the reduction instruction, wherein the second preset distance is greater than the first preset distance.
Further, the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter includes:
and when the angle variation is larger than the third preset variation and the variation direction is matched with the direction corresponding to the deleting instruction, deleting the current picture displayed by the mobile terminal 100 according to the deleting instruction.
Further, after the step of controlling the display of the picture of the mobile terminal 100 according to the angle variation parameter, the picture display program when executed by the processor implements the steps of:
when the mobile terminal 100 is detected to be in the non-handheld state, the picture display mode is exited.
The specific implementation of the computer-readable storage medium of the present invention is substantially the same as the embodiments of the image displaying method described above, and is not described herein again.
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 system 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 system. 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 system 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 device (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.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (9)

1. The picture display method is applied to a mobile terminal, the left side and the right side of the mobile terminal are respectively provided with at least one sensor, the back of the mobile terminal is provided with at least one sensor, and the picture display method comprises the following steps:
when the mobile terminal is in a picture display mode, detecting whether the mobile terminal is in a hand-held state or not through the sensor;
if the mobile terminal is in a hand-held state, monitoring an angle change parameter of the mobile terminal relative to a reference direction;
controlling the display of the mobile terminal picture according to the angle change parameter;
and when the mobile terminal is detected to be in a non-hand-held state, the picture display mode is exited.
2. The picture displaying method according to claim 1, wherein the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the displaying of the picture on the mobile terminal according to the angle variation parameter includes:
and when the angle variation is larger than a first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, controlling the mobile terminal to display the picture forwards or backwards according to the browsing instruction so that a user can browse the picture stored by the mobile terminal forwards or backwards.
3. The method for displaying pictures according to claim 2, wherein when the angle variation is larger than a first preset variation and the variation direction matches a direction corresponding to a browsing instruction, the step of controlling the mobile terminal to display pictures forward or backward according to the browsing instruction for a user to browse the pictures stored in the mobile terminal forward or backward comprises:
when the angle variation is larger than a first preset variation and the variation direction is matched with the direction corresponding to the browsing instruction, monitoring the duration of the mobile terminal in the process that the angle variation is larger than the first preset variation;
and when the duration is longer than the preset duration, controlling the mobile terminal to display the pictures forwards or backwards according to the browsing instruction so that a user can browse the pictures stored by the mobile terminal forwards or backwards.
4. The picture displaying method according to claim 1, wherein the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the displaying of the picture on the mobile terminal according to the angle variation parameter includes:
and when the angle variation is larger than a second preset variation and the variation direction is matched with the direction corresponding to the switching instruction, switching to the previous picture or the next picture according to the switching instruction.
5. The picture displaying method according to claim 1, wherein the angle variation parameter includes a variation direction, and before the step of controlling the displaying of the picture on the mobile terminal according to the angle variation parameter, the method further comprises:
detecting the distance of the mobile terminal relative to the face of a user;
when the distance is smaller than a first preset distance, the step of controlling the display of the mobile terminal picture according to the angle change parameter comprises the following steps:
and when the changing direction is matched with the direction corresponding to the amplifying instruction, amplifying the current picture displayed by the mobile terminal according to the amplifying instruction.
6. The method for displaying pictures according to claim 5, wherein after the step of detecting the distance of the mobile terminal relative to the face of the user, the method further comprises:
when the distance is greater than a second preset distance, the step of controlling the display of the mobile terminal picture according to the angle change parameter comprises the following steps:
and when the changing direction is matched with the direction corresponding to the reducing instruction, reducing the current picture according to the reducing instruction, wherein the second preset distance is greater than the first preset distance.
7. The picture displaying method according to claim 1, wherein the angle variation parameter includes an angle variation and a variation direction, and the step of controlling the displaying of the picture on the mobile terminal according to the angle variation parameter includes:
and when the angle variation is larger than a third preset variation and the variation direction is matched with the direction corresponding to the deleting instruction, deleting the current picture displayed by the mobile terminal according to the deleting instruction.
8. A mobile terminal, characterized in that the mobile terminal comprises a memory, a sensor, a processor and a picture presentation program stored on the memory and executable on the processor, the picture presentation program, when executed by the processor, implementing the steps of the picture presentation method according to any one of claims 1 to 7.
9. A computer-readable storage medium, on which a picture presentation program is stored, which, when executed by a processor, implements the steps of the picture presentation method according to any one of claims 1 to 7.
CN201710415881.7A 2017-06-05 2017-06-05 Picture display method, mobile terminal and computer readable storage medium Active CN107145287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710415881.7A CN107145287B (en) 2017-06-05 2017-06-05 Picture display method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710415881.7A CN107145287B (en) 2017-06-05 2017-06-05 Picture display method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN107145287A CN107145287A (en) 2017-09-08
CN107145287B true CN107145287B (en) 2021-06-15

Family

ID=59779534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710415881.7A Active CN107145287B (en) 2017-06-05 2017-06-05 Picture display method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN107145287B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107765975A (en) * 2017-09-28 2018-03-06 五八有限公司 The picture display processing method and mobile terminal of mobile terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013021539A1 (en) * 2011-08-10 2013-02-14 パナソニック株式会社 Information display device
CN103076953A (en) * 2012-12-26 2013-05-01 广东欧珀移动通信有限公司 Method for previewing picture files on user terminal equipment and user terminal equipment
CN104407785A (en) * 2013-12-10 2015-03-11 贵阳朗玛信息技术股份有限公司 Information displaying method and device
CN106227342A (en) * 2016-07-19 2016-12-14 王晓语 Image display method and device
CN106569694A (en) * 2016-11-07 2017-04-19 惠州Tcl移动通信有限公司 Control method and control system for picture zooming

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013021539A1 (en) * 2011-08-10 2013-02-14 パナソニック株式会社 Information display device
CN103076953A (en) * 2012-12-26 2013-05-01 广东欧珀移动通信有限公司 Method for previewing picture files on user terminal equipment and user terminal equipment
CN104407785A (en) * 2013-12-10 2015-03-11 贵阳朗玛信息技术股份有限公司 Information displaying method and device
CN106227342A (en) * 2016-07-19 2016-12-14 王晓语 Image display method and device
CN106569694A (en) * 2016-11-07 2017-04-19 惠州Tcl移动通信有限公司 Control method and control system for picture zooming

Also Published As

Publication number Publication date
CN107145287A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN107943367B (en) Interface display method of double-screen terminal, double-screen terminal and computer storage medium
CN107257409B (en) Screen state control method, mobile terminal and computer readable storage medium
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN107943400B (en) Double-sided screen switching method, mobile terminal and readable storage medium
CN108108081B (en) Information display method based on double-sided screen, mobile terminal and readable storage medium
CN110007816B (en) Display area determining method, terminal and computer readable storage medium
CN108459803B (en) Picture sending method based on double-sided screen, mobile terminal and readable storage medium
CN108459805B (en) Screen capture method, mobile terminal and computer-readable storage medium
CN107809534B (en) Control method, terminal and computer storage medium
US20150077437A1 (en) Method for Implementing Electronic Magnifier and User Equipment
CN108984063B (en) Desktop interaction regulation and control method and device and computer readable storage medium
CN108111761B (en) Anti-shake processing method, terminal and computer readable storage medium
CN108563388B (en) Screen operation method, mobile terminal and computer-readable storage medium
CN112306366A (en) Operation method, mobile terminal and storage medium
CN109408187B (en) Head portrait setting method and device, mobile terminal and readable storage medium
CN108810262B (en) Application configuration method, terminal and computer readable storage medium
CN109040580B (en) Mobile terminal and photographing control method and device thereof
CN108287627B (en) Interface operation method based on flexible screen, terminal and computer readable storage medium
CN107145287B (en) Picture display method, mobile terminal and computer readable storage medium
CN112558826A (en) Shortcut operation method, mobile terminal and storage medium
CN108696638B (en) Control method of mobile terminal and mobile terminal
CN107831998B (en) Interface moving method, terminal and computer readable storage medium
CN108897417B (en) Working mode adjusting method, mobile terminal and computer readable storage medium
CN107256108B (en) Screen splitting method, device and computer readable storage medium
CN112015508B (en) Screen-throwing interaction control method, equipment and computer-readable storage medium

Legal Events

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