CN107797652B - Method, device and terminal for adjusting display effect - Google Patents

Method, device and terminal for adjusting display effect Download PDF

Info

Publication number
CN107797652B
CN107797652B CN201610804532.XA CN201610804532A CN107797652B CN 107797652 B CN107797652 B CN 107797652B CN 201610804532 A CN201610804532 A CN 201610804532A CN 107797652 B CN107797652 B CN 107797652B
Authority
CN
China
Prior art keywords
terminal
display
display content
adjusting
movement
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
CN201610804532.XA
Other languages
Chinese (zh)
Other versions
CN107797652A (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201610804532.XA priority Critical patent/CN107797652B/en
Priority to PCT/CN2017/092598 priority patent/WO2018040754A1/en
Publication of CN107797652A publication Critical patent/CN107797652A/en
Application granted granted Critical
Publication of CN107797652B publication Critical patent/CN107797652B/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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a method, a device and a terminal for adjusting display effect, and belongs to the technical field of computers. A method of adjusting display effects, comprising: determining a first position of display content on a display screen of a terminal; detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance; and correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal. The method and the device can realize automatic and dynamic adjustment of the position of the display content on the display screen according to the shaking of the terminal, do not need the user to manually adjust the sight range, and improve the user experience.

Description

Method, device and terminal for adjusting display effect
Technical Field
The present invention relates to computer technologies, and in particular, to a method, an apparatus, and a terminal for adjusting a display effect.
Background
Digital reading refers to the digitization of reading, and has two main layers of meanings: firstly, the reading object is digitalized, that is, the reading content is presented in a digitalized way, such as an electronic book, a network novel, an electronic map, a digital photo, a blog, a web page and the like; the second is digitalization of the reading mode, that is, the reading carrier and the terminal are not plane paper, but electronic instruments with screen display, such as PC computer, PDA, MP3, MP4, notebook computer, mobile phone, reader, and the like. Compared with the traditional paper publication, the digital electronic publication has the advantages of large storage capacity, convenient retrieval, convenient storage, low cost and the like. Therefore, digital reading is increasingly popular and sought after among young people in various countries.
When a user uses the electronic reader and the body of the electronic reader shakes, the user can only adjust the sight angle by the user to adapt to the change. Since the user adjusts the sight line artificially, the visual fatigue of the user is often caused, the visual fatigue of the user is greatly damaged, and the reading effect is reduced.
Therefore, a new method, device and terminal for adjusting display effect are needed.
The above information disclosed in this background section is only for enhancement of understanding of the background of the invention and therefore it may contain information that does not constitute prior art that is already known to a person of ordinary skill in the art.
Disclosure of Invention
The invention provides a method, a device and a terminal for adjusting display effect, which can solve the above mentioned problems at least partially or completely.
Additional features and advantages of the invention will be set forth in the detailed description which follows, or may be learned by practice of the invention.
According to an aspect of the present disclosure, there is provided a method of adjusting a display effect, including:
determining a first position of display content on a display screen of a terminal;
detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance;
and correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal.
In an exemplary embodiment of the present disclosure, detecting the movement information of the terminal includes:
detecting the movement acceleration of the terminal through a sensor on the terminal;
and determining the moving direction and the moving distance of the terminal within preset time according to the moving acceleration.
In an exemplary embodiment of the present disclosure, correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the movement information of the terminal includes:
when the moving direction of the terminal is a first direction, adjusting the display content to a second position in a second direction at intervals of preset time; or
When the moving direction of the terminal is the second direction, adjusting the display content to the second position in the first direction at intervals of the preset time;
wherein the first direction is opposite to the second direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
In an exemplary embodiment of the present disclosure, the preset time is greater than or equal to 1/24 seconds.
In an exemplary embodiment of the present disclosure, further comprising:
judging whether the movement acceleration of the terminal in the preset time exceeds a preset threshold value or not;
and when the moving acceleration exceeds the preset threshold value, stopping adjusting the position of the display content.
According to an aspect of the present disclosure, there is provided an apparatus for adjusting a display effect, including:
the terminal comprises a setting module, a display module and a display module, wherein the setting module is used for determining a first position of display content on a display screen of the terminal;
the detection module is used for detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance;
and the adjusting module is used for correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal.
In an exemplary embodiment of the present disclosure, the detection module includes:
the sensor is arranged on the terminal and used for detecting the movement acceleration of the terminal;
and the calculation unit is used for determining the moving direction and the moving distance of the terminal within the preset time according to the moving acceleration.
In an exemplary embodiment of the present disclosure, the adjusting module includes:
a first adjusting unit, configured to adjust the display content to the second position in a second direction at intervals of a preset time when a moving direction of the terminal is a first direction; or
A second adjusting unit, configured to adjust the display content to the second position in the first direction at an interval of the preset time when the moving direction of the terminal is the second direction;
wherein the first direction is opposite to the second direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
In an exemplary embodiment of the present disclosure, the adjusting module includes:
a third adjusting unit, configured to adjust the display content to the second position in a fourth direction at intervals of a preset time when a moving direction of the terminal is a third direction; or
A fourth adjusting unit, configured to adjust the display content to the second position in the third direction at an interval of the preset time when the moving direction of the terminal is the fourth direction;
wherein the third direction is opposite to the fourth direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
In an exemplary embodiment of the present disclosure, further comprising:
the judging module is used for judging whether the movement acceleration of the terminal in the preset time exceeds a preset threshold value or not;
and the stopping module is used for stopping adjusting the position of the display content when the movement acceleration exceeds the preset threshold value.
According to an aspect of the present disclosure, there is provided a terminal including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining a first position of display content on a display screen of a terminal;
detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance;
and correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal.
According to the method, the device and the terminal for adjusting the display effect, the position of the display content on the display screen is automatically adjusted by detecting the shaking of the terminal, the user does not need to adjust the sight angle, and the user experience is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 schematically illustrates a flow chart of a method of adjusting a display effect according to an exemplary embodiment of the present invention;
FIG. 2 schematically illustrates a flow chart of another method of adjusting a display effect according to an exemplary embodiment of the present invention;
FIG. 3 schematically illustrates a display effect of display content on a display screen before adjustment;
FIG. 4 schematically illustrates the display effect of the display content on the display screen after adjustment;
FIG. 5 schematically illustrates a flowchart of yet another method of adjusting a display effect according to an exemplary embodiment of the present invention;
fig. 6 schematically illustrates a block diagram of an apparatus for adjusting a display effect according to an exemplary embodiment of the present invention.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The drawings are merely schematic illustrations of the invention and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to provide a thorough understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, systems, steps, and so forth. In other instances, well-known structures, methods, systems, implementations, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor systems and/or microcontroller systems.
The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of systems and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 schematically shows a flowchart of a method of adjusting a display effect according to an exemplary embodiment of the present invention.
As shown in fig. 1, in step S110, a first position of a display content on a display screen of a terminal is determined.
For example, the terminal is an electronic reader, but the disclosure is not limited thereto, and any electronic device that has a display screen and can perform digital reading can be used to achieve the purpose of the disclosure.
Before a user uses the terminal to read the numbers, the display position of the current display content on the display screen can be preset in the reading software of the electronic reader according to the current sight range of the user, and the preset display position is stored as the first position.
In some embodiments, 70% -80% of the area of the effective display area of the electronic reader display screen may be selected as the size of the first position. However, the present disclosure is not limited thereto, and the user may autonomously set the area size of the currently displayed content according to the preference of the user.
In other embodiments, the middle of the effective display area of the display screen may be selected as the origin of coordinates O, the width direction parallel to the display screen may be the X-axis, and the length direction parallel to the display screen may be the Y-axis (refer to fig. 3). However, the present disclosure is not limited thereto, and the system may select an arbitrary coordinate system as a reference coordinate system for adjusting the display position of the display content.
In one embodiment, the length direction of the display content is parallel to the length direction of the display screen, and the width direction of the display content is parallel to the width direction of the display screen. However, the disclosure is not limited thereto, and the user may select different contour shapes of the current content, such as a circle, an irregular shape, and the like.
In some embodiments, the first location may include a coordinate range of the display content on the display screen, such as an abscissa range (X1, X2), an ordinate range (Y1, Y2); center point coordinates (X3, Y3) of the display content may also be included.
In some embodiments, when the user opens the reading software of the electronic reader, the system uses a pop-up prompt box to display prompt information for prompting the user to select a proper display position, and the user can select to turn on or turn off the function of automatically adjusting the display position of the display content.
In step S120, movement information of the terminal is detected, wherein the movement information includes a movement direction and a movement distance.
In an exemplary embodiment, the step S120 includes: detecting the movement acceleration of the terminal through a sensor on the terminal; and determining the moving direction and the moving distance of the terminal within preset time according to the moving acceleration.
In some embodiments, the sensor comprises an acceleration sensor. In other embodiments, the sensor comprises a three-axis gyroscope which can simultaneously measure the position, the movement track and the acceleration in 6 directions. The three-axis gyroscope has the advantages of small volume, light weight, simple structure and good reliability.
In an exemplary embodiment, in step S120, a moving speed of the terminal may be measured by a speed sensor, and a moving direction and a moving distance of the terminal within the preset time content may be determined according to the moving speed. Any other method capable of determining the moving direction and moving acceleration, speed, distance, etc. of the terminal is within the scope of the present disclosure.
In step S130, the display content on the display screen is correspondingly adjusted to a second position according to the first position of the display content and the movement information of the terminal.
In an exemplary embodiment, the step S130 includes: when the moving direction of the terminal is a first direction, adjusting the display content to a second position in a second direction at intervals of preset time; or when the moving direction of the terminal is the second direction, adjusting the display content to the second position in the first direction at intervals of the preset time.
In an exemplary embodiment, the first direction is opposite to the second direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal. That is, when the user shakes the electronic reader, the system adjusts the display position of the display content to the opposite direction of the shaking. The adjustment distance is related to the moving distance of the terminal, that is, the larger the moving distance of the terminal is, the larger the adjustment distance is.
For example, the first direction is a positive X-axis direction and the second direction is a negative X-axis direction. However, the present disclosure is not limited thereto, and the first direction and the second direction may be any directions. The first direction and the second direction opposite to each other are not necessarily strict in practical application, and may have a certain deviation or error.
In an exemplary embodiment, the step S130 includes: when the moving direction of the terminal is a third direction, adjusting the display content to the second position in a fourth direction at intervals of preset time; or when the moving direction of the terminal is the fourth direction, adjusting the display content to the second position in the third direction at intervals of the preset time.
In an exemplary embodiment, the third direction is opposite to the fourth direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
For example, the third direction is a positive Y-axis direction, and the fourth direction is a negative Y-axis direction. However, the present disclosure is not limited thereto, and the third direction and the fourth direction may be any directions. The third direction and the fourth direction opposite to each other do not necessarily have to be strict in practical application, and may have a certain deviation or error.
In an exemplary embodiment, the preset time is greater than or equal to 1/24 seconds.
Considering the sensitivity of human eyes, the animation effect can be achieved by 24 frames per second, namely, the preset time is greater than or equal to 1/24 seconds, and the adjustment of the display position of the display content does not cause discomfort to human eyes.
According to the method for adjusting the display effect, when the body of the terminal shakes, the system monitors the related speed and the acceleration through the sensors such as the three-axis gyroscope and the like, and adjusts the display position of the current display content on the display screen of the terminal in real time, so that the sight angle of a user can be kept in a relatively static range, the readability of the user is greatly improved, and the reading experience of the user is improved.
Fig. 2 schematically shows a flow chart of another method of adjusting a display effect according to an exemplary embodiment of the present invention.
As shown in fig. 2, in step S210, the system determines whether a moving acceleration a of the terminal is detected, and when the moving acceleration is detected, proceeds to the next step S220; otherwise, the detection is continued.
When the user's amplitude of the shake of the terminal is small, the sensor may not detect the shake, at which point the system maintains the current display position.
In step S220, an adjustment distance of the display content on the display screen during the time T is calculated according to the magnitude of the movement acceleration a.
For example, the moving acceleration a is first decomposed into two coordinate components Ax and Ay on the coordinate system, Ax represents the component on the X axis, Ay represents the component on the Y axis, and according to the calculation formula of the acceleration and the distance, two components of the moving distance in the time T of the terminal can be obtained as follows:
Sx=(1/2)Ax2T (1)
Sy=(1/2)Ay2T (2)
where T is a preset interval time for adjusting the display position once, for example 1/24 seconds.
In some embodiments, the system may set an adjustment distance of the display content on the display screen to be equal to the moving distance of the terminal, that is, the first component Sa and the second component Sb of the adjustment distance are:
Sa=Sx=(1/2)Ax2T (3)
Sb=Sy=(1/2)Ay2T (4)
however, the disclosure is not limited thereto, for example, the system may also set the adjustment distance of the display content on the display screen to be a proportional relationship of the moving distance of the terminal, such as:
Sa=kSx=(1/2)kAx2T (5)
Sb=kSy=(1/2)kAy2T (6)
wherein k is > 0.
In step S230, determining whether the terminal shakes to the left according to the acceleration; when the terminal shakes to the left, the process goes to step S240; otherwise, go to step S250.
The terminal can shake leftwards when the acceleration Ax is greater than 0 and shakes towards the positive direction of the X axis; when the acceleration Ax is smaller than 0, namely the terminal shakes rightwards when shaking towards the negative direction of the X axis; when the acceleration Ay is larger than 0, namely the terminal shakes upwards in the positive direction of the Y axis; and when the acceleration Ay is smaller than 0, namely the terminal shakes downwards when shaking towards the Y-axis negative direction. The disclosure is not so limited.
In step S240, the currently displayed content is moved to the right on the display screen by the first component of the adjustment distance.
In step S250, determining whether the terminal shakes to the right according to the acceleration; when the terminal shakes to the right, the step S260 is carried out; otherwise, the process returns to step S210 to continue detecting the movement acceleration of the terminal.
In step S260, the currently displayed content is moved to the left on the display screen by the first component of the adjusted distance.
In step S270, whether the terminal shakes upward is determined according to the acceleration; when the terminal shakes upwards, the process goes to step S280; otherwise, the process goes to step S290.
In step S280, the currently displayed content is moved down the second component of the adjusted distance on the display screen.
In step S290, it is determined whether the terminal shakes downward according to the acceleration; when the terminal shakes down, the process proceeds to step S2100; otherwise, the process returns to step S210 to continue detecting the movement acceleration of the terminal.
In step S2100, the currently displayed content is moved upward on the display screen by the second component of the adjustment distance.
According to the method for adjusting the display effect, provided by the embodiment of the invention, when the user selects to start the dynamic adjustment function, the system monitors the acceleration Ax and Ay of the electronic reader on the XY axis in real time, and automatically adjusts the display position of the display content on the display screen of the terminal according to the acceleration Ax and Ay.
Hereinafter, T is 1/24 seconds, Sa and Sb are equal to Sx and Sy, respectively. Refer to fig. 3 and 4. Fig. 3 schematically shows the display effect of the display content on the display screen before adjustment. Fig. 4 schematically shows the display effect of the display content on the display screen after adjustment.
As shown in fig. 3, the display content 320 is preset to be a rectangle symmetrical to the origin of coordinates O, and is located at the center of the display screen 310. As shown in fig. 4, when the shaking acceleration Ax of the terminal body is smaller than 0 during the time T, that is, the terminal is shaken to the left, the display content 320 is moved to the right by the distance Sa as a whole.
Although fig. 4 only illustrates the terminal shaking in one direction, in practice, the terminal may shake in two directions at the same time, for example, in an upward left direction, and then the display position of the display content 320 is adjusted in a downward right direction; or simultaneously, to pan up and down to the right, at which time the display content 320 is adjusted to the display position in the down-left direction, and so on. Even, the terminal may also shake in three directions at the same time, for example, the movement of the terminal in another Z-axis direction may be detected, that is, whether the terminal is far away from the user or close to the user may be determined according to the movement of the Z-axis, and if the terminal is far away from the user, the display area of the display content may be correspondingly adjusted to be larger, that is, the font in the display content may be larger; if the display area is close to the user, the display area of the display content can be adjusted to be smaller correspondingly, namely, the font in the display content is reduced. Not to be taken as an example herein.
It should be noted that "display content" or "current display content" in the embodiments of the present disclosure refers to a position occupied by digital content currently read by a user on a display screen, and does not mean that specific data information of the display content may not be changed. With the reading progress of the user, the user can perform operations such as page turning and the like.
Fig. 5 schematically illustrates a flowchart of still another method of adjusting a display effect according to an exemplary embodiment of the present invention.
As shown in fig. 5, in step S510, the movement acceleration of the terminal is detected in real time.
In step S520, it is determined whether the acceleration exceeds a preset threshold; when the acceleration does not exceed the preset threshold, the method goes to step S530; when the acceleration exceeds the preset threshold, the process goes to step S540.
In an exemplary embodiment, the preset threshold may be set according to a distance between one side of an effective display area of a display screen of the terminal and the same side on which the content is displayed. For example, the distance between the left side of the effective display area of the display screen and the left side of the display content is Sc, and when the moving distance Sx calculated by the acceleration of the terminal shaking to the right within the preset time T is greater than Sc, the adjustment of the display position of the display content on the display screen is stopped, because the display position of the display content adjusted to the left at this time may exceed the effective display area of the display screen, the user may not see the complete display content.
In step S530, the display position of the display content on the display screen is adjusted according to the acceleration.
For a specific adjustment method, reference is made to the above embodiments, which are not described herein again.
In step S540, the adjustment of the display position of the display content on the display screen is stopped.
In an exemplary embodiment, the method may further include step S550 of outputting a prompt message for prompting the user terminal that the current shaking amplitude is too large, so as to pause or turn off the dynamic adjustment function.
Fig. 6 schematically illustrates a block diagram of an apparatus for adjusting a display effect according to an exemplary embodiment of the present invention.
As shown in fig. 6, the apparatus 600 includes: a setting module 610, a detection module 620, and an adjustment module 630.
Wherein the setup module 610 is configured to determine a first location of display content on a display screen of the terminal.
The detecting module 620 is configured to detect movement information of the terminal, where the movement information includes a movement direction and a movement distance.
The adjusting module 630 is configured to correspondingly adjust the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal.
In an exemplary embodiment, the detection module 620 includes: the sensor is arranged on the terminal and used for detecting the movement acceleration of the terminal; and the calculation unit is used for determining the moving direction and the moving distance of the terminal within the preset time according to the moving acceleration.
In an exemplary embodiment, the adjusting module 630 includes: a first adjusting unit, configured to adjust the display content to the second position in a second direction at intervals of a preset time when a moving direction of the terminal is a first direction; or a second adjusting unit, configured to adjust the display content to the second position in the first direction at an interval of the preset time when the moving direction of the terminal is the second direction.
In an exemplary embodiment, the first direction is opposite to the second direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
In an exemplary embodiment, the adjusting module 630 includes: a third adjusting unit, configured to adjust the display content to the second position in a fourth direction at intervals of a preset time when a moving direction of the terminal is a third direction; or a fourth adjusting unit, configured to adjust the display content to the second position in the third direction at intervals of the preset time when the moving direction of the terminal is the fourth direction.
In an exemplary embodiment, the third direction is opposite to the fourth direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
In an exemplary embodiment, the apparatus 600 further comprises: the judging module is used for judging whether the movement acceleration of the terminal in the preset time exceeds a preset threshold value or not; and the stopping module is used for stopping adjusting the position of the display content when the movement acceleration exceeds the preset threshold value.
The modules in the embodiments of the present invention correspond to the contents in the above-described method embodiments, and are not described in detail herein.
An embodiment of the present invention further provides a terminal, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: determining a first position of display content on a display screen of a terminal; detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance; and correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal.
In an exemplary embodiment the terminal comprises: a sensor and a central processing unit.
The sensor is arranged on a main board of the terminal, connected with the central processing unit and used for measuring the acceleration of the terminal, generating output voltage in a proportional way and outputting an interrupt signal according to the output voltage. The central processing unit is connected with the sensor and used for obtaining the shaking direction and the shaking distance of the terminal after detecting the interrupt signal, and adjusting the display position of the display content according to the corresponding relation between the shaking direction and the shaking distance of the terminal and the adjustment direction and the adjustment distance of the display position of the display content.
The sensor writes the measured acceleration of the terminal into an internal register of the sensor, and correspondingly, the central processing unit reads the internal register of the sensor to obtain the shaking direction and the shaking distance of the terminal.
A user may use the terminal to interact with a server over a network to receive or send messages, etc. The terminal can be provided with various communication client applications, such as an electronic book reading application, a shopping application, a searching application, an instant messaging tool, a mailbox client, social platform software and the like.
The terminal may be various electronic devices having a display screen and having a capability of communicating with the server, including but not limited to a smart phone, a tablet computer, an e-book reader, an MP3 player (Moving picture experts group Audio Layer III, motion picture experts group Audio Layer 3), an MP4 player (Moving picture experts group Audio Layer IV, motion picture experts group Audio Layer 4), a laptop portable computer, a desktop computer, and the like.
The server may be a server that provides various services, such as an electronic book server that transmits a corresponding electronic book to the terminal based on an electronic book reading request of the terminal.
Fig. 1, 2 and 5 illustrate flowcharts of a method of adjusting a display effect according to an exemplary embodiment of the present invention. The method may be implemented, for example, using an apparatus for adjusting a display effect as shown in fig. 6, but the present invention is not limited thereto. It should be noted that fig. 1, 2 and 5 are merely schematic illustrations of processes included in methods according to example embodiments of the invention, and are not intended to be limiting. It will be readily appreciated that the processes shown in figures 1, 2 and 5 do not indicate or limit the temporal order of these processes. In addition, it will also be readily appreciated that such processing may be performed, for example, synchronously or asynchronously across multiple modules/processes/threads.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) execute the method according to the embodiment of the present invention.
According to the method, the device and the terminal for adjusting the display effect, disclosed by the embodiment of the invention, when a user reads the digital content, the display position of the display content in the display screen is adjusted in real time by monitoring the acceleration of the terminal, so that the interference effect on the user due to the shaking of the machine body is reduced, and the reading experience of the user can be improved.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
Exemplary embodiments of the present invention are specifically illustrated and described above. It is to be understood that the invention is not limited to the precise construction, arrangements, or instrumentalities described herein; on the contrary, the invention is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (8)

