[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108566489B - Information display method, terminal and computer readable storage medium - Google Patents

Information display method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN108566489B
CN108566489B CN201810338732.XA CN201810338732A CN108566489B CN 108566489 B CN108566489 B CN 108566489B CN 201810338732 A CN201810338732 A CN 201810338732A CN 108566489 B CN108566489 B CN 108566489B
Authority
CN
China
Prior art keywords
parameter
display screen
preset
value
distance value
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
CN201810338732.XA
Other languages
Chinese (zh)
Other versions
CN108566489A (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 CN201810338732.XA priority Critical patent/CN108566489B/en
Publication of CN108566489A publication Critical patent/CN108566489A/en
Application granted granted Critical
Publication of CN108566489B publication Critical patent/CN108566489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72457User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to geographic location
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an information display method, which comprises the steps of obtaining the current display mode of information in a display screen; when the movement of the display screen relative to a preset reference object is detected to meet a preset condition, determining the movement direction and the movement distance value of the display screen relative to the preset reference object; determining a first parameter and a second parameter corresponding to the current display mode and the current moving direction according to a preset parameter library; and when the moving distance value is greater than the first parameter and is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction. The embodiment of the invention also discloses a terminal and a computer readable storage medium, which can dynamically adjust the display of information in the display screen and improve the user experience.

Description

Information display method, terminal and computer readable storage medium
Technical Field
The present invention relates to information processing technologies in the field of communications, and in particular, to an information display method, a terminal, and a computer-readable storage medium.
Background
With the continuous development of the internet and electronic technology, various mobile terminals are more and more widely applied in the life of people, such as smart phones, tablet computers and the like. Meanwhile, people use mobile terminals more and more frequently, for example, when walking or sitting on a car. In the prior art, if a user walks or rides a vehicle running on an uneven road, the jolt is severe, and at this time, the user watches the display screen of the mobile terminal to generate a feeling of dizziness, which causes a poor experience for the user.
Disclosure of Invention
In order to solve the foregoing technical problem, embodiments of the present invention provide an information display method, a terminal, and a computer-readable storage medium, which can adjust display of information in a display screen according to a movement distance value and a movement direction, thereby improving user experience.
The technical scheme of the invention is realized as follows:
in one aspect, an embodiment of the present invention provides an information display method, where the method includes:
acquiring a current display mode of information in a display screen;
when the fact that the movement of the display screen relative to a preset reference object meets a preset condition is detected, determining the movement direction and the movement distance value of the display screen relative to the preset reference object;
determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library;
and when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
In the above solution, the determining the moving direction and the moving distance value of the display screen relative to the preset reference object includes:
detecting the moving direction, the acceleration value and the displacement time of the display screen relative to the preset reference object by using an acceleration sensor;
and calculating the moving distance value of the display screen relative to the preset reference object according to the acceleration value and the displacement time.
In the above solution, the display screen at least includes: a first side and a second side, the first side being perpendicular to the second side;
the determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library includes:
when the displacement direction is parallel to the first side, determining that the length value of the first side in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
when the displacement direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
and when the displacement direction is not parallel to the first side edge and the displacement direction is not parallel to the second side edge, determining that the diagonal value of the display screen in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter.
In the foregoing solution, when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting display of information in the display screen according to the moving distance value and the moving direction includes:
when the moving distance value is larger than the first parameter and smaller than the second parameter, determining the moving distance value as a distance compensation value of information in the display screen;
and displaying the information in the display screen after moving the information in the display screen in the direction opposite to the moving direction by the distance compensation value.
In the above scheme, the method further comprises:
and when the information in the display screen is displayed after the information in the display screen is moved in the direction opposite to the moving direction by the distance compensation value, displaying a preset graph on a part of the display screen where the information is not displayed.
In one aspect, a terminal, the terminal comprising: a processor and a memory; wherein,
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory to implement the steps of:
acquiring a current display mode of information in a display screen;
when the fact that the movement of the display screen relative to a preset reference object meets a preset condition is detected, determining the movement direction and the movement distance value of the display screen relative to the preset reference object;
determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library;
and when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
In the above solution, the processor is configured to execute the computer program stored in the memory to implement the following steps:
detecting the moving direction, the acceleration value and the displacement time of the display screen relative to the preset reference object by using an acceleration sensor;
and calculating the moving distance value of the display screen relative to the preset reference object according to the acceleration value and the displacement time.
In the above solution, the display screen at least includes: a first side and a second side, the first side being perpendicular to the second side;
the processor is configured to execute the computer program stored in the memory to implement the steps of:
when the displacement direction is parallel to the first side, determining that the length value of the first side in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
when the displacement direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
and when the displacement direction is not parallel to the first side edge and the displacement direction is not parallel to the second side edge, determining that the diagonal value of the display screen in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter.
In the above solution, the processor is configured to execute the computer program stored in the memory to implement the following steps:
when the moving distance value is larger than the first parameter and smaller than the second parameter, determining the moving distance value as a distance compensation value of information in the display screen;
and displaying the information in the display screen after moving the information in the display screen in the direction opposite to the moving direction by the distance compensation value.
In one aspect, embodiments of the present invention also provide a computer-readable storage medium storing one or more programs, which are executable by one or more processors to implement the steps of the method as described in any one of the above.
The information display method, the terminal and the computer readable storage medium provided by the embodiment of the invention are used for acquiring the current display mode of information in a display screen; when the fact that the movement of the display screen relative to a preset reference object meets a preset condition is detected, determining the movement direction and the movement distance value of the display screen relative to the preset reference object; determining a first parameter and a second parameter corresponding to the current display mode and the current moving direction according to a preset parameter library; and when the moving distance value is greater than the first parameter and is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction. The embodiment of the invention also discloses a terminal and a computer readable storage medium, which can adjust the display of information in the display screen according to the moving distance value and the moving direction and improve the user experience.
Drawings
Fig. 1 is a schematic hardware configuration diagram of an alternative mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
fig. 3 is a first schematic flow chart of an information display method according to an embodiment of the present invention;
fig. 4 is a first schematic diagram of an exemplary terminal display interface according to an embodiment of the present invention;
fig. 5 is a schematic flow chart of an information display method according to an embodiment of the present invention;
fig. 6 is a schematic diagram of an exemplary terminal display interface provided in the embodiment of the present invention;
fig. 7 is a third schematic diagram of an exemplary terminal display interface according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of 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, 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, 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, and power 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:
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 Access2000 ), 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 the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi 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.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a 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 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 a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 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 the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
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, 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 the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processors; 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.
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 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 an IP 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 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 mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
The embodiment of the invention provides an information display method, which is applied to a terminal, the functions realized by the method can be realized by calling a program code through a processor in the terminal, the program code can be saved in a computer storage medium, and the terminal at least comprises the processor and the storage medium. Fig. 3 is a schematic view of an implementation flow of an information display method according to an embodiment of the present invention, and as shown in fig. 3, the method may include the following steps:
step 301, acquiring a current display mode of information in a display screen.
Specifically, the execution subject of the method provided by the embodiment of the present invention is a terminal, the terminal is a terminal having a display screen, and information can be displayed in the display screen, and at this time, the information in the display screen can be viewed by using the display screen.
Illustratively, the terminal may be implemented in various forms. For example, mobile terminals such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), navigation devices, and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
Wherein the current display mode at least comprises: a landscape display mode or a portrait display mode.
At this time, the acquiring a current display mode of information in the display screen may specifically include: and acquiring the information in the display screen, wherein the information is currently in a horizontal screen display mode or a vertical screen display mode.
Illustratively, when a user chats with application software of a smart phone, the smart phone is usually placed vertically, and at this time, the smart phone acquires that information in a display screen is currently in a vertical screen display mode; or, when the user plays a game with the smartphone, the smartphone is usually placed horizontally, and at this time, the smartphone acquires that information in the display screen is currently in a vertical screen display mode.
Step 302, when it is detected that the movement of the display screen relative to a preset reference object meets a preset condition, determining a movement direction and a movement distance value of the display screen relative to the preset reference object.
Here, the preset reference object may be a user holding the terminal, or may be another reference object, and any reference object that can indicate that the display screen moves relatively may be used as the preset reference object.
Here, a specific application scenario of the embodiment of the present invention is generally a situation where a state of the terminal changes instantaneously, and in order to avoid visual discomfort caused by the instantaneous change of the user's view and the terminal state, appropriate adjustment is made to compensate for the visual discomfort, so as to reduce the visual discomfort of the user.
Here, when it is detected that the movement of the display screen relative to a preset reference object satisfies a preset condition, it is described that the display screen changes instantaneously relative to the preset reference object.
Specifically, the detection that the movement of the display screen relative to the preset reference object meets the preset condition may be: detecting that the moving speed of the display screen relative to the preset reference object at a first time point and a second time point adjacent to the first time point changes; the following steps can be also included: the change of the moving acceleration of the display screen relative to the preset reference object at a first time point and a second time point adjacent to the first time point is detected, and the like.
The moving speed of the display screen relative to the preset reference object at the first time point is normally zero, that is, the display screen is stationary relative to the user holding the terminal at the first time point.
Wherein the determining of the moving direction and the moving distance value of the display screen relative to the preset reference object comprises:
detecting the moving direction, the acceleration value and the displacement time of the display screen relative to the preset reference object by using an acceleration sensor;
and calculating the moving distance value of the display screen relative to the preset reference object according to the acceleration value and the displacement time.
Here, it is prior art to calculate a moving distance value of the display screen relative to the preset reference object by using the acceleration value and the displacement time, and the details of the embodiment of the present invention are not repeated herein.
Wherein the terminal has an acceleration sensor, the acceleration sensor is generally composed of a mass, a damper, an elastic element, a sensing element, and an adjusting circuit, and the acceleration sensor includes a capacitor type, an inductance type, a strain type, a piezoresistive type, a piezoelectric type, and the like.
Step 303, determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library.
It should be noted that the display screen at least includes: a first side edge and a second side edge, the first side edge being perpendicular to the second side edge.
Wherein, the preset parameter library comprises: presetting a minimum compensation distance value and a maximum compensation distance value.
The preset minimum compensation distance value is a fixed value preset by the terminal, and as long as a value satisfying a movement variation range recognizable by the human eyeball can be used as the preset minimum compensation distance value, for example, the maximum value of the movement variation range recognizable by the human eyeball is X, the preset minimum compensation distance value can be set as X.
The preset maximum compensation distance value is a plurality of fixed values preset by the terminal, and the fixed values may specifically be: the length value of the first side, the length value of the second side and the diagonal value of the display screen.
And the diagonal value of the display screen is a length value between two top angles which are not adjacent in the display screen.
Illustratively, as shown in fig. 4, the two corners that are not adjacent to each other may be a corner a and a corner B, or a corner C and a corner D, and in this case, the diagonal value of the display screen may be a length value between the corner a and the corner B, or a length value between the corner C and the corner D.
Specifically, after the moving direction and the moving distance value of the display screen relative to the preset reference object, at this time, a first parameter and a second parameter corresponding to the current display mode and the moving direction need to be determined according to the preset parameter library.
Wherein the determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to the preset parameter library includes:
when the displacement direction is parallel to the first side, determining that the length value of the first side in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter;
when the displacement direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter;
when the displacement direction is not parallel to the first side edge and the displacement direction is not parallel to the second side edge, determining that a diagonal value of the display screen in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter.
And 304, when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
Wherein when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction includes:
when the moving distance value is larger than the first parameter and smaller than the second parameter, determining the moving distance value as a distance compensation value of information in the display screen;
and displaying the information in the display screen after moving the information in the display screen in the direction opposite to the moving direction by the distance compensation value.
Here, if the moving distance value is smaller than the first parameter, the display of the information in the display screen is not adjusted, because when the moving distance value of the display screen relative to the preset reference object is smaller than the first parameter, the user is not influenced to view the information in the display screen even if the display of the information in the display screen is not adjusted;
if the moving distance value is greater than the second parameter, the display of the information in the display screen is not adjusted, because when the moving distance value of the display screen relative to the preset reference object is greater than the second parameter, for example, if the terminal falls on the ground and the user cannot continue to use the terminal, the user cannot continue to use the terminal even if the display of the information in the display screen is adjusted.
According to the information display method provided by the embodiment of the invention, the first parameter and the second parameter corresponding to the current display mode and the current moving direction are determined according to the preset parameter library, and when the moving distance value is greater than the first parameter and is smaller than the second parameter, the display of the information in the display screen is adjusted according to the moving distance value and the moving direction, so that the display of the information in the display screen can be dynamically adjusted when the display screen of the terminal moves instantaneously, the information cannot be dazzled when a user views the information, the intelligent anti-shaking function is realized, and the user experience is improved.
The embodiment of the invention also provides an information display method which is applied to a terminal, the functions realized by the method can be realized by calling the program codes through a processor in the terminal, the program codes can be saved in a computer storage medium, and the terminal at least comprises the processor and the storage medium. As shown in fig. 5, an information display method provided in an embodiment of the present invention includes the following steps:
step 501, acquiring a current display mode of information in a display screen.
Preferably, the current display mode is one of a landscape display mode and a portrait display mode.
Specifically, the execution subject of the method provided by the embodiment of the present invention is a terminal, the terminal is a terminal having a display screen, and information can be displayed in the display screen, and at this time, the information in the display screen can be viewed by using the display screen.
Illustratively, the terminal may be implemented in various forms. For example, mobile terminals such as mobile phones, smart phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), navigation devices, and the like, and fixed terminals such as digital TVs, desktop computers, and the like.
Specifically, the acquiring a current display mode of information in the display screen may specifically include: and detecting that the information in the display screen is currently in a horizontal screen display mode or a vertical screen display mode by using a gravity sensor.
The terminal is provided with a gravity sensor, the gravity sensor is a cantilever type displacement device made of an elastic sensitive element, and an energy storage spring made of the elastic sensitive element is used for driving an electric contact to complete conversion from gravity change to an electric signal.
Illustratively, when a user chats with the WeChat software of a smartphone, the smartphone is usually placed upright, at which time a gravity sensor in the smartphone detects that information in the display screen is currently in a portrait screen display mode.
Step 502, detecting whether the movement of the display screen relative to a preset reference object meets a preset condition.
Preferably, in the embodiment of the present invention, the preset reference object is a user holding the terminal.
At this time, detecting whether the movement of the display screen relative to the preset reference object meets a preset condition may specifically include: detecting whether the moving speed of the display screen relative to a user holding the terminal at a first time point and a second time point adjacent to the first time point changes or not by using an acceleration sensor; or detecting whether the movement acceleration of the display screen relative to the user holding the terminal at a first time point and a second time point adjacent to the first time point changes or not by using an acceleration sensor.
Step 503, when it is detected that the movement of the display screen relative to a preset reference object meets a preset condition, determining the movement direction, the acceleration value and the displacement time of the display screen relative to the preset reference object.
Here, when it is detected that the movement of the display screen with respect to the preset reference object satisfies a preset condition, a moving direction, an acceleration value, and a displacement time of the display screen with respect to the user holding the terminal may be detected using the acceleration sensor.
And step 504, calculating a moving distance value of the display screen relative to the preset reference object according to the acceleration value and the displacement time.
Here, the moving distance value s of the display screen with respect to the user holding the terminal may be calculated according to the following formula:
Figure BDA0001630012830000161
wherein said a represents said acceleration value and said t represents said displacement time.
Illustratively, when a user rides a vehicle running on an uneven road, the smartphone moves relative to the user holding the smartphone in a certain direction, that is, the display screen of the smartphone moves relative to the user holding the smartphone in a certain direction, at this time, the acceleration sensor in the smartphone detects the moving direction, the acceleration value a and the displacement time t of the display screen relative to the user holding the smartphone, and the acceleration value a and the displacement time t are calculated according to the formula
Figure BDA0001630012830000162
A movement distance value s of the display screen relative to the user is calculated.
And 505, determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library.
It should be noted that the display screen at least includes: a first side edge and a second side edge, the first side edge being perpendicular to the second side edge.
For example, as shown in fig. 4, the first side of the display screen may be an AD side or a BC side, and in this case, the second side of the display screen may be a BD side perpendicular to the first side or an AC side perpendicular to the first side; optionally, the first side of the display screen may be an AC side or a BD side, and in this case, the second side of the display screen may be a BC side perpendicular to the first side or an AD side perpendicular to the first side.
Wherein, the preset parameter library comprises: presetting a minimum compensation distance value and a maximum compensation distance value.
Preferably, the preset maximum compensation distance value includes: the length value of the first side, the length value of the second side and a diagonal value of the display screen; wherein the length value of the first side is different from the length value of the second side.
Specifically, according to a preset parameter library, determining a first parameter and a second parameter corresponding to the current display mode and the moving direction may be:
if the current display mode is a landscape display mode and the displacement direction is parallel to the first side, determining the length value of the first side in the preset parameter library as the second parameter, and determining the preset minimum compensation distance value in the preset parameter library as the first parameter;
if the current display mode is a vertical screen display mode and the displacement direction is parallel to the first side edge, determining that the length value of the first side edge in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
if the current display mode is a landscape display mode and the displacement direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter;
if the current display mode is a vertical screen display mode and the displacement direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter;
if the current display mode is a horizontal screen display mode or a vertical screen display mode, the displacement direction is not parallel to the first side edge, and the displacement direction is not parallel to the second side edge, determining that a diagonal value of the display screen in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter.
For example, as shown in fig. 6, it is assumed that four corners of the smartphone display screen are: A. b, C, D, the AD edge is the first side, and the length value of the AD edge is L, one possible scenario is: when a user rides a vehicle running on an uneven road, the user also chats by using the WeChat software of the smart phone, at the moment, the smart phone detects that the current display mode of information in the display screen is a vertical screen display mode, at the moment, the display screen of the smart phone moves relative to the user holding the smart phone due to severe jolting, the smart phone detects that the moving direction is parallel to the AD edge of the first side, the moving distance value is P, at the moment, the smart phone selects the length value L of the AD edge of the first side in the preset parameter library as the second parameter according to the current moving direction and the moving distance value, and the smart phone determines that the preset minimum compensation distance value in the preset parameter library is the first parameter.
Step 506, when the moving distance value is larger than the first parameter and the moving distance value is smaller than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
Here, only when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, the display of the information in the display screen can be adjusted according to the moving distance value and the moving direction, specifically: when the moving distance value is larger than the first parameter and smaller than the second parameter, determining the moving distance value as a distance compensation value of information in the display screen; and displaying the information in the display screen after moving the information in the display screen in the direction opposite to the moving direction by the distance compensation value.
Furthermore, step 506 further comprises: when the moving distance value is larger than the first parameter and the moving distance value is smaller than the second parameter, and the display of the information in the display screen is adjusted according to the moving distance value and the moving direction, displaying a preset graph on a part of the display screen where the information is not displayed.
Wherein, the preset graph can be: the preset black graph or the preset white graph may also be other graphs, where only a part of the display screen where information is not displayed may be marked, and an image that distinguishes the part of the display screen where information is not displayed and the part of the display screen where information is displayed may be both used as the preset graph.
Illustratively, as shown in fig. 6, when the smartphone detects that the moving distance value P is greater than the first parameter and less than the second parameter, the smartphone automatically determines the moving distance value P as a distance compensation value F of information in the display screen, and displays the information in the display screen after moving the distance compensation value F in the display screen in a direction opposite to the moving direction of fig. 6, as shown in fig. 7, the area a of the display screen is a portion where information is displayed, the area B of the display screen is a portion where information is not displayed, and the area B of the display screen is displayed in a black pattern.
According to the information display method provided by the embodiment of the invention, the first parameter and the second parameter corresponding to the current display mode and the current moving direction are determined according to the preset parameter library, and when the moving distance value is greater than the first parameter and is smaller than the second parameter, the display of the information in the display screen is adjusted according to the moving distance value and the moving direction, so that the display of the information in the display screen can be dynamically adjusted when the display screen of the terminal moves instantaneously, and the part of the display screen which does not display the information is displayed according to the preset image, so that a user cannot be dizzy when watching the information, an intelligent anti-shake function is realized, and the user experience is improved.
An embodiment of the present invention further provides a terminal 80, fig. 8 is a schematic diagram of a structure of the terminal according to the embodiment of the present invention, and as shown in fig. 8, the terminal 80 includes: a processor 801 and a memory 802; wherein,
the memory 802 is used for storing computer programs;
the processor 801 is configured to execute the computer program stored in the memory 802 to implement the following steps:
acquiring a current display mode of information in a display screen;
when the fact that the movement of the display screen relative to a preset reference object meets a preset condition is detected, determining the movement direction and the movement distance value of the display screen relative to the preset reference object;
determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library;
and when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
Further, the processor 801 is configured to execute the computer program stored in the memory 802 to implement the following steps:
detecting the moving direction, the acceleration value and the displacement time of the display screen relative to the preset reference object by using an acceleration sensor;
and calculating the moving distance value of the display screen relative to the preset reference object according to the acceleration value and the displacement time.
Further, the display screen includes at least: a first side and a second side, the first side being perpendicular to the second side;
the processor 801 is configured to execute the computer program stored in the memory 802 to implement the following steps:
when the displacement direction is parallel to the first side, determining that the length value of the first side in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
when the displacement direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
and when the displacement direction is not parallel to the first side edge and the displacement direction is not parallel to the second side edge, determining that the diagonal value of the display screen in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter.
Further, the processor 801 is configured to execute the computer program stored in the memory 802 to implement the following steps:
when the moving distance value is larger than the first parameter and smaller than the second parameter, determining the moving distance value as a distance compensation value of information in the display screen;
and displaying the information in the display screen after moving the information in the display screen in the direction opposite to the moving direction by the distance compensation value.
Further, the processor 801 is configured to execute the computer program stored in the memory 802 to implement the following steps:
and when the information in the display screen is displayed after the information in the display screen is moved in the direction opposite to the moving direction by the distance compensation value, displaying a preset graph on a part of the display screen where the information is not displayed.
The memory 802 in embodiments of the present invention is used to store various types of data to support the operation of the terminal 80. Examples of such data include: any computer program for operating on the terminal 80, such as an operating system and application programs; contact data; telephone book data; a message; a picture; video, etc. The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs such as a Media Player (Media Player), a Browser (Browser), etc. for implementing various application services. The program for implementing the method of the embodiment of the present invention may be included in the application program.
The methods disclosed in the embodiments of the present invention described above may be implemented in the processor 801 or implemented by the processor 801. The processor 801 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 801. The Processor 801 may be a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like. Processor 801 may implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. Software modules may be located in storage media that store information in the memory 802 and processor 801 in conjunction with their hardware to perform the steps of the aforementioned methods.
Specifically, the above description of the terminal embodiment is similar to the description of the method embodiment, and for technical details that are not disclosed in the terminal embodiment of the present invention, reference may be made to the description of the information processing method embodiment, and no further description is given to the embodiment of the present invention.
According to the terminal provided by the embodiment of the invention, when the moving distance value is greater than the first parameter and is less than the second parameter, the display of the information in the display screen is adjusted according to the moving distance value and the moving direction, so that intelligent anti-shake is realized, and the user experience is improved.
In the embodiment of the present invention, if the information processing method is implemented in the form of a software functional module and sold or used as an independent product, the information processing method may also be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.
An embodiment of the present invention provides a computer-readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of:
acquiring a current display mode of information in a display screen;
when the fact that the movement of the display screen relative to a preset reference object meets a preset condition is detected, determining the movement direction and the movement distance value of the display screen relative to the preset reference object;
determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library;
and when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
The above description of the computer-readable storage medium embodiments, similar to the above description of the method, has the same beneficial effects as the method embodiments. For technical details not disclosed in the embodiments of the computer-readable storage medium of the present invention, a person skilled in the art shall understand with reference to the description of the embodiments of the method of the present invention.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present invention may be integrated into one processor, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: various media that can store program codes, such as a removable Memory device, a Read Only Memory (ROM), a magnetic disk, or an optical disk.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a magnetic or optical disk, or other various media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. An information display method, characterized in that the method comprises:
acquiring a current display mode of information in a display screen;
when the fact that the movement of the display screen relative to a preset reference object meets a preset condition is detected, determining the movement direction and the movement distance value of the display screen relative to the preset reference object;
determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library; wherein the first parameter is used for indicating a value of movement change in a human eyeball identification range, and the second parameter is used for indicating a value associated with the size of the display screen;
and when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
2. The method of claim 1, wherein the determining the moving direction and the moving distance value of the display screen relative to the preset reference object comprises:
detecting the moving direction, the acceleration value and the displacement time of the display screen relative to the preset reference object by using an acceleration sensor;
and calculating the moving distance value of the display screen relative to the preset reference object according to the acceleration value and the displacement time.
3. The method according to claim 1 or 2,
the display screen includes at least: a first side and a second side, the first side being perpendicular to the second side;
the determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library includes:
when the moving direction is parallel to the first side, determining that the length value of the first side in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
when the moving direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
and when the moving direction is not parallel to the first side edge and the moving direction is not parallel to the second side edge, determining that the diagonal value of the display screen in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter.
4. The method of claim 3, wherein when the movement distance value is greater than the first parameter and the movement distance value is less than the second parameter, adjusting the display of the information in the display screen according to the movement distance value and the movement direction comprises:
when the moving distance value is larger than the first parameter and smaller than the second parameter, determining the moving distance value as a distance compensation value of information in the display screen;
and displaying the information in the display screen after moving the information in the display screen in the direction opposite to the moving direction by the distance compensation value.
5. The method of claim 4, further comprising:
and when the information in the display screen is displayed after the information in the display screen is moved in the direction opposite to the moving direction by the distance compensation value, displaying a preset graph on a part of the display screen where the information is not displayed.
6. A terminal, characterized in that the terminal comprises: a processor and a memory; wherein,
the memory is used for storing a computer program;
the processor is configured to execute the computer program stored in the memory to implement the steps of:
acquiring a current display mode of information in a display screen;
when the fact that the movement of the display screen relative to a preset reference object meets a preset condition is detected, determining the movement direction and the movement distance value of the display screen relative to the preset reference object;
determining a first parameter and a second parameter corresponding to the current display mode and the moving direction according to a preset parameter library; wherein the first parameter is used for indicating a value of movement change in a human eyeball identification range, and the second parameter is used for indicating a value associated with the size of the display screen;
and when the moving distance value is greater than the first parameter and the moving distance value is less than the second parameter, adjusting the display of the information in the display screen according to the moving distance value and the moving direction.
7. The terminal of claim 6, wherein the processor is configured to execute a computer program stored in the memory to perform the steps of:
detecting the moving direction, the acceleration value and the displacement time of the display screen relative to the preset reference object by using an acceleration sensor;
and calculating the moving distance value of the display screen relative to the preset reference object according to the acceleration value and the displacement time.
8. The terminal according to claim 6 or 7,
the display screen includes at least: a first side and a second side, the first side being perpendicular to the second side;
the processor is configured to execute the computer program stored in the memory to implement the steps of:
when the moving direction is parallel to the first side, determining that the length value of the first side in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
when the moving direction is parallel to the second side edge, determining that the length value of the second side edge in the preset parameter library is the second parameter, and determining that a preset minimum compensation distance value in the preset parameter library is the first parameter;
and when the moving direction is not parallel to the first side edge and the moving direction is not parallel to the second side edge, determining that the diagonal value of the display screen in the preset parameter library is the second parameter, and determining that the preset minimum compensation distance value in the preset parameter library is the first parameter.
9. The terminal of claim 8, wherein the processor is configured to execute a computer program stored in the memory to perform the steps of:
when the moving distance value is larger than the first parameter and smaller than the second parameter, determining the moving distance value as a distance compensation value of information in the display screen;
and displaying the information in the display screen after moving the information in the display screen in the direction opposite to the moving direction by the distance compensation value.
10. A computer readable storage medium, characterized in that the computer readable storage medium stores one or more programs which are executable by one or more processors to implement the steps of the method according to any one of claims 1 to 5.
CN201810338732.XA 2018-04-16 2018-04-16 Information display method, terminal and computer readable storage medium Active CN108566489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810338732.XA CN108566489B (en) 2018-04-16 2018-04-16 Information display method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810338732.XA CN108566489B (en) 2018-04-16 2018-04-16 Information display method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108566489A CN108566489A (en) 2018-09-21
CN108566489B true CN108566489B (en) 2020-11-24

