Content display method and terminal
Technical Field
The invention relates to the technical field of mobile terminals, in particular to a content display method and a terminal.
Background
With the popularization of terminal devices, terminal users generally use the terminal devices to read, watch videos, play games, perform instant messaging and the like. Generally, when a user uses a terminal, the user can obtain the best viewing angle by adjusting the state and the angle of the terminal device. Through the method for actively adapting to the terminal display content, although the user can adjust the display content in the terminal equipment to be right opposite to the user, the user needs to manually adjust the terminal, so that the content displayed in the display screen is right opposite to the user.
In the prior art, it is common to make the displayed content directly face the user by using the principles of gravity sensing and the like and by means of a horizontal screen and the like. However, this method cannot automatically adjust the direction of the displayed content according to the orientation of the user, and does not achieve adaptive adjustment of the display direction of the content displayed by the terminal.
Disclosure of Invention
The invention mainly aims to provide a content display method and a terminal, aiming at enabling the terminal to automatically adjust the display direction of display content according to relative orientation information of a user, enabling the adjusted display content to be over against the user and realizing self-adaptive adjustment of the display direction of the display content by the terminal.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a content display method, where the method is applied to a terminal having a direction sensor, and the method includes:
the terminal detects the relative position between the terminal and the user and acquires the relative position information between the terminal and the user;
and the terminal adjusts the display state of the content displayed in the display screen according to the relative orientation information with the user.
In the above solution, the detecting, by the terminal, the relative orientation between the terminal and the user includes:
the terminal determines the placing state of the terminal;
and the terminal detects the relative direction with the user according to the placement state of the terminal.
In the above solution, the detecting, by the terminal, the relative orientation with the user according to the placement state of the terminal includes:
the terminal determines the display direction of the content displayed in the display screen according to the placement state of the terminal;
and the terminal determines the relative position of the user and the display direction of the display content according to a preset detection strategy.
In the above solution, the adjusting, by the terminal, the display state of the content displayed in the display screen according to the information of the relative orientation with the user includes:
the terminal judges whether the display direction of the content displayed in the display screen is consistent with the relative direction between the terminal and the user;
when the terminal determines that the display direction of the displayed content in the display screen is consistent with the relative orientation between the terminal and the user, keeping the display state of the displayed content unchanged;
when the terminal determines that the display direction of the content displayed in the display screen is inconsistent with the relative orientation between the terminal and the user, the display state of the content displayed in the display screen is adjusted according to the relative orientation between the terminal and the user.
In the above solution, the determining, by the terminal, whether a display direction of content displayed in a display screen is consistent with a relative orientation between the terminal and a user includes:
the terminal compares the display direction of the content displayed in the display screen with the relative orientation between the terminal and the user;
when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in the same direction, the terminal determines that the display direction of the content displayed in the display screen is consistent with the relative orientation between the terminal and the user;
when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in different directions, the terminal determines that the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are inconsistent.
In a second aspect, an embodiment of the present invention provides a content display terminal, where the terminal includes: the device comprises a detection module, an acquisition module and an adjustment module; wherein,
the detection module is used for detecting the relative direction between the terminal and the user;
the acquisition module is used for acquiring relative azimuth information between the user and the acquisition module;
and the adjusting module is used for adjusting the display state of the content displayed in the display screen according to the relative direction information between the user and the adjusting module.
In the above scheme, the terminal further includes: a determination module; wherein,
the determining module is used for determining the placing state of the terminal;
and the detection module is used for detecting the relative direction between the terminal and the user according to the placement state of the terminal.
In the above scheme, the determining module is configured to determine a display direction of content displayed in the display screen according to a placement state of the terminal itself;
and determining the relative position of the user and the display direction of the display content according to a preset detection strategy.
In the above scheme, the terminal further includes: a judging module and a holding module; wherein,
the judging module is used for judging whether the display direction of the content displayed in the terminal display screen is consistent with the relative direction between the terminal and the user;
the holding module is used for holding the display state of the display content unchanged when the terminal determines that the display direction of the display content in the display screen is consistent with the relative orientation between the terminal and a user;
the adjusting module is used for adjusting the display state of the content displayed in the display screen according to the relative position between the terminal and the user when the terminal determines that the display direction of the content displayed in the display screen is inconsistent with the relative position between the terminal and the user.
In the above scheme, the terminal further includes: a comparison module; wherein,
the comparison module is used for comparing the display direction of the content displayed in the terminal display screen with the relative orientation between the terminal and the user;
the determining module is used for determining that the display direction of the content displayed in the display screen is consistent with the relative orientation between the terminal and the user when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in the same direction;
and when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in different directions, the terminal determines that the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are inconsistent.
According to the content display method and the terminal provided by the embodiment of the invention, the terminal acquires the relative orientation information between the terminal and the user by detecting the relative orientation between the terminal and the user, and then the terminal adjusts the direction of the content displayed in the display screen according to the relative orientation information between the terminal and the user, so that the direction of the content displayed in the display screen is over against the user, and the automatic adjustment of the display direction of the content displayed by the terminal is realized.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a communication system in which a mobile terminal according to an embodiment of the present invention can operate;
fig. 3 is a first flowchart illustrating a content display method according to a first embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating a content display method according to a first embodiment of the present invention;
fig. 5 is a schematic diagram of a terminal placement state according to an embodiment of the present invention;
fig. 6 is a third schematic flow chart illustrating a content display method according to a first embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a relative direction between display content and a user according to an embodiment of the present invention;
fig. 8 is a fourth schematic flow chart illustrating a content display method according to a first embodiment of the present invention;
fig. 9 is a schematic flow chart of a content display method according to a first embodiment of the present invention;
fig. 10 is a schematic diagram illustrating a terminal adjusting a display direction according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a content display terminal according to a second embodiment of the present invention;
fig. 12 is a schematic structural diagram of a content display terminal according to a second embodiment of the present invention.
Detailed Description
The technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to fig. 1. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a Personal Digital Assistant (PDA), a tablet computer (PAD), a Portable Multimedia Player (PMP), a navigation device, etc., and a stationary terminal such as a digital TV, a desktop computer, etc. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic hardware configuration of a mobile terminal implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, a sensing unit 140, an output unit 150, a memory 160, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented, and that more or fewer components may instead be implemented, the elements of the mobile terminal being described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a mobile communication module 112, a wireless internet module 113, and a short-range communication module 114.
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetoothTMRadio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbeeTMAnd so on.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or deceleration movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power. The sensing unit 140 may include a proximity sensor 141 as will be described below in connection with a touch screen.
The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a speaker, a buzzer, and the like.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of systems.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that a system as shown in fig. 2 may include multiple BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz, 5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a Base Transceiver Subsystem (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the system. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several Global Positioning System (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The GPS module 115 as shown in fig. 1 is generally configured to cooperate with satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above mobile terminal hardware structure and communication system, the present invention provides various embodiments of the method.
Example one
Referring to fig. 3, which illustrates that an embodiment of the present invention provides a content display method applied to a terminal having a direction sensor, the method may include:
s301, the terminal detects the relative direction between the terminal and the user and obtains the relative direction information between the terminal and the user.
Referring to fig. 4, step S301 specifically includes steps S3011 and S3012:
s3011, the terminal determines the placing state of the terminal.
It is understood that the terminal acquires its own placed state using a sensor such as a direction sensor. The terminal can be detected to be in the states of right vertical, reverse vertical, left horizontal, right horizontal, upward screen, downward screen and the like by using the direction sensor. Illustratively, as shown in fig. 5, the top, bottom and side frames of the terminal display are shown. The state that the terminal was placed can be for placing different orientations when keeping flat on the desktop, and the orientation that the terminal was placed can be confirmed according to the orientation that the top from the terminal display screen was located to the bottom, also can be for keeping the state of placing of certain inclination through fixing device such as support.
S3012, the terminal detects the relative direction with the user according to the placing state of the terminal.
It should be noted that, in different placement states, the direction of the screen display content that can be seen by the user is not changed with the change of the relative orientation between the user and the terminal. The terminal detects a relative orientation between itself and the user according to its own placement state in order to determine the relative orientation between the display screen of the terminal and the user.
For example, if the terminal is placed flat on a desktop, and the user is in a direction vertical to the top end of the display screen of the terminal and the bottom end of the display screen, the relative position between the user and the terminal is directly opposite to the display screen. If the user is in any other direction where the side frame of the display screen is located, the relative orientation between the user and the terminal is the orientation which is relatively inclined to the terminal.
Referring to fig. 6, step S3012 specifically includes steps S30121 and S30122:
s30121, the terminal determines the display direction of the content displayed in the display screen according to the placement state of the terminal.
It is understood that the terminal can determine the display direction of the content displayed in the display screen thereof according to the placement state of the terminal itself. The display direction indicates relative direction information of the content displayed in the display screen of the terminal and the environment in which the terminal is located.
For example, if the terminal is placed vertically to the desktop and the content displayed on the terminal is displayed along the direction from the top end of the terminal to the bottom end of the terminal, the terminal may determine the display direction of the content displayed on the current display screen.
S30122, the terminal determines the relative position of the user and the display direction of the display content according to a preset detection strategy.
The preset detection strategy may be to detect the orientation by using a direction sensor, or may be any other method that can detect the orientation of the user relative to the display direction of the display content. For example, when the user is looking at the content displayed on the display screen, the front camera can be used for face detection, and the relative orientation of the user and the display direction of the display content can be determined by determining the parameter value such as the angle difference between the face of the user and the display direction of the display content on the display screen of the terminal through the face detection.
For example, referring to fig. 7, when the terminal is placed upside down with respect to the user and the content displayed in the current display screen is displayed from the top of the terminal display screen to the bottom of the terminal display screen, the display direction of the content displayed in the terminal display screen may be determined to be opposite to the relative position of the user.
S302, the terminal adjusts the display state of the content displayed in the display screen according to the relative direction information between the terminal and the user.
Referring to fig. 8, step S302 specifically includes steps S3021 to S3023:
and S3021, the terminal judges whether the display direction of the content displayed on the display screen is consistent with the relative direction between the terminal and the user.
It can be understood that the terminal can judge the relative orientation between the display direction of the displayed content and the user through the display direction of the displayed content in the display screen. For example, when the display content is displayed in a vertical direction from the top to the bottom of the display screen, and the user views the display content in any side frame of the terminal, it may be determined that the display direction of the display content in the display screen is inconsistent with the relative orientation between the user.
Referring to fig. 9, step S3021 specifically includes steps S30211 to S30213:
s30211, the terminal compares the display direction of the content displayed on the display screen with the relative orientation between the terminal and the user.
It should be noted that, to determine whether the display direction of the content displayed on the display screen of the terminal is consistent with the relative orientation between the terminal and the user, the terminal needs to determine the display direction of the content displayed on the display screen of the terminal and the orientation of the user relative to the terminal, and then compare the display direction of the content displayed on the display screen with the relative orientation between the terminal and the user.
S30212, when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in the same direction, the terminal determines that the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are consistent.
It is to be understood that when the display direction of the content displayed in the display screen of the terminal and the relative orientation between the terminal and the user are in the same direction, the terminal may determine that the display direction of the content displayed in the display screen thereof is in one orientation with the user. For example, when the display content is displayed in a vertical direction from the top to the bottom of the display screen, and the user is located in the vertical direction from the top to the bottom of the display screen of the terminal, the terminal can determine that the display direction of the display content displayed in the display screen of the terminal is consistent with the relative orientation between the terminal and the user.
S30213, when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in different directions, the terminal determines that the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are inconsistent.
It is to be understood that when the display direction of the content displayed in the display screen of the terminal and the relative orientation between the terminal and the user are in different directions, the terminal may determine that the display direction of the content displayed in the display screen thereof is in a different orientation from the user. For example, when the display content is displayed in a vertical direction from the top to the bottom of the display screen, and the user is located at the side frame of the display screen, the terminal may determine that the display direction of the display content displayed in the display screen is inconsistent with the relative orientation between the terminal and the user.
And S3022, when the terminal determines that the display direction of the displayed content in the display screen is consistent with the relative orientation between the terminal and the user, keeping the display state of the displayed content unchanged.
It can be understood that if the terminal determines that the display direction of the display content is consistent with the orientation of the user relative to the terminal, the terminal continues to keep the original display direction unchanged. Illustratively, when the display content is displayed in a vertical direction from the top to the bottom of the display screen, and the user views the display content in the vertical direction from the top to the bottom of the display screen of the terminal, the terminal keeps the display direction of the display content unchanged. Referring to fig. 10(a), the display direction of the display contents in the display screen is displayed in the direction indicated by the arrow, and when the user is in the same vertical direction as the display direction of the display contents, the terminal keeps the display state of the display contents unchanged.
And S3023, when the terminal determines that the display direction of the content displayed in the display screen is inconsistent with the relative orientation between the terminal and the user, adjusting the display state of the content displayed in the display screen according to the relative orientation between the terminal and the user.
It can be understood that, if the terminal determines that the display direction of the display content is inconsistent with the orientation of the user relative to the terminal, the terminal will not keep the original display direction, and adjust the display content according to the relative orientation with the user so that the display direction of the display content is the orientation toward the user. Referring to fig. 10(b), when the terminal is tilted, the display direction of the display content on the display screen is still displayed according to the direction indicated by the arrow, and the display direction of the display content is tilted with respect to the user. Referring to fig. 10(c), the user maintains the vertical state, and the terminal adjusts the display state of the display content to a vertical direction for display. By adjusting the display state, the user can check the display content directly facing the user without manually adjusting the position of the terminal.
According to the content display method provided by the embodiment of the invention, the terminal acquires the relative orientation information between the terminal and the user by detecting the relative orientation between the terminal and the user, and then the terminal adjusts the direction of the content displayed in the display screen according to the relative orientation information between the terminal and the user, so that the direction of the content displayed in the display screen is over against the user, and the automatic adjustment of the display direction of the content displayed by the terminal is realized.
Example two
Based on the same technical concept as the foregoing embodiment, referring to fig. 11, which shows a schematic structural diagram of a content display terminal 11 according to an embodiment of the present invention, the terminal 11 may include: a detection module 1101, an acquisition module 1102 and an adjustment module 1103; wherein,
the detection module 1101 is configured to detect a relative orientation between the terminal itself and the user;
the obtaining module 1102 is configured to obtain relative orientation information with a user;
the adjusting module 1103 is configured to adjust a display state of content displayed in the display screen according to the information of the relative position to the user.
Further, referring to fig. 12, the terminal further includes: a determination module 1104; wherein,
the determining module 1104 is configured to determine a placement state of the terminal itself;
the detecting module 1101 is configured to detect a relative orientation with a user according to a placement state of the terminal itself.
Further, the determining module 1104 is configured to determine a display direction of content displayed in the display screen according to a placement state of the terminal itself;
and determining the relative position of the user and the display direction of the display content according to a preset detection strategy.
Further, referring to fig. 12, the terminal further includes: a determination module 1105 and a hold module 1106; wherein,
the determining module 1105 is configured to determine whether a display direction of content displayed on the display screen of the terminal is consistent with a relative direction between the terminal and a user;
the maintaining module 1106 is configured to maintain the display state of the display content unchanged when the terminal determines that the display direction of the display content in the display screen is consistent with the relative orientation between the terminal and the user;
the adjusting module 1103 is configured to adjust a display state of the content displayed in the display screen according to the relative orientation between the terminal and the user when the terminal determines that the display direction of the content displayed in the display screen is inconsistent with the relative orientation between the terminal and the user.
Further, referring to fig. 12, the terminal further includes: a comparison module 1107; wherein,
the comparing module 1107 is configured to compare a display direction of content displayed in the terminal display screen with a relative orientation between the terminal and a user;
the determining module 1104 is configured to, when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in the same direction, determine that the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are the same;
and when the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are in different directions, the terminal determines that the display direction of the content displayed in the display screen and the relative orientation between the terminal and the user are inconsistent.
According to the content display terminal provided by the embodiment of the invention, the terminal acquires the relative orientation information between the terminal and the user by detecting the relative orientation between the terminal and the user, and then the terminal adjusts the direction of the content displayed in the display screen according to the relative orientation information between the terminal and the user, so that the direction of the content displayed in the display screen is over against the user, and the automatic adjustment of the display direction of the content displayed by the terminal is realized.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.