1. A method for adjusting display effects, comprising:
when reading software on the terminal is started, popping up a prompt box to display prompt information for prompting a user to select a proper display position, and determining a first position of display content on a display screen of the terminal according to the display position selected by the user;
detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance;
correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal;
detecting the mobile information of the terminal, including:
detecting the movement acceleration of the terminal through a sensor on the terminal;
determining the moving direction and the moving distance of the terminal within preset time according to the moving acceleration, wherein the preset time is greater than or equal to 1/24 seconds;
the method further comprises the following steps:
judging whether the movement acceleration of the terminal in the preset time exceeds a preset threshold value or not;
and when the moving acceleration exceeds the preset threshold value, stopping adjusting the position of the display content.
2. The method of claim 1, wherein adjusting the display content on the display screen to a second position according to the first position of the display content and the movement information of the terminal comprises:
when the moving direction of the terminal is a first direction, adjusting the display content to a second position in a second direction at intervals of preset time; or
When the moving direction of the terminal is the second direction, adjusting the display content to the second position in the first direction at intervals of the preset time;
wherein the first direction is opposite to the second direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
3. The method according to claim 1 or 2, wherein adjusting the display content on the display screen to a second position according to the first position of the display content and the movement information of the terminal comprises:
when the moving direction of the terminal is a third direction, adjusting the display content to the second position in a fourth direction at intervals of preset time; or
When the moving direction of the terminal is the fourth direction, adjusting the display content to the second position in the third direction at intervals of the preset time;
wherein the third direction is opposite to the fourth direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
4. An apparatus for adjusting display effects, comprising:
the terminal comprises a setting module, a display module and a display module, wherein the setting module is used for popping up a prompt box to display prompt information when reading software on the terminal is started, prompting a user to select a proper display position, and determining a first position of display content on a display screen of the terminal according to the display position selected by the user;
the detection module is used for detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance;
the adjusting module is used for correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal;
the detection module comprises:
the sensor is arranged on the terminal and used for detecting the movement acceleration of the terminal;
the calculation unit is used for determining the moving direction and the moving distance of the terminal within preset time according to the moving acceleration, wherein the preset time is greater than or equal to 1/24 seconds;
the device further comprises:
the judging module is used for judging whether the movement acceleration of the terminal in the preset time exceeds a preset threshold value or not;
and the stopping module is used for stopping adjusting the position of the display content when the movement acceleration exceeds the preset threshold value.
5. The apparatus of claim 4, wherein the adjustment module comprises:
a first adjusting unit, configured to adjust the display content to the second position in a second direction at intervals of a preset time when a moving direction of the terminal is a first direction; or
A second adjusting unit, configured to adjust the display content to the second position in the first direction at an interval of the preset time when the moving direction of the terminal is the second direction;
wherein the first direction is opposite to the second direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
6. The apparatus of claim 4 or 5, wherein the adjustment module comprises:
a third adjusting unit, configured to adjust the display content to the second position in a fourth direction at intervals of a preset time when a moving direction of the terminal is a third direction; or
A fourth adjusting unit, configured to adjust the display content to the second position in the third direction at an interval of the preset time when the moving direction of the terminal is the fourth direction;
wherein the third direction is opposite to the fourth direction, and a distance between the first position and the second position positively correlates to a moving distance of the terminal.
7. A terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when reading software on the terminal is started, popping up a prompt box to display prompt information for prompting a user to select a proper display position, and determining a first position of display content on a display screen of the terminal according to the display position selected by the user;
detecting the movement information of the terminal, wherein the movement information comprises a movement direction and a movement distance;
correspondingly adjusting the display content on the display screen to a second position according to the first position of the display content and the mobile information of the terminal;
detecting the mobile information of the terminal, including:
detecting the movement acceleration of the terminal through a sensor on the terminal;
determining the moving direction and the moving distance of the terminal within preset time according to the moving acceleration, wherein the preset time is greater than or equal to 1/24 seconds;
the processor is further configured to:
judging whether the movement acceleration of the terminal in the preset time exceeds a preset threshold value or not;
and when the moving acceleration exceeds the preset threshold value, stopping adjusting the position of the display content.
8. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method according to any one of claims 1-3.
CN201610804532.XA 2016-09-05 2016-09-05 Method, device and terminal for adjusting display effect Active CN107797652B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610804532.XA CN107797652B (en) 2016-09-05 2016-09-05 Method, device and terminal for adjusting display effect
PCT/CN2017/092598 WO2018040754A1 (en) 2016-09-05 2017-07-12 Method, device and terminal for adjusting display effect and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610804532.XA CN107797652B (en) 2016-09-05 2016-09-05 Method, device and terminal for adjusting display effect