Family

ID=63535297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810338732.XA Active CN108566489B (en) 2018-04-16 2018-04-16 Information display method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108566489B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4300818B2 (en) * 2002-11-25 2009-07-22 日産自動車株式会社 In-vehicle display device and portable display device
WO2006095573A1 (en) * 2005-03-08 2006-09-14 Sharp Kabushiki Kaisha Portable terminal device
CN103677269A (en) * 2013-12-11 2014-03-26 小米科技有限责任公司 Method and device for displaying content and terminal device
CN104320545B (en) * 2014-11-14 2019-03-12 陕西亚成微电子股份有限公司 A kind of mobile phone screen anti-fluttering method
CN106339070B (en) * 2015-07-09 2021-03-16 腾讯科技(深圳)有限公司 Display control method and mobile terminal
CN106843634B (en) * 2016-12-15 2020-11-10 宇龙计算机通信科技(深圳)有限公司 Screen display adjustment method and system

Also Published As

Publication number Publication date
CN108566489A (en) 2018-09-21

Similar Documents

Publication Publication Date Title
CN110175062B (en) Screen refreshing frame rate method of mobile terminal, mobile terminal and storage medium
CN110417999B (en) Screen brightness adjusting method, mobile terminal and computer readable storage medium
CN108881635B (en) Screen brightness adjusting method, mobile terminal and computer readable storage medium
CN108038834B (en) Method, terminal and computer readable storage medium for reducing noise
CN107295270B (en) Image brightness value determination method and device, terminal and computer-readable storage medium
CN107888768B (en) Unlocking control method, terminal and computer readable storage medium
CN108234876B (en) Tracking focusing method, terminal and computer readable storage medium
CN108184023B (en) Screen state control method, mobile terminal and computer readable storage medium
CN108037887B (en) Method for constructing virtual key of terminal, terminal and computer readable storage medium
CN107979667B (en) Dual-screen display method, mobile terminal and computer-readable storage medium
CN112261535A (en) Major-minor switching method and device for wireless earphone and readable storage medium
CN112667339B (en) Screen refresh rate setting method, terminal and computer readable medium
CN108334266B (en) Control method of flexible terminal, flexible terminal and computer readable storage medium
CN112712815A (en) Software-based pop sound suppression method, terminal and computer readable medium
CN109491577B (en) Holding interaction method and device and computer readable storage medium
CN112437472B (en) Network switching method, equipment and computer readable storage medium
CN107743199B (en) Image processing method, mobile terminal and computer readable storage medium
CN107566631B (en) Volume control method, mobile terminal and computer readable storage medium
CN109067969A (en) The method, apparatus and computer readable storage medium of mobile device and its shatter-resistant
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN108897451B (en) Main and auxiliary display screen identification method, mobile terminal and computer readable storage medium
CN109561221B (en) Call control method, device and computer readable storage medium
CN109151201B (en) Anti-addiction method, mobile terminal and computer storage medium
CN108897417B (en) Working mode adjusting method, mobile terminal and computer readable storage medium
CN108196924B (en) Brightness adjusting method, terminal 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