Publications (2)

Publication Number Publication Date
CN107797652A CN107797652A (en) 2018-03-13
CN107797652B true CN107797652B (en) 2020-03-03

Family

ID=61300173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610804532.XA Active CN107797652B (en) 2016-09-05 2016-09-05 Method, device and terminal for adjusting display effect

Country Status (2)

Country Link
CN (1) CN107797652B (en)
WO (1) WO2018040754A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109067981B (en) * 2018-07-11 2020-08-04 Oppo广东移动通信有限公司 Split screen application switching method and device, storage medium and electronic equipment
CN109597555B (en) * 2018-12-06 2022-09-06 佛山市原子文化传播有限公司 Method and system for adjusting display mode according to scene and object
CN110007760B (en) * 2019-03-28 2022-06-07 京东方科技集团股份有限公司 Display control method, display control device and display device
CN111414112B (en) * 2020-03-05 2021-10-22 联想(北京)有限公司 Information display method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494691A (en) * 2009-03-06 2009-07-29 深圳华为通信技术有限公司 Terminal and method for adjusting display content
CN102385468A (en) * 2010-08-30 2012-03-21 联想(北京)有限公司 Electronic equipment and operation prompt identifier moving method thereof
CN103383626A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Method and apparatus for moving an object
CN103645855A (en) * 2013-11-29 2014-03-19 东莞宇龙通信科技有限公司 Touch reading method and device
CN104461289A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Terminal and screen display method and device for terminal
CN104866080A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Screen content display method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100772909B1 (en) * 2006-05-30 2007-11-05 삼성전자주식회사 Image browsing method and apparatus using the same
KR101357292B1 (en) * 2012-03-12 2014-01-28 삼성전자주식회사 Infomation display device for portable terminal and method using the same
CN102722280B (en) * 2012-05-21 2016-03-23 北京智谷技术服务有限公司 Control the method for screen movement, device and terminal
CN105892719A (en) * 2015-11-26 2016-08-24 乐视致新电子科技(天津)有限公司 Method for adjusting display content of display device and display device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101494691A (en) * 2009-03-06 2009-07-29 深圳华为通信技术有限公司 Terminal and method for adjusting display content
CN102385468A (en) * 2010-08-30 2012-03-21 联想(北京)有限公司 Electronic equipment and operation prompt identifier moving method thereof
CN103383626A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Method and apparatus for moving an object
CN103645855A (en) * 2013-11-29 2014-03-19 东莞宇龙通信科技有限公司 Touch reading method and device
CN104866080A (en) * 2014-02-24 2015-08-26 腾讯科技(深圳)有限公司 Screen content display method and system
CN104461289A (en) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 Terminal and screen display method and device for terminal

Also Published As

Publication number Publication date
CN107797652A (en) 2018-03-13
WO2018040754A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
CN107797652B (en) Method, device and terminal for adjusting display effect
US8549418B2 (en) Projected display to enhance computer device use
CN109032464B (en) Interface switching method, device, equipment and storage medium in application program
US10162391B2 (en) Motion-based message display
US9829541B2 (en) Method for displaying terminal charging status and terminal
KR20180005695A (en) Information acquisition method and device
WO2018214885A1 (en) Radio frequency interference processing method and electronic device
WO2018072083A1 (en) Method and device for limiting charging current, and electronic device
CN109948087B (en) Webpage resource obtaining method and device and terminal
CN105302407A (en) Application icon display method and apparatus
WO2020211607A1 (en) Video generation method, apparatus, electronic device, and medium
CN105549878A (en) Electronic book page turning control method and device
CN103227865A (en) Display method of voice recognition interface and mobile terminal
CN112214112A (en) Parameter adjusting method and device
CN111428937A (en) User loss prediction method and device, electronic equipment and readable storage medium
CN110738971A (en) Page refreshing method and device for ink screen
CN105159540A (en) Control method of screen state and terminal
CN106445334B (en) Display interface adjusting method and adjusting system
US9021709B2 (en) Electronic device magnetic interference indication method
CN109995804B (en) Target resource information display method, information providing method and device
CN107343100B (en) Information prompting method and device, storage medium and electronic equipment
CN111796825B (en) Bullet screen drawing method, bullet screen drawing device, bullet screen drawing equipment and storage medium
CN107199969B (en) Vehicle-mounted navigation state monitoring method and terminal
CN108920065A (en) Split screen window adjusting method, device, storage medium and electronic equipment
CN111159551B (en) User-generated content display method and device and computer equipment

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