WO2015027682A1 - 一种电子放大镜的实现方法及用户终端 - Google Patents

一种电子放大镜的实现方法及用户终端 Download PDF

Info

Publication number
WO2015027682A1
WO2015027682A1 PCT/CN2014/071023 CN2014071023W WO2015027682A1 WO 2015027682 A1 WO2015027682 A1 WO 2015027682A1 CN 2014071023 W CN2014071023 W CN 2014071023W WO 2015027682 A1 WO2015027682 A1 WO 2015027682A1
Authority
WO
WIPO (PCT)
Prior art keywords
display screen
tilt angle
magnifying glass
angle change
area
Prior art date
Application number
PCT/CN2014/071023
Other languages
English (en)
French (fr)
Inventor
殷一石
蒋特
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to KR20147026943A priority Critical patent/KR20150039706A/ko
Priority to US14/551,303 priority patent/US20150077437A1/en
Publication of WO2015027682A1 publication Critical patent/WO2015027682A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/04Context-preserving transformations, e.g. by using an importance map
    • G06T3/053Detail-in-context presentations
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1626Constructional details or arrangements for portable computers with a single-body enclosure integrating a flat display, e.g. Personal Digital Assistants [PDAs]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/0346Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor with detection of the device orientation or free movement in a 3D space, e.g. 3D mice, 6-DOF [six degrees of freedom] pointers using gyroscopes, accelerometers or tilt-sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation

Definitions

  • the present invention relates to the field of electronic devices, and in particular, to an implementation method of an electronic magnifying glass and a user equipment (UE).
  • UE user equipment
  • the implementation of the electronic magnifying glass is as follows: the electronic magnifying glass is activated by a long press or double-click on the screen, and the electronic magnifying glass needs to continuously receive the instruction of pressing the electronic magnifying glass to keep the magnifying glass active, and keep pressing and holding The movement of the contact of the electronic magnifying glass moves the electronic magnifying glass, so that the enlarged area of the electronic magnifying glass can be moved to any position of the display content of the display screen, thereby realizing the enlargement of the display content of the different positions.
  • Embodiments of the present invention provide an implementation method of an electronic magnifying glass and a UE, which can facilitate user operation and content viewing.
  • a first aspect of the present invention provides a method for implementing an electronic magnifying glass, including:
  • the magnifying area of the magnifying glass is moved according to the tilt angle change information, wherein the magnifying area of the electromagnet is a part of the display area of the display screen, so that the display content entering the magnifying area is displayed enlarged.
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the change according to the tilt angle of the display screen The information shifts the enlarged area of the electronic magnifying glass, including:
  • the position of the enlarged area of the electronic loupe is moved in the direction of the vector component.
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; and the moving position according to the tilt angle change information
  • the enlarged area of the electronic magnifying glass includes:
  • the display content of the display screen is moved in the opposite direction of the vector component so as to be enlarged when the moving display content passes through the enlarged area of the electronic magnifying glass.
  • determining, by the gravity sensor, the tilt angle change information of the display screen includes:
  • the tilt angle of the display screen is acquired in real time by the gravity sensor, and the tilt angle of the display screen obtained in real time is compared with the horizontal reference angle to determine a tilt angle change vector of the display screen.
  • the information about the tilt angle change of the display screen further includes: a change angle of the tilt angle of the display screen; Also includes:
  • Determining a moving speed of the enlarged area according to the amplitude of the change of the tilt angle of the display screen; and moving the enlarged area of the electronic magnifying glass according to the tilting angle change information comprises: according to the determined moving speed, according to the tilting angle change vector The direction moves the enlarged area of the electronic magnifying glass.
  • the information about the tilt angle change of the display screen further includes: a change angle of the tilt angle of the display screen;
  • the method also includes:
  • Determining a moving speed of the enlarged area according to the magnitude of the change of the tilt angle of the display screen; and moving the enlarged area of the electronic magnifying glass according to the tilting angle change information includes: maintaining an enlarged area of the electronic magnifying glass relative to the display screen The position of the entire display area is unchanged, press The display content of the display screen is moved in the opposite direction of the vector component according to the determined moving speed so as to be enlarged when the moving display content passes through the enlarged area of the electronic magnifying glass.
  • the display content of the display screen includes a picture, a text, and/or a table;
  • the shape of the magnifying area of the magnifying glass includes: a circle, a rectangle, a diamond, or a custom shape.
  • the enlarged area of the electronic magnifying glass has a rectangular shape.
  • a second aspect of the present invention provides a UE, including:
  • a determining unit configured to determine, by the gravity sensor of the UE, a tilt angle change information of a display screen of the UE after the electronic magnifying glass of the UE is activated;
  • a moving unit configured to move an enlarged area of the electronic magnifying glass according to the tilt angle change information determined by the determining unit, wherein an enlarged area of the electronic magnifying glass is a part of a display area of the display screen;
  • An interface drawing unit configured to draw interface content outside the magnifying area of the magnifying glass to be displayed through the display screen
  • the magnifying glass drawing unit is configured to enlarge the content in the large area when the display content enters the enlarged area.
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the moving unit is specifically configured to: a tilt angle change vector of the display screen, determining a vector component of the tilt angle change vector on the display screen plane; moving the position of the magnifying area of the electronic magnifying glass toward the determined direction of the vector component.
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the moving unit is specifically configured to: a tilt angle change vector of the display screen, determining a vector component of the tilt angle change vector in the display screen plane; maintaining the position of the magnifying area of the electronic magnifying glass relative to the entire display area of the display screen, the display screen The display content is moved in the opposite direction of the determined vector component to be enlarged when the moving display content passes through the enlarged area of the electronic magnifying glass.
  • the determining unit includes:
  • a reference subunit configured to obtain, by the gravity sensor, an inclination angle of the display screen at an initial time as a horizontal reference angle
  • determining a subunit configured to acquire an inclination angle of the display screen in real time by a gravity sensor, and compare the tilt angle of the display screen obtained in real time with the horizontal reference angle to determine a tilt angle change vector of the display screen.
  • the information of the tilt angle change of the display screen further includes: a change angle of the tilt angle of the display screen;
  • the determining unit is configured to determine a moving speed of the enlarged area according to the amplitude of the tilt angle change of the display screen;
  • the moving unit is specifically configured to: move the enlarged area of the electronic magnifying glass according to the direction of the tilt angle change vector determined by the determining unit according to the moving speed determined by the determining unit.
  • the information about the tilt angle change of the display screen further includes: Degree
  • the determining unit is further configured to determine a moving speed of the enlarged area according to a change angle of the tilt angle of the display screen;
  • the moving unit is specifically configured to: keep the position of the enlarged area of the electronic magnifying glass relative to the entire display area of the display screen, and display the display content of the display screen according to the determined moving speed of the determining unit
  • the vector components are moved in opposite directions to be magnified as the moving display content passes through the magnified area of the magnifying glass.
  • the display content of the display screen includes a picture, a text, and/or a table;
  • the shape of the magnifying area of the magnifying glass includes: a circle, a rectangle, a diamond, or a custom shape.
  • the enlarged area of the electronic magnifying glass has a rectangular shape.
  • a third aspect of the present invention provides a UE, including:
  • a processor configured to trigger a gravity sensor of the UE after the electronic magnifying glass of the UE is activated
  • the gravity sensor is configured to determine, according to a trigger of the processor, tilt angle change information of a display screen of the UE;
  • the processor is further configured to move an enlarged area of the electronic magnifying glass according to the tilt angle change information determined by the gravity sensor;
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the processor is further configured to: Determining, by the gravity sensor, a tilt angle change vector of the display screen, determining a vector component of the tilt angle change vector on a display screen plane;
  • the position of the enlarged area of the electronic loupe is moved in the direction of the vector component.
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the processor is specifically configured to: Determining, by the gravity sensor, a tilt angle change vector of the display screen, determining a vector component of the tilt angle change vector on a display screen plane;
  • the gravity sensor is specifically configured to:
  • the tilt angle of the display screen is obtained in real time, and the tilt angle of the display screen obtained in real time is compared with the horizontal reference angle to determine the direction of the tilt angle change vector of the display screen.
  • the information of the tilt angle change of the display screen further includes: a change angle of the tilt angle of the display screen; Gravity sensors are also used to:
  • the processor is specifically configured to: move the enlarged area of the electronic magnifying glass according to the direction of the tilt angle change vector determined by the gravity sensor according to the determined moving speed of the gravity sensor.
  • the information about the tilt angle change of the display screen further includes: a change angle of the tilt angle of the display screen; Gravity sensors are also used to:
  • the processor is specifically configured to: maintain a position of the enlarged area of the electronic magnifying glass relative to an entire display area of the display screen, according to the The movement speed of the gravity sensor has been determined to move the display content of the display screen in the opposite direction of the vector component to be enlarged when the moving display content passes through the enlarged area of the electronic magnifying glass.
  • the display content of the display screen includes a picture, a text, and/or a table;
  • the shape of the magnifying area of the magnifying glass includes: a circle, a rectangle, a diamond, or a custom shape.
  • the enlarged area of the electronic magnifying glass has a rectangular shape.
  • the implementation method of the electronic magnifying glass and the UE provided by the embodiment of the present invention after the electronic magnifying glass is activated, according to the tilt angle change information of the display screen determined by the gravity sensor, the position of the magnifying area of the electronic magnifying glass is moved to the corresponding position, and
  • the user needs to continuously press and hold the position of the magnifying glass, and the pressing operation does not need to be continuously pressed after the magnifying glass is activated, thereby simplifying the user's hand operation and avoiding the tapping operation to block the display content, thereby facilitating the user's operation and facilitating the user's operation.
  • FIG. 1 is a flow chart of an implementation method of an electronic magnifying glass according to an embodiment of the present invention
  • FIG. 2 is a flowchart of an implementation method of an electronic magnifying glass according to another embodiment of the present invention
  • FIG. 3 is another embodiment of the present invention
  • FIG. 4 is a schematic diagram showing a tilt angle of a display screen according to another embodiment of the present invention.
  • FIG. 5 is a schematic diagram of an actual scene of a magnifying glass moving according to the present invention.
  • FIG. 6 is a schematic diagram of another actual scene of the magnifying glass moving according to the present invention.
  • FIG. 7 is a schematic diagram of a screen rotation scene according to another embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of a UE according to another embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of a UE according to another embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of a UE according to another embodiment of the present invention.
  • the mobile phone includes a radio frequency (RF) circuit 810, a memory 820, an input unit 830, a wireless fidelity (WiFi) module 870, a display unit 840, a sensor 850, an audio circuit 860, a processor 880, and a power supply 890. component.
  • RF radio frequency
  • WiFi wireless fidelity
  • the structure of the mobile phone shown in FIG. 8 does not constitute a limitation on the mobile phone, and may include more or less components than those illustrated, or combine some components, or different component arrangements.
  • the RF circuit 810 can be used for receiving and transmitting signals during the transmission or reception of information or during a call. Specifically, after receiving the downlink information of the base station, the processing is processed by the processor 880. In addition, the data for designing the uplink is sent to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like.
  • LNA Low Noise Amplifier
  • RF circuitry 810 can also communicate with the network and other devices via wireless communication.
  • the above wireless communication may use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (GPRS), and code division multiple access ( Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), e-mail, Short Messaging Service (SMS), etc. .
  • GSM Global System of Mobile communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • SMS Short Messaging Service
  • the memory 820 can be used to store software programs and modules, and the processor 880 executes various functional applications and data processing of the mobile phone by running software programs and modules stored in the memory 820.
  • the memory 820 can mainly include a storage program area and a storage data area, wherein the storage program area can be The operating system, at least one function required application (such as sound playback function, image playback function, etc.); the storage data area can store data (such as audio data, phone book, etc.) created according to the use of the mobile phone.
  • memory 820 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
  • the input unit 830 can be used to receive input numeric or character information, as well as generate key signal inputs related to user settings and function controls of the handset 800.
  • input unit 830 can include touch panel 831 and other input devices 832.
  • the touch panel 831 also referred to as a touch screen, can collect touch operations on or near the user (such as a user using a finger, a stylus, or the like on the touch panel 831 or near the touch panel 831. Operation), and drive the corresponding connecting device according to a preset program.
  • the touch panel 831 can include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information
  • the processor 880 is provided and can receive commands from the processor 880 and execute them.
  • the touch panel 831 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 830 may also include other input devices 832.
  • other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like.
  • the display unit 840 can be used to display information input by the user or information provided to the user and various menus of the mobile phone.
  • the display unit 840 can include a display panel 841.
  • a liquid crystal display (LCD) or an organic light emitting diode can be used.
  • the display panel 841 is configured in the form of a Light-Emitting Diode, OLED or the like.
  • the touch panel 831 can cover the display panel 841. When the touch panel 831 detects a touch operation thereon or nearby, the touch panel 831 transmits to the processor 880 to determine the type of the touch event, and then the processor 880 according to the touch event. The type provides a corresponding visual output on display panel 841.
  • the touch panel 831 and the display panel 841 are two independent components to implement the input and input functions of the mobile phone, in some embodiments, the touch panel 831 can be integrated with the display panel 841. Realize the input and output functions of the phone.
  • the mobile phone 800 can also include at least one type of sensor 850, such as a light sensor, motion sensor, and other sensors.
  • the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 841 according to the brightness of the ambient light, and the proximity sensor may close the display panel 841 and/or when the mobile phone moves to the ear. Or backlight.
  • the gravity sensor used in the present invention is a kind of motion sensor, which adopts an elastic sensitive component to make a cantilever type shifter, and uses an energy storage spring made of an elastic sensitive component to drive an electrical contact, thereby realizing conversion of gravity change into Changes in electrical signals.
  • the composition and form of the gravity sensor are not limited in the embodiment of the present invention.
  • the accelerometer sensor can detect the acceleration of all directions (usually three axes), and the magnitude and direction of gravity can be detected at rest. It can be used to identify the gesture of the mobile phone (such as horizontal and vertical screen switching, related games). , magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; other sensors such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors that can be configured on the mobile phone, will not be described here. .
  • An audio circuit 860, a speaker 861, and a microphone 862 can provide an audio interface between the user and the handset.
  • the audio circuit 860 can transmit the converted electrical data of the received audio data to the speaker 861. The sound is outputted by the speaker 861.
  • the microphone 862 converts the collected sound signal into an electrical signal, which is received by the audio circuit 860 and converted into audio data, and then processed by the audio data output processor 880, and then passed through the RF circuit. 810 is sent to, for example, another handset, or audio data is output to memory 820 for further processing.
  • WiFi is a short-range wireless transmission technology.
  • the WiFi module 870 can help users to send and receive emails, browse web pages and access streaming media. It provides users with wireless broadband Internet access.
  • FIG. 8 shows the WiFi module 870, it can be understood that it does not belong to the essential configuration of the mobile phone 800, and can be omitted as needed within the scope of not changing the essence of the invention.
  • the processor 880 is the control center of the handset, and connects various portions of the entire handset using various interfaces and lines, by executing or executing software programs and/or modules stored in the memory 820, and invoking data stored in the memory 820, executing The phone's various functions and processing data, so that the overall monitoring of the phone.
  • the processor 880 may include one or more processing units.
  • the processor 880 may integrate an application processor and a modem processor, where the application processor mainly processes an operating system, a user interface, an application, and the like.
  • the modem processor primarily handles wireless communications.
  • the handset 800 also includes a power source 890 (such as a battery) that supplies power to various components.
  • a power source 890 such as a battery
  • the power supply can be logically coupled to the processor 880 through a power management system to manage functions such as charging, discharging, and power management through the power management system.
  • the mobile phone 800 may further include a camera, a Bluetooth module, and the like, and details are not described herein. It should be noted that FIG. 8 is only an example of an electronic terminal, and the present invention can be applied to an electronic device such as a mobile phone, a tablet computer, an Ipad, or a PDA, which is not limited by the present invention.
  • An embodiment of the present invention provides an electronic The implementation method of the magnifying glass, as shown in FIG. 1, the method includes:
  • the electronic magnifying glass is an electronic control displayed on the display screen, and the real magnifying glass is simulated by software, thereby partially displaying the display content of the display screen, that is, the enlarged area of the electronic magnifying glass is part of the display area of the entire display screen, and enters The display content of the enlarged area is enlarged.
  • the activation mode of the electronic magnifying glass may be a long press instruction, a double-click instruction, or a special activation gesture, which is not limited by the embodiment of the present invention.
  • the tilt angle of the display screen is relative to the horizontal reference angle of the preset display screen, so the tilt angle change information of the display screen can be determined according to the tilt angle and the horizontal reference angle.
  • the change information of the tilt angle may be represented by a vector, and it is understood that the meaning of the change vector of the tilt angle may include the direction of the vector and the size of the vector.
  • the direction of the change vector of the tilt angle represents the direction in which the display screen rotates
  • the magnitude of the change vector of the tilt angle represents the magnitude of the display rotation.
  • the tilt angle change information of the display screen is relative to the horizontal reference angle, and the horizontal position as the horizontal reference angle is only an implementation manner, and the vertical position of the vertical horizontal plane or other angles may be used as the horizontal reference angle. This example does not limit this.
  • the method of moving the enlarged area of the electronic magnifying glass according to the tilt angle change information The position of the enlarged area of the electronic magnifying glass may be moved to the direction of the vector component of the tilt angle change vector on the display screen plane; or: the position of the enlarged area of the electronic magnifying glass relative to the entire display area may be maintained
  • the display content of the display screen is moved in a direction opposite to the vector component of the tilt angle change vector on the display screen plane; wherein the moving display content is enlarged when passing through the enlarged area of the electronic magnifying glass.
  • the position of the enlarged area of the electronic magnifying glass is moved toward the direction of the vector component of the tilt angle change vector on the display screen plane;
  • the position of the enlarged area of the electronic magnifying glass is kept unchanged with respect to the entire display area, and the display content of the display screen is changed to the vector component of the tilt angle change vector on the display screen plane. Move in the opposite direction.
  • the moving speed may be determined according to the magnitude of the varying angle of the tilting angle. When the inclination angle changes more, the moving speed is larger. Conversely, when the inclination angle changes by a small amount, the moving speed is slower.
  • the implementation method of the electronic magnifying glass provided by the embodiment of the invention, after the electronic magnifying glass is activated, moves the position of the magnifying area of the electronic magnifying glass to the corresponding position according to the change information of the tilt angle of the display screen determined by the gravity sensor, and the prior art Compared with the technique of continuously pressing and moving the position of the electronic magnifying glass, the user does not need to keep pressing the operation after the magnifying glass is activated, thereby simplifying the operation of the user's hand, avoiding the tapping operation to block the display content, and facilitating the user's operation and facilitating content viewing. the goal of.
  • Another embodiment of the present invention provides a method for implementing an electronic magnifying glass. As shown in FIG. 2, the method includes: 201. Activate the electronic magnifying glass under the trigger of the user.
  • the horizontal reference angle preset by the system can be used, and the horizontal reference angle of the display screen can be preset before the magnifying glass is activated. Of course, it can also be set after activation.
  • the horizontal reference angle can be the default configuration of the system, or can be selected according to the actual needs of the user.
  • the gravity sensor acquires the tilt angle at which the current display screen is located as the horizontal reference angle, and the horizontal reference angle shown in Fig. 3 is the forward tilt 30. , tilt left and right to 0. .
  • the position drawn by the dotted line at the top of the screen is the position of the magnifying mirror displayed on the display screen, which is schematically drawn for the convenience of determining the position of the magnifying glass.
  • the gravity sensor can monitor the tilt angle in real time, or can be acquired periodically. Of course, the higher the frequency of obtaining the tilt angle, the better the real-time movement of the magnifying glass.
  • the gravity sensor can detect the changed tilt angle, compare the detected tilt angle with the horizontal reference angle, and when the tilt angle increases, move the magnifying glass toward the angle increasing direction, similar If the tilt angle is decreased, the magnifying glass is moved in a direction in which the tilt angle is decreased.
  • This type of movement can refer to a scene in which a small ball is placed on a tray. For example, if the tilt angle of the device is greater than the horizontal reference angle initially set, it is considered that the user tilts the device downward, and the convex mirror moves downward.
  • the convex mirror is up Move.
  • the angle at which the display is tilted forward is increased to 60°, and the left and right tilt angles are unchanged. Therefore, the position of the magnifying glass is moved downward as shown in FIG. 4, and the relative position between the moved magnifying glass position and the position of the initial magnifying glass can be determined in accordance with the relative relationship between the changed tilt angle and the horizontal reference angle. Its specific presentation is shown in Figure 5.
  • Step 204 is an optional step.
  • the moving speed of the magnifying glass can be adjusted by the method of step 205.
  • the greater the change in the tilt angle after the change relative to the initial tilt angle the faster the magnifying mirror moves. For example, if you tilt 30 degrees forward as the horizontal reference angle, when the tilt angle is 45 degrees, it takes 2 seconds for the magnifying glass to move from the top of the screen to the bottom of the screen. When the tilt angle is 60 degrees, the magnifying glass only needs ls to move from the top of the screen to the bottom of the screen.
  • the information that the tilt angle change information of the display screen includes: the tilt angle change vector of the display screen is used as an example.
  • the tilt angle change information of the display screen may further include: The amplitude of the tilt angle of the display screen, or the rate of change of the tilt angle of the display screen, and the like.
  • the tilt angle change information of the display screen may also include other forms of information, and this embodiment is no longer - for example.
  • the method for moving the enlarged area of the electronic magnifying glass according to the tilt angle change information may be: changing a position of the enlarged area of the electronic magnifying glass to the tilt angle change vector Moves in the direction of the vector component of the display plane. For example, as shown in Figure 5. Scene, the upper part of the display is tilted towards the user's direction, and the magnifying glass position is moved down.
  • the method for moving the enlarged area of the electronic magnifying glass according to the tilt angle change information may be: maintaining the position of the magnifying area of the electronic magnifying glass relative to the entire display area, and the The display content of the display screen moves toward the opposite direction of the vector component of the display screen plane to the tilt angle change vector; wherein the moving display content is enlarged when passing through the enlarged area of the electronic magnifying glass.
  • the upper part of the display screen is tilted toward the direction of the user, the position of the magnifying glass is unchanged, and the content of the interface moves upward.
  • the position of the enlarged area of the electronic magnifying glass is changed to the tilt angle change vector on the display screen plane.
  • the direction of the vector component moves; when the magnifying glass is at the edge of the display screen, the position of the magnifying area of the electronic magnifying glass is kept unchanged with respect to the entire display area, and the display content of the display screen is directed to the tilting angle vector on the display screen plane
  • the upper vector component moves in the opposite direction.
  • the display screen when the display screen is rotated, it can also be detected by the gravity sensor, and combined with the adjustment of the display interface after the existing screen is rotated, for example, from the vertical screen display to the horizontal screen display,
  • the magnifying glass follows the adjusted display interface, keeping the relative position of the magnifying glass and the display interface unchanged.
  • the position of the magnifying glass is in the upper right corner of the display.
  • the position of the magnifier does not follow the device to the upper left corner, but follows The interface information of the magnifying glass is still displayed in the upper right corner.
  • the adjustment of the reference interface, the relative position of the magnifying glass on the horizontal and vertical axes of the screen also needs to be adjusted accordingly.
  • the way to close the magnifying glass can be long press, double click, shake or other special gestures.
  • the example does not limit this.
  • the display content of the display screen includes a picture, a text, and/or a table; and the shape of the enlarged area of the electronic amplification lens includes: a circle, a rectangle, a diamond, or a custom shape.
  • the display content is a table
  • the enlarged area of the electronic magnifying glass has a rectangular shape.
  • the implementation method of the electronic magnifying glass provided by the embodiment of the invention, after the electronic magnifying glass is activated, moves the position of the magnifying area of the electronic magnifying glass to the corresponding position according to the change information of the tilt angle of the display screen determined by the gravity sensor, and the prior art Compared with the technique of continuously pressing and moving the position of the electronic magnifying glass, the user does not need to keep pressing the operation after the magnifying glass is activated, thereby simplifying the operation of the user's hand, avoiding the tapping operation to block the display content, and facilitating the user's operation and facilitating content viewing. the goal of.
  • Another embodiment of the present invention further provides a UE, as shown in FIG. 9, including:
  • a determining unit 91 configured to determine, according to a gravity sensor of the UE, a tilt angle change information of a display screen of the UE, after the electronic magnifying glass of the UE is activated;
  • a moving unit 92 configured to move an enlarged area of the electronic magnifying glass according to the tilt angle change information determined by the determining unit 91, wherein an enlarged area of the electronic magnifying glass is a part of a display area of the display screen;
  • An interface drawing unit 93 is configured to draw interface content outside the enlarged area of the magnifying glass to display through the display screen;
  • the magnifying glass drawing unit 94 is configured to enlarge the content in the large area of the text when the display content enters the large area of the text.
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the moving unit 92 is specifically configured to: a tilt angle change vector of the display screen, determining a vector component of the tilt angle change vector on the display screen plane; moving the position of the magnifying area of the electronic magnifying glass toward the determined direction of the vector component.
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the moving unit 92 is specifically configured to: according to the tilt of the display screen An angle change vector, determining a vector component of the tilt angle change vector in a display screen plane; maintaining a position of the magnifying area of the electronic magnifying glass relative to an entire display area of the display screen, and displaying the display content of the display screen The determined vector component is moved in the opposite direction to be enlarged when the moving display content passes through the magnified area of the magnifying glass.
  • the determining unit 91 includes:
  • a reference subunit 911 configured to acquire, by using the gravity sensor, an inclination angle of an initial time display screen as a horizontal reference angle
  • a determining subunit 912 configured to obtain, by using the gravity sensor, a tilt angle of the display screen in real time, and compare a tilt angle of the display screen acquired in real time with a horizontal reference angle acquired by the reference subunit 911 to determine The tilt angle of the display screen changes the direction of the vector.
  • the tilt angle change information of the display screen further includes: a change angle of the tilt angle of the display screen; the determining unit 91 is further configured to determine the display screen by using a gravity sensor The inclination angle varies by an amplitude, and determines a moving speed of the enlarged area according to the magnitude of the inclination angle change of the display screen;
  • the moving unit 92 is specifically configured to: move the enlarged area of the electronic magnifying glass according to the direction of the tilt angle change vector determined by the determining unit according to the moving speed determined by the determining unit 91.
  • the tilt angle change information of the display screen further includes: a change angle of the tilt angle of the display screen;
  • the determining unit 91 is further configured to determine a moving speed of the enlarged area according to the amplitude of the tilt angle change of the display screen;
  • the moving unit 92 is specifically configured to: keep the position of the enlarged area of the electronic magnifying glass relative to the entire display area of the display screen, and display the display screen according to the determined moving speed of the determining unit 91.
  • the content is moved in the opposite direction of the vector component such that the displayed content of the movement is magnified as it passes through the magnified area of the magnifying glass.
  • the display content of the display screen includes a picture, a text, and/or a table; and the shape of the enlarged area of the electronic magnifying glass includes: a circle, a rectangle, a diamond, or a custom shape.
  • the enlarged area of the electronic magnifying glass has a rectangular shape.
  • the UE provided by the embodiment of the present invention moves the position of the magnifying area of the electronic magnifying glass to the corresponding position according to the tilt angle change information of the display screen determined by the gravity sensor after the electronic magnifying glass is activated, and the user needs to continue in the prior art.
  • a UE as shown in FIG. 10, including:
  • the processor 1001 is configured to trigger a gravity sensor of the UE after the electronic magnifying glass of the UE is activated;
  • a gravity sensor 1002 configured to determine, according to a trigger of the processor 1001, tilt angle change information of a display screen of the UE;
  • the processor 1001 is further configured to move an enlarged area of the electronic magnifying glass according to the tilt angle change information determined by the gravity sensor 1002;
  • a display screen 1003 configured to display display content of the UE and the electronic magnifying glass; wherein an enlarged area of the electronic magnifying glass is a part of a display area of the display screen, and display content of the large area entering the large area is enlarged and displayed .
  • the processor 1001 can adopt a general-purpose central processing unit (Central Processing Unit,
  • the CPU the microprocessor, the application specific integrated circuit (ASIC), or one or more integrated circuits are used to execute the related program to implement the technical solutions provided by the embodiments of the present invention.
  • ASIC application specific integrated circuit
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the processor 1001 is specifically configured to:
  • the tilt angle change information of the display screen includes: a tilt angle change vector of the display screen; the processor 1001 is specifically configured to:
  • gravity sensor 1002 is specifically configured to:
  • the tilt angle of the display screen 1003 at the initial moment is obtained as a horizontal reference angle; the tilt angle of the display screen 1003 is acquired in real time, and the tilt angle of the display screen 1003 obtained in real time is The horizontal reference angle is compared to determine the direction of the tilt angle change vector of the display screen 1003.
  • the tilt angle change information of the display screen may further include: a change angle of the tilt angle of the display screen; the gravity sensor 1002 is further configured to: determine the display screen 1003 Inclining the angle of change of the angle, and determining the moving speed of the enlarged area according to the magnitude of the change of the tilt angle of the display screen 1003;
  • the processor 1001 is specifically configured to: according to the determined moving speed of the gravity sensor 1002, move the enlarged area of the electronic magnifying lens according to the direction of the tilt angle change vector determined by the gravity sensor 1002.
  • the tilt angle change information of the display screen further includes: a change angle of the tilt angle of the display screen; the gravity sensor 1002 is further configured to:
  • the processor 1001 is specifically configured to: keep the position of the enlarged area of the electronic magnifying glass relative to the entire display area of the display screen, according to
  • the gravity sensor 1002 has determined the moving speed to move the display content of the display screen 1003 in the opposite direction of the vector component to be enlarged when the moving display content passes through the enlarged area of the electronic magnifying glass.
  • the display content of the display screen 1003 includes a picture, a text, and/or a table; the shape of the enlarged area of the electronic magnifying glass includes: a circle, a rectangle, a diamond, or a custom shape.
  • the enlarged area of the electronic magnifying glass has a rectangular shape.
  • the UE provided by the embodiment of the present invention moves the position of the magnifying area of the electronic magnifying glass to the corresponding position according to the tilt angle change information of the display screen determined by the gravity sensor after the electronic magnifying glass is activated, and the user needs to continue in the prior art.
  • the technique of pressing and moving the position of the electronic magnifying glass after the magnifying glass is activated, it is not necessary to continuously press and hold, thereby simplifying the user's hand operation and avoiding the tapping operation to block the display content, thereby achieving the purpose of facilitating user operation and facilitating content viewing.
  • the present invention can be implemented by means of software plus necessary general hardware, and of course, can also be through hardware, but many of the information is better. .
  • the technical solution of the present invention which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a readable storage medium, such as a floppy disk of a computer.
  • a hard disk or optical disk or the like includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Telephone Function (AREA)

Abstract

本发明提供一种电子放大镜的实现方法及UE,涉及电子设备领域,可以便于用户操作和内容的观看。本发明的方法主要包括:当UE的电子放大镜被激活后,通过UE的重力传感器确定UE的显示屏的倾斜角度变化信息;根据所述倾斜角度变化信息移动所述电子放大镜的放大区域,其中所述电子放大镜的放大区域为所述显示屏的显示区域中的一部分,使得进入所述放大区域的显示内容被放大显示。本发明的实施例主要用于电子设备中放大镜的实现过程中。

Description

一种电子放大镜的实现方法及用户终端
技术领域
本发明涉及电子设备领域, 尤其涉及一种电子放大镜的实现方法及用户终 端 ( User Equipment, UE ) 。
背景技术
随着电子技术的发展,越来越多的内容可以在电子终端的屏幕上展示。但 由于手持终端等电子设备屏幕大小的局限性,在浏览图片、表格或文本等信息 时, 往往由于信息内容太小导致用户无法清楚查看信息内容。 为了便于清楚查看屏幕显示信息,现有技术已提供一些解决方式, 例如可 以采用对整个显示页面的内容进行缩放的方式进行查看,或使用电子放大镜对 显示页面上的部分区域进行放大。 具体的, 电子放大镜的实现方式为: 通过长按或双击屏幕的指令激活电子 放大镜,在电子放大镜激活后需持续接收到按住电子放大镜的指令才会保持放 大镜处于激活状态,并且跟随持续按住电子放大镜的触点的移动对电子放大镜 进行移动,从而可以将电子放大镜的放大区域移动到显示屏的显示内容的任意 位置, 实现对不同位置的显示内容进行放大。 在实现上述电子放大镜的过程中,发明人发现现有技术中至少存在如下问 题: 由于需要持续按住电子放大镜以实现放大镜位置的移动,对用户手部的牵 制较大, 并且按住操作会导致对显示内容的遮挡, 导致用户操作复杂, 不利于 内容查看。 发明内容
本发明的实施例提供一种电子放大镜的实现方法及 UE, 可以便于用户操 作和内容的观看。
为达到上述目的, 本发明的实施例采用如下技术方案:
本发明的第一方面, 提供一种电子放大镜的实现方法, 包括:
当用户终端 UE的电子放大镜被激活后, 通过所述 UE的重力传感器确定 所述 UE的显示屏的倾斜角度变化信息;
根据所述倾斜角度变化信息移动所述电子放大镜的放大区域,其中所述电 子放大镜的放大区域为所述显示屏的显示区域中的一部分,使得进入所述放大 区域的显示内容被放大显示。
结合本发明的第一方面,在第一种可能的实现方式中, 所述显示屏的倾斜 角度变化信息包括: 所述显示屏的倾斜角度变化矢量; 所述根据所述显示屏的 倾斜角度变化信息调移动所述电子放大镜的放大区域, 包括:
根据所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示 屏平面的矢量分量;
将所述电子放大镜的放大区域的位置向所述矢量分量的方向移动。
结合本发明的第一方面,在第二种可能的实现方式中, 所述显示屏的倾斜 角度变化信息包括: 所述显示屏的倾斜角度变化矢量; 所述根据所述倾斜角度 变化信息移动所述电子放大镜的放大区域, 包括:
根据所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示 屏平面的矢量分量;
保持所述电子放大镜的放大区域相对所述显示屏的整个显示区域的位置 不变,将所述显示屏的显示内容向所述矢量分量相反的方向移动, 以使当移动 的显示内容经过所述电子放大镜的放大区域时被放大。
结合本发明的第一方面或第一方面的上述任一种实现方式,在第三种可能 的实现方式中, 通过重力传感器确定显示屏的倾斜角度变化信息包括:
通过所述重力传感器获取初始时刻所述显示屏的倾斜角度作为水平基准 角度;
通过所述重力传感器实时获取所述显示屏的倾斜角度,将实时获取的所述 显示屏的倾斜角度与所述水平基准角度比较,以确定所述显示屏的倾斜角度变 化矢量。
结合本发明的第一方面的第一种可能的实现方式,在第四种可能的实现方 式中, 所述显示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅 度; 该方法还包括:
根据所述显示屏的倾斜角度变化幅度确定放大区域的移动速度; 所述根据所述倾斜角度变化信息移动所述电子放大镜的放大区域包括:按 照已确定的移动速度,根据所述倾斜角度变化矢量的方向移动所述电子放大镜 的放大区域。
结合本发明的第一方面的第二种可能的实现方式,在第五种可能的实现方 式中, 所述显示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅 度; 所述方法还包括:
根据所述显示屏的倾斜角度变化幅度确定放大区域的移动速度; 所述根据所述倾斜角度变化信息移动所述电子放大镜的放大区域包括:保 持所述电子放大镜的放大区域相对所述显示屏的整个显示区域的位置不变,按 照已确定的移动速度,将所述显示屏的显示内容向所述矢量分量相反的方向移 动, 以使当移动的显示内容经过所述电子放大镜的放大区域时被放大。
结合本发明的第一方面或第一方面的上述任一种可能的实现方式,在第六 种可能的实现方式中, 所述显示屏的显示内容包括图片、 文字和 /或表格; 所 述电子放大镜的放大区域的形状包括: 圓形、 矩形、 菱形或自定义形状。
结合本发明的第一方面的第六种可能的实现方式,在第七种可能的实现方 式中, 当所述显示内容为表格时, 所述电子放大镜的放大区域的形状为矩形。
本发明的第二方面, 提供一种 UE, 包括:
确定单元, 用于当所述 UE的电子放大镜被激活后, 通过所述 UE的重力 传感器确定所述 UE的显示屏的倾斜角度变化信息;
移动单元,用于根据所述确定单元确定的倾斜角度变化信息移动所述电子 放大镜的放大区域,其中所述电子放大镜的放大区域为所述显示屏的显示区域 中的一部分;
界面绘制单元, 用于绘制所述放大镜的放大区域之外的界面内容, 以通过 显示屏显示;
放大镜绘制单元, 用于当显示内容进入所述放大区域时,将所 大区域 内的内容放大显示。
结合本发明的第二方面,在第一种可能的实现方式中, 所述显示屏的倾斜 角度变化信息包括:所述显示屏的倾斜角度变化矢量;所述移动单元具体用于: 根据所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示屏平 面的矢量分量;将所述电子放大镜的放大区域的位置向确定的所述矢量分量的 方向移动。 结合本发明的第二方面,在第二种可能的实现方式中, 所述显示屏的倾斜 角度变化信息 包括: 所述显示屏的倾斜角度变化矢量; 所述移动单元具体用 于: 根据所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示 屏平面的矢量分量;保持所述电子放大镜的放大区域相对所述显示屏的整个显 示区域的位置不变,将所述显示屏的显示内容向确定的所述矢量分量相反的方 向移动, 以使当移动的显示内容经过所述电子放大镜的放大区域时被放大。
结合本发明的第二方面或第二方面的上述任一种实现方式,在第三种可能 的实现方式中, 所述确定单元包括:
基准子单元,用于通过所述重力传感器获取初始时刻显示屏的倾斜角度作 为水平基准角度;
确定子单元, 用于通过重力传感器实时获取所述显示屏的倾斜角度,将实 时获取的所述显示屏的倾斜角度与所述水平基准角度比较,以确定所述显示屏 的倾斜角度变化矢量。
结合本发明的第二方面的第一种可能的实现方式,在第四种可能的实现方 式中, 所述显示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅 度;
所述确定单元,用于根据所述显示屏的倾斜角度变化幅度确定放大区域的 移动速度;
所述移动单元具体用于: 按照所述确定单元已确定的移动速度,根据所述 确定单元确定的倾斜角度变化矢量的方向移动所述电子放大镜的放大区域。
结合本发明的第二方面的第二种可能的实现方式,在第五种可能的实现方 式中, 所述显示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅 度;
所述确定单元,还用于根据所述显示屏的倾斜角度变化幅度确定放大区域 的移动速度;
所述移动单元具体用于:保持所述电子放大镜的放大区域相对所述显示屏 的整个显示区域的位置不变,按照所述确定单元已确定的移动速度,将所述显 示屏的显示内容向所述矢量分量相反的方向移动,以使当移动的显示内容经过 所述电子放大镜的放大区域时被放大。
结合本发明的第二方面或第二方面的上述任一种可能的实现方式,在第六 种可能的实现方式中, 所述显示屏的显示内容包括图片、 文字和 /或表格; 所 述电子放大镜的放大区域的形状包括: 圓形、 矩形、 菱形或自定义形状。
结合本发明的第二方面的第六种可能的实现方式,在第七种可能的实现方 式中, 当所述显示内容为表格时, 所述电子放大镜的放大区域的形状为矩形。
本发明的第三方面, 提供一种 UE, 包括:
处理器, 用于在所述 UE的电子放大镜激活后, 触发所述 UE的重力传感 器;
所述重力传感器,用于在所述处理器的触发下确定所述 UE的显示屏的倾 斜角度变化信息;
所述处理器,还用于根据所述重力传感器确定的倾斜角度变化信息移动所 述电子放大镜的放大区域;
显示屏, 用于呈现所述 UE的显示内容和所述电子放大镜; 其中所述电子 放大镜的放大区域为所述显示屏的显示区域中的一部分,进入所述放大区域的 显示内容被放大显示。 结合本发明的第三方面,在第一种可能的实现方式中, 所述显示屏的倾斜 角度变化信息包括: 所述显示屏的倾斜角度变化矢量; 所述处理器还用于: 根据所述重力传感器确定的所述显示屏的倾斜角度变化矢量,确定所述倾 斜角度变化矢量在显示屏平面的矢量分量;
将所述电子放大镜的放大区域的位置向所述矢量分量的方向移动。
结合本发明的第三方面,在第二种可能的实现方式中, 所述显示屏的倾斜 角度变化信息包括: 所述显示屏的倾斜角度变化矢量; 所述处理器具体用于: 根据所述重力传感器确定的所述显示屏的倾斜角度变化矢量,确定所述倾 斜角度变化矢量在显示屏平面的矢量分量;
保持所述电子放大镜的放大区域相对所述显示屏的整个显示区域的位置 不变,将所述显示屏的显示内容向所述矢量分量相反的方向移动, 以使当移动 的显示内容经过所述电子放大镜的放大区域时被放大。
结合本发明的第三方面或第三方面的上述任一种实现方式,在第三种可能 的实现方式中, 所述重力传感器具体用于:
在所述处理器的触发下,获取初始时刻所述显示屏的倾斜角度作为水平基 准角度;
实时获取所述显示屏的倾斜角度,将实时获取的显示屏的倾斜角度与所述 水平基准角度比较, 以确定显示屏的倾斜角度变化矢量的方向。
结合本发明的第三方面的第一种可能的实现方式,在第四种可能的实现方 式中, 所述显示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅 度; 所述重力传感器还用于:
确定显示屏的倾斜角度变化幅度,并根据所述显示屏的倾斜角度变化幅度 确定放大区域的移动速度;
所述处理器具体用于: 按照所述重力传感器已确定的移动速度,根据所述 重力传感器确定的倾斜角度变化矢量的方向移动所述电子放大镜的放大区域。
结合本发明的第三方面的第二种可能的实现方式,在第五种可能的实现方 式中, 所述显示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅 度; 所述重力传感器还用于:
根据所述显示屏的倾斜角度变化幅度确定放大区域的移动速度; 所述处理器具体用于:保持所述电子放大镜的放大区域相对所述显示屏的 整个显示区域的位置不变,按照所述重力传感器已确定的移动速度,将所述显 示屏的显示内容向所述矢量分量相反的方向移动,以使当移动的显示内容经过 所述电子放大镜的放大区域时被放大。
结合本发明的第三方面或第三方面的上述任一种可能的实现方式,在第六 种可能的实现方式中, 所述显示屏的显示内容包括图片、 文字和 /或表格; 所 述电子放大镜的放大区域的形状包括: 圓形、 矩形、 菱形或自定义形状。
结合本发明的第三方面的第六种可能的实现方式,在第七种可能的实现方 式中, 当所述显示内容为表格时, 所述电子放大镜的放大区域的形状为矩形。
本发明实施例提供的电子放大镜的实现方法及 UE, 在电子放大镜被激活 后,根据重力传感器确定到的显示屏倾斜角度变化信息,将电子放大镜的放大 区域的位置向相应的位置移动,与现有技术中需要用户持续按住并移动电子放 大镜位置的技术相比,在放大镜激活后不需要持续按住操作,从而简化用户手 部操作,避免点按操作遮挡显示内容, 达到便于用户操作并利于内容观看的目 的。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施 例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地, 下面描述 中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付 出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明一实施例中的一种电子放大镜的实现方法流程图; 图 2为本发明另一实施例中的一种电子放大镜的实现方法流程图; 图 3为本发明另一实施例中的一种水平基准角度示意图;
图 4为本发明另一实施例中的一种显示屏倾斜角度示意图;
图 5为本发明的一种放大镜移动的实际场景示意图;
图 6为本发明的另一种放大镜移动的实际场景示意图;
图 7为本发明另一实施例中屏幕旋转场景的示意图;
图 8为本发明另一实施例中的 UE组成示意图;
图 9为本发明另一实施例中的 UE组成示意图;
图 10为本发明另一实施例中的 UE组成示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清 楚、 完整地描述, 显然, 所描述的实施例仅仅是本发明一部分实施例, 而不是 全部的实施例。基于本发明中的实施例, 本领域普通技术人员在没有作出创造 性劳动前提下所获得的所有其他实施例, 都属于本发明保护的范围。 首先, 以图 8 所示的手机为例对本发明应用的用户终端 (UE , User Equipment )进行介绍。 手机包括射频 (Radio Frequency, RF ) 电路 810、 存 储器 820、 输入单元 830、 无线保真( wireless fidelity, WiFi )模块 870、 显示 单元 840、 传感器 850、 音频电路 860、 处理器 880、 以及电源 890等部件。
其中, 本领域技术人员可以理解, 图 8中示出的手机结构并不构成对手机 的限定, 可以包括比图示更多或更少的部件, 或者组合某些部件, 或者不同的 部件布置。
RF电路 810可用于在收发信息或通话过程中, 信号的接收和发送, 特别 地, 将基站的下行信息接收后, 给处理器 880处理; 另外, 将设计上行的数据 发送给基站。 通常, RF电路包括但不限于天线、 至少一个放大器、 收发信机、 耦合器、 低噪声放大器(Low Noise Amplifier, LNA )、 双工器等。 此外, RF 电路 810还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用 任一通信标准或协议, 包括但不限于全球移动通讯系统 ( Global System of Mobile communication , GSM )、 通用分组无线月良务 ( General Packet Radio Service, GPRS )、 码分多址( Code Division Multiple Access, CDMA )、 宽带码 分多址( Wideband Code Division Multiple Access, WCDMA )、长期演进 ( Long Term Evolution, LTE ) )、 电子邮件、 短消息月良务( Short Messaging Service, SMS )等。
其中,存储器 820可用于存储软件程序以及模块, 处理器 880通过运行存 储在存储器 820的软件程序以及模块,从而执行手机的各种功能应用以及数据 处理。 存储器 820可主要包括存储程序区和存储数据区, 其中, 存储程序区可 存储操作系统、 至少一个功能所需的应用程序(如声音播放功能、 图像播放功 能等)等; 存储数据区可存储根据手机的使用所创建的数据(如音频数据、 电 话本等)等。 此外, 存储器 820可以包括高速随机存取存储器, 还可以包括非 易失性存储器, 例如至少一个磁盘存储器件、 闪存器件、 或其他易失性固态存 储器件。
输入单元 830 可用于接收输入的数字或字符信息, 以及产生与手机 800 的用户设置以及功能控制有关的键信号输入。具体地,输入单元 830可包括触 控面板 831 以及其他输入设备 832。 触控面板 831 , 也称为触摸屏, 可收集用 户在其上或附近的触摸操作 (比如用户使用手指、触笔等任何适合的物体或附 件在触控面板 831上或在触控面板 831附近的操作 ), 并根据预先设定的程式 驱动相应的连接装置。可选的,触控面板 831可包括触摸检测装置和触摸控制 器两个部分。 其中, 触摸检测装置检测用户的触摸方位, 并检测触摸操作带来 的信号,将信号传送给触摸控制器; 触摸控制器从触摸检测装置上接收触摸信 息, 并将它转换成触点坐标, 再送给处理器 880, 并能接收处理器 880发来的 命令并加以执行。 此外, 可以采用电阻式、 电容式、 红外线以及表面声波等多 种类型实现触控面板 831。 除了触控面板 831 , 输入单元 830还可以包括其他 输入设备 832。 具体地, 其他输入设备 832可以包括但不限于物理键盘、 功能 键(比如音量控制按键、 开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或 多种。
其中,显示单元 840可用于显示由用户输入的信息或提供给用户的信息以 及手机的各种菜单。 显示单元 840可包括显示面板 841 , 可选的, 可以采用液 晶显示器 ( Liquid Crystal Display , LCD )、 有机发光二极管 ( Organic Light-Emitting Diode, OLED )等形式来配置显示面板 841。 进一步的, 触控面 板 831可覆盖显示面板 841 , 当触控面板 831检测到在其上或附近的触摸操作 后,传送给处理器 880以确定触摸事件的类型, 随后处理器 880根据触摸事件 的类型在显示面板 841上提供相应的视觉输出。 虽然在图 8中, 触控面板 831 与显示面板 841是作为两个独立的部件来实现手机的输入和输入功能,但是在 某些实施例中 ,可以将触控面板 831与显示面板 841集成而实现手机的输入和 输出功能。
其中, 手机 800还可包括至少一种传感器 850, 比如光传感器、 运动传感 器以及其他传感器。 具体地, 光传感器可包括环境光传感器及接近传感器, 其 中, 环境光传感器可根据环境光线的明暗来调节显示面板 841的亮度,接近传 感器可在手机移动到耳边时, 关闭显示面板 841 和 /或背光。 本发明所采用的 重力传感器是运动传感器的一种, 它采用弹性敏感元件制成悬臂式位移器, 并 采用弹性敏感元件制成的储能弹簧来驱动电触点,从而实现将重力变化转换成 为电信号的变化。本发明实施例中不限定重力传感器的组成和形式, 其他形式 的可以检测显示屏倾斜信息的传感器都可以应用与本发明的实施例中,属于本 发明的保护范围。 作为运动传感器的一种, 加速计传感器可检测各方向上(一 般为三轴)加速度大小, 静止时可检测出重力的大小及方向, 可用于识别手机 姿态的应用 (比如横竖屏切换、 相关游戏、 磁力计姿态校准)、 振动识别相关 功能(比如计步器、 敲击)等; 至于手机还可配置的陀螺仪、 气压计、 湿度计、 温度计和红外线传感器等其他传感器, 在此不再贅述。
音频电路 860、 扬声器 861 , 传声器 862可提供用户与手机之间的音频接 口。音频电路 860可将接收到的音频数据转换后的电信号,传输到扬声器 861 , 由扬声器 861转换为声音信号输出; 另一方面,传声器 862将收集的声音信号 转换为电信号, 由音频电路 860接收后转换为音频数据,再将音频数据输出处 理器 880处理后, 经 RF电路 810以发送给比如另一手机, 或者将音频数据输 出至存储器 820以便进一步处理。
WiFi属于短距离无线传输技术, 手机通过 WiFi模块 870可以帮助用户收 发电子邮件、浏览网页和访问流式媒体等, 它为用户提供了无线的宽带互联网 访问。 虽然图 8示出了 WiFi模块 870, 但是可以理解的是, 其并不属于手机 800的必须构成, 完全可以根据需要在不改变发明的本质的范围内而省略。
处理器 880是手机的控制中心 ,利用各种接口和线路连接整个手机的各个 部分, 通过运行或执行存储在存储器 820 内的软件程序和 /或模块, 以及调用 存储在存储器 820内的数据,执行手机的各种功能和处理数据,从而对手机进 行整体监控。 可选的, 处理器 880可包括一个或多个处理单元; 优选的, 处理 器 880可集成应用处理器和调制解调处理器, 其中,应用处理器主要处理操作 系统、 用户界面和应用程序等, 调制解调处理器主要处理无线通信。
可以理解的是, 上述调制解调处理器也可以不集成到处理器 880中。 手机 800还包括给各个部件供电的电源 890 (比如电池)。
优选的, 电源可以通过电源管理系统与处理器 880逻辑相连,从而通过电 源管理系统实现管理充电、 放电、 以及功耗管理等功能。 尽管未示出, 手机 800还可以包括摄像头、 蓝牙模块等, 在此不再贅述。 需要说明的是, 图 8仅 为一种电子终端的举例, 本发明可以应用与手机、 平板电脑、 Ipad或 PDA等 电子设备, 本发明对此不做限定。
下面结合具体的实施例对本发明进行说明,本发明一实施例提供一种电子 放大镜的实现方法, 如图 1所示, 该方法包括:
101、 当 UE的电子放大镜被激活后,通过 UE的重力传感器确定 UE的显 示屏的倾斜角度变化信息。
其中, 电子放大镜是通过显示屏显示的一个电子控件, 以软件方式模拟真 实的放大镜,从而将显示屏的显示内容局部放大显示, 即电子放大镜的放大区 域是整个显示屏的显示区域的一部分, 进入放大区域的显示内容被放大显示。 其中, 电子放大镜的激活方式可以为长按指令、 双击指令或特殊激活手势等, 本发明实施例对此不做限定。显示屏的倾斜角度是相对于预先设定的显示屏的 水平基准角度而言的,因此根据倾斜角度和水平基准角度便可确定显示屏的倾 斜角度变化信息。 为了便于描述, 倾斜角度的变化信息可以通过矢量表示, 可 以理解的是, 倾斜角度的变化矢量的含义可以包括矢量的方向和矢量的大小。 倾斜角度的变化矢量的方向则代表显示屏旋转的方向,倾斜角度的变化矢量的 大小则代表显示屏旋转幅度的大小。例如, 若预先设定与水平面平行的水平位 置是显示屏的水平基准角度, 则显示屏向左、 向右、 向前或向后倾斜时, 都会 造成倾斜角度的变化, 得到显示屏的倾斜角度变化信息。 当然, 显示屏的倾斜 角度变化信息是相对水平基准角度而言的,以水平位置作为水平基准角度只是 一种实现方式, 也可以将垂直水平面的竖直位置或其他角度作为水平基准角 度, 本实施例对此不做限定。
102、 根据所述倾斜角度变化信息移动所述电子放大镜的放大区域, 其中 所述电子放大镜的放大区域为所述显示屏的显示区域中的一部分,使得进入所 大区域的显示内容被放大显示。
其中,根据所述倾斜角度变化信息移动所述电子放大镜的放大区域的方法 可以为:将所述电子放大镜的放大区域的位置向所述倾斜角度变化矢量在显示 屏平面上的矢量分量的方向移动; 也可以为: 保持所述电子放大镜的放大区域 相对整个显示区域的位置不变,将所述显示屏的显示内容向所述倾斜角度变化 矢量在显示屏平面上的矢量分量相反的方向移动; 其中, 当移动的显示内容经 过所述电子放大镜的放大区域时被放大。 当然,根据所述倾斜角度变化信息移 的放大区域处于显示屏中部时,将所述电子放大镜的放大区域的位置向所述倾 斜角度变化矢量在显示屏平面上的矢量分量的方向移动;当放大镜的放大区域 处于显示屏的边缘时,保持所述电子放大镜的放大区域相对整个显示区域的位 置不变,将所述显示屏的显示内容向所述倾斜角度变化矢量在显示屏平面上的 矢量分量相反的方向移动。
进一步的,确定放大区域的移动方向的同时,还可以根据倾斜角度变化幅 度的大小确定移动速度。 当倾斜角度变化幅度越大, 移动速度越大, 反之, 当 倾斜角度变化幅度较小, 则移动速度越慢。
本发明实施例提供的电子放大镜的实现方法,在电子放大镜被激活后,根 据重力传感器确定到的显示屏倾斜角度变化信息,将电子放大镜的放大区域的 位置向相应的位置移动,与现有技术中需要用户持续按住并移动电子放大镜位 置的技术相比,在放大镜激活后不需要持续按住操作,从而简化用户手部操作, 避免点按操作遮挡显示内容, 达到便于用户操作并利于内容观看的目的。 本发明另一实施例提供一种电子放大镜的实现方法,如图 2所示, 该方法 包括: 201、 在用户触发下激活电子放大镜。
在本实施例中, 可以采用系统预设的水平基准角度, 可以在放大镜激活之 前预先设定显示屏的水平基准角度, 当然也可以在激活后进行设定。
202、通过重力传感器获取初始时刻显示屏的倾斜角度作为水平基准角度。 其中, 由于对放大镜的放大区域的移动是根据显示屏的倾斜角度来确定, 而倾斜角度是通过重力传感器采集到的, 因此, 在实现放大镜的移动之前, 就 有必要先确定显示屏初始所处的水平基准角度。其中, 水平基准角度的配置参 数可以为系统默认配置, 也可以根据用户实际需要进行选取。
例如, 如图 3所示, 电子放大镜被激活的同时, 重力传感器获取当前显示 屏所处的倾斜角度作为水平基准角度, 图 3 所示的水平基准角度为向前倾斜 30。, 左右倾斜为 0。。 其中, 屏幕上方用虚线绘出的位置是显示屏上显示的放 大镜的位置, 为了方便确定放大镜的位置而示意性画出。
203、 通过重力传感器实时获取显示屏的倾斜角度, 将实时获取的显示屏 的倾斜角度与所述水平基准角度比较, 以确定显示屏的倾斜角度变化矢量。
其中, 重力传感器可以实时监测倾斜角度, 也可以周期性地获取, 当然获 取倾斜角度的频率越高,放大镜移动的实时性越好。 当用户改变显示屏的倾斜 角度时, 重力传感器可以检测到变化后的倾斜角度,将检测到的倾斜角度与水 平基准角度比较, 当倾斜角度增大, 则向角度增大的方向移动放大镜, 类似的 若倾斜角度减小则向倾斜角度减小的方向移动放大镜。这种移动方式可以参考 在一个托盘上放置一个小球的场景。例如, 若设备的倾斜角度大于开始设定的 水平基准角度, 则视为用户将设备向下倾斜, 则凸面镜向下移动。 反之, 若倾 斜角度小于设定的水平基准角度, 则视为用户将设备向上倾斜。 则凸面镜向上 移动。 如图 4所示, 显示屏向前倾斜的角度增大到 60°, 左右倾斜角度不变。 因此,将放大镜的位置如图 4中所示向下移动, 并且可以按照变化后的倾斜角 度与水平基准角度的相对关系,确定移动后的放大镜位置和初始放大镜的位置 之间的相对位置。 其具体的呈现方式, 如图 5所示。
204、 确定显示屏的倾斜角度变化幅度, 并根据所述显示屏的倾斜角度变 化幅度的大小确定放大区域的移动速度。
其中, 步骤 204为可选步骤, 为了进一步的模拟在托盘上通过倾斜托盘移 动其上的小球的物理场景,带来更真实的操作手感,可以采用步骤 205的方法, 调整放大镜的移动速度。 变化后的倾斜角度相对初始倾斜角度变化越大,放大 镜移动的速度越快。 例如, 比如以向前倾斜 30度作为水平基准角度, 当倾斜 角度为 45度时, 放大镜从屏幕顶端移动到屏幕底端需要 2s。 而当倾斜角度为 60度时, 放大镜从屏幕顶端移动到屏幕底端只需要 ls。
205、 按照已确定的移动速度, 根据所述倾斜角度变化矢量在显示屏平面 的矢量分量的方向移动所述电子放大镜的放大区域。
需要说明的是, 本实施例以所述显示屏的倾斜角度变化信息包括: 所述显 示屏的倾斜角度变化矢量的情况进行举例, 进一步的, 所述显示屏的倾斜角度 变化信息还可以包括: 所述显示屏的倾斜角度变化幅度, 或者显示屏的倾斜角 度的变化速率等。 当然,显示屏的倾斜角度变化信息还可以包括其他形式的信 息, 本实施例不再——举例。
可选的,在一种可能的实现场景中,根据所述倾斜角度变化信息移动所述 电子放大镜的放大区域的方法可以为:将所述电子放大镜的放大区域的位置向 所述倾斜角度变化矢量在显示屏平面的矢量分量的方向移动。例如图 5所示的 场景, 显示屏的上部朝用户所在方向倾斜, 放大镜位置下移。 在另一种可能的 实现场景中,根据所述倾斜角度变化信息移动所述电子放大镜的放大区域的方 法可以为: 保持所述电子放大镜的放大区域相对整个显示区域的位置不变,将 所述显示屏的显示内容向所述倾斜角度变化矢量在显示屏平面的矢量分量相 反的方向移动; 其中, 当移动的显示内容经过所述电子放大镜的放大区域时被 放大。 例如图 6所示, 显示屏的上部朝用户所在方向倾斜, 放大镜位置不变, 界面内容向上移动。在另一种可能的实现场景中,根据所述倾斜角度变化信息 大镜未到达显示屏的边缘时,将所述电子放大镜的放大区域的位置向所述倾斜 角度变化矢量在显示屏平面上的矢量分量的方向移动;当放大镜处于显示屏的 边缘时,保持所述电子放大镜的放大区域相对整个显示区域的位置不变,将所 述显示屏的显示内容向所述倾斜角度矢量在显示屏平面上的矢量分量相反的 方向移动。
可以理解的是, 为了适应用户的视觉感受, 当显示屏被旋转时也可以通过 重力传感器检测到, 结合现有屏幕旋转后显示界面的调整, 例如, 从竖屏显示 调整为横屏显示, 可以将放大镜跟随调整后的显示界面,保持放大镜与显示界 面的相对位置不变。 例如, 如图 7所示, 放大镜的位置在显示屏的右上角, 当 用户旋转设备,将设备由纵向改为横向时,放大镜的位置并不会也随着设备旋 转至左上角, 而是跟随放大镜所作用的界面信息, 依然展示在右上角。 当然, 参考界面的调整, 放大镜在屏幕上横轴和纵轴的相对位置也需要相应调整。
206、 根据用户触发关闭所述电子放大镜。
其中, 关闭放大镜的方式可以为长按、 双击、 摇晃或其他特殊手势, 本实 施例对此不做限定。
可选的, 所述显示屏的显示内容包括图片、 文字和 /或表格; 所述电子放 大镜的放大区域的形状包括: 圓形、 矩形、 菱形或自定义形状。 特别的, 当所 述显示内容为表格时, 所述电子放大镜的放大区域的形状为矩形。
本发明实施例提供的电子放大镜的实现方法,在电子放大镜被激活后,根 据重力传感器确定到的显示屏倾斜角度变化信息,将电子放大镜的放大区域的 位置向相应的位置移动,与现有技术中需要用户持续按住并移动电子放大镜位 置的技术相比,在放大镜激活后不需要持续按住操作,从而简化用户手部操作, 避免点按操作遮挡显示内容, 达到便于用户操作并利于内容观看的目的。 本发明另一实施例还提供一种 UE, 如图 9所示, 包括:
确定单元 91 , 用于当所述 UE的电子放大镜被激活后, 通过所述 UE的重 力传感器确定所述 UE的显示屏的倾斜角度变化信息;
移动单元 92, 用于根据所述确定单元 91确定的倾斜角度变化信息移动所 述电子放大镜的放大区域,其中所述电子放大镜的放大区域为所述显示屏的显 示区域中的一部分;
界面绘制单元 93 , 用于绘制所述放大镜的放大区域之外的界面内容, 以 通过显示屏显示;
放大镜绘制单元 94, 用于当显示内容进入所 文大区域时, 将所 文大 区域内的内容放大显示。
进一步可选的,在第一种应用场景中, 所述显示屏的倾斜角度变化信息包 括: 所述显示屏的倾斜角度变化矢量; 所述移动单元 92具体用于: 根据所述 显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示屏平面的矢量 分量; 将所述电子放大镜的放大区域的位置向确定的所述矢量分量的方向移 动。
进一步可选的,在第二种应用场景中,所述显示屏的倾斜角度变化信息 包 括: 所述显示屏的倾斜角度变化矢量; 所述移动单元 92具体用于: 根据所述 显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示屏平面的矢量 分量;保持所述电子放大镜的放大区域相对所述显示屏的整个显示区域的位置 不变,将所述显示屏的显示内容向确定的所述矢量分量相反的方向移动, 以使 当移动的显示内容经过所述电子放大镜的放大区域时被放大。
进一步的, 所述确定单元 91包括:
基准子单元 911 , 用于通过所述重力传感器获取初始时刻显示屏的倾斜角 度作为水平基准角度;
确定子单元 912, 用于通过所述重力传感器实时获取所述显示屏的倾斜角 度,将实时获取的所述显示屏的倾斜角度与所述基准子单元 911获取的水平基 准角度比较, 以确定所述显示屏的倾斜角度变化矢量的方向。
进一步可选的,在第一种应用场景中, 所述显示屏的倾斜角度变化信息还 包括: 所述显示屏的倾斜角度变化幅度; 所述确定单元 91 , 还用于通过重力 传感器确定显示屏的倾斜角度变化幅度,并根据所述显示屏的倾斜角度变化幅 度确定放大区域的移动速度;
所述移动单元 92具体用于: 按照所述确定单元 91已确定的移动速度,根 据所述确定单元确定的倾斜角度变化矢量的方向移动所述电子放大镜的放大 区域。 进一步可选的,在第二种应用场景中, 所述显示屏的倾斜角度变化信息还 包括: 所述显示屏的倾斜角度变化幅度;
所述确定单元 91 , 还用于根据所述显示屏的倾斜角度变化幅度确定放大 区域的移动速度;
所述移动单元 92具体用于: 保持所述电子放大镜的放大区域相对所述显 示屏的整个显示区域的位置不变, 按照所述确定单元 91 已确定的移动速度, 将所述显示屏的显示内容向所述矢量分量相反的方向移动,以使当移动的显示 内容经过所述电子放大镜的放大区域时被放大。
进一步的, 所述显示屏的显示内容包括图片、 文字和 /或表格; 所述电子 放大镜的放大区域的形状包括: 圓形、 矩形、 菱形或自定义形状。
进一步的, 当所述显示内容为表格时, 所述电子放大镜的放大区域的形状 为矩形。
需要说明的是, 图 9所示 UE中其各个模块的具体实施过程以及各个模块 之间的信息交互等内容, 由于与本发明方法实施例基于同一发明构思, 可以参 见方法实施例, 在此不——贅述。
本发明实施例提供的 UE, 在电子放大镜被激活后, 根据重力传感器确定 到的显示屏倾斜角度变化信息,将电子放大镜的放大区域的位置向相应的位置 移动, 与现有技术中需要用户持续按住并移动电子放大镜位置的技术相比,在 放大镜激活后不需要持续按住操作,从而简化用户手部操作,避免点按操作遮 挡显示内容, 达到便于用户操作并利于内容观看的目的。 本发明另一实施例还提供一种 UE, 如图 10所示, 包括: 处理器 1001 , 用于在所述 UE的电子放大镜激活后, 触发所述 UE的重力 传感器;
重力传感器 1002, 用于在所述处理器 1001的触发下确定所述 UE的显示 屏的倾斜角度变化信息;
所述处理器 1001 , 还用于根据所述重力传感器 1002确定的倾斜角度变化 信息移动所述电子放大镜的放大区域;
显示屏 1003 ,用于呈现所述 UE的显示内容和所述电子放大镜; 其中所述 电子放大镜的放大区域为所述显示屏的显示区域中的一部分,进入所 丈大区 域的显示内容被放大显示。
所述处理器 1001可以采用通用的中央处理器(Central Processing Unit,
CPU ) , 微处理器, 应用专用集成电路( Application Specific Integrated Circuit , ASIC ), 或者一个或多个集成电路, 用于执行相关程序, 以实现本发明实施例 所提供的技术方案。
进一步可选的,在第一种应用场景中, 所述显示屏的倾斜角度变化信息包 括: 所述显示屏的倾斜角度变化矢量; 所述处理器 1001具体用于:
根据所述重力传感器 1002确定的所述显示屏 1003的倾斜角度变化矢量, 确定所述倾斜角度变化矢量在显示屏平面的矢量分量;将所述电子放大镜的放 大区域的位置向所述矢量分量的方向移动。
进一步可选的,在第二种应用场景中, 所述显示屏的倾斜角度变化信息包 括: 所述显示屏的倾斜角度变化矢量; 所述处理器 1001具体用于:
根据所述重力传感器 1002确定的所述显示屏 1003的倾斜角度变化矢量, 确定所述倾斜角度变化矢量在显示屏平面的矢量分量;保持所述电子放大镜的 放大区域相对所述显示屏的整个显示区域的位置不变,将所述显示屏的显示内 容向所述矢量分量相反的方向移动; 其中, 当移动的显示内容经过所述电子放 大镜的放大区域时被放大。
进一步的, 所述重力传感器 1002具体用于:
在所述处理器 1001的触发下,获取初始时刻所述显示屏 1003的倾斜角度 作为水平基准角度; 实时获取所述显示屏 1003的倾斜角度, 将实时获取的显 示屏 1003的倾斜角度与所述水平基准角度比较,以确定显示屏 1003的倾斜角 度变化矢量的方向。
进一步可选的,在第一种应用场景中, 所述显示屏的倾斜角度变化信息还 可以包括: 所述显示屏的倾斜角度变化幅度; 所述重力传感器 1002还用于: 确定显示屏 1003的倾斜角度变化幅度,并根据所述显示屏 1003的倾斜角 度变化幅度确定放大区域的移动速度;
所述处理器 1001具体用于:按照所述重力传感器 1002已确定的移动速度, 根据所述重力传感器 1002确定的倾斜角度变化矢量的方向移动所述电子放大 镜的放大区域。
进一步可选的,在第二种应用场景中, 所述显示屏的倾斜角度变化信息还 包括: 所述显示屏的倾斜角度变化幅度; 所述重力传感器 1002还用于:
根据所述显示屏 1003的倾斜角度变化幅度确定放大区域的移动速度; 所述处理器 1001具体用于: 保持所述电子放大镜的放大区域相对所述显 示屏的整个显示区域的位置不变, 按照所述重力传感器 1002已确定的移动速 度, 将所述显示屏 1003的显示内容向所述矢量分量相反的方向移动, 以使当 移动的显示内容经过所述电子放大镜的放大区域时被放大。 进一步的, 所述显示屏 1003的显示内容包括图片、 文字和 /或表格; 所述 电子放大镜的放大区域的形状包括: 圓形、 矩形、 菱形或自定义形状。
进一步的, 当所述显示内容为表格时, 所述电子放大镜的放大区域的形状 为矩形。
需要说明的是, 图 10所示 UE中其各个模块的具体实施过程以及各个模 块之间的信息交互等内容, 由于与本发明方法实施例基于同一发明构思, 可以 参见方法实施例, 在此不——贅述。
本发明实施例提供的 UE, 在电子放大镜被激活后, 根据重力传感器确定 到的显示屏倾斜角度变化信息,将电子放大镜的放大区域的位置向相应的位置 移动, 与现有技术中需要用户持续按住并移动电子放大镜位置的技术相比,在 放大镜激活后不需要持续按住操作,从而简化用户手部操作,避免点按操作遮 挡显示内容, 达到便于用户操作并利于内容观看的目的。 通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到本发 明可借助软件加必需的通用硬件的方式来实现, 当然也可以通过硬件,但很多 信息下前者是更佳的实施方式。基于这样的理解, 本发明的技术方案本质上或 者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软 件产品存储在可读取的存储介质中, 如计算机的软盘, 硬盘或光盘等, 包括若 干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备 等)执行本发明各个实施例所述的方法。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于 此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到 变化或替换, 都应涵盖在本发明的保护范围之内。 因此, 本发明的保护范围应 以所述权利要求的保护范围为准。

Claims

权 利 要 求
1、 一种电子放大镜的实现方法, 其特征在于, 包括:
当用户终端 UE的电子放大镜被激活后,通过所述 UE的重力传感器确定所 述 UE的显示屏的倾斜角度变化信息;
根据所述倾斜角度变化信息移动所述电子放大镜的放大区域,其中所述电 子放大镜的放大区域为所述显示屏的显示区域中的一部分,使得进入所述放大 区域的显示内容被放大显示。
2、 根据权利要求 1所述的电子放大镜的实现方法, 其特征在于, 所述显 示屏的倾斜角度变化信息包括: 所述显示屏的倾斜角度变化矢量; 所述根据所 述显示屏的倾斜角度变化信息移动所述电子放大镜的放大区域, 包括:
根据所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示 屏平面的矢量分量;
将所述电子放大镜的放大区域的位置向所述矢量分量的方向移动。
3、 根据权利要求 1所述的电子放大镜的实现方法, 其特征在于, 所述显 示屏的倾斜角度变化信息包括: 所述显示屏的倾斜角度变化矢量; 所述根据所 述倾斜角度变化信息移动所述电子放大镜的放大区域, 包括:
根据所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示 屏平面的矢量分量;
保持所述电子放大镜的放大区域相对所述显示屏的整个显示区域的位置 不变,将所述显示屏的显示内容向所述矢量分量相反的方向移动, 以使当移动 的显示内容经过所述电子放大镜的放大区域时被放大。
4、 根据权利要求 1-3中任一项所述的电子放大镜的实现方法, 其特征在 于, 所述通过重力传感器确定显示屏的倾斜角度变化信息, 包括: 通过所述重力传感器获取初始时刻显示屏的倾斜角度作为水平基准角度; 通过所述重力传感器实时获取所述显示屏的倾斜角度,将实时获取的所述 显示屏的倾斜角度与所述水平基准角度比较,以确定所述显示屏的倾斜角度变 化矢量。
5、 根据权利要求 2所述的电子放大镜的实现方法, 其特征在于, 所述显 示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅度; 所述方法 还包括:
根据所述显示屏的倾斜角度变化幅度确定放大区域的移动速度; 所述根据所述倾斜角度变化信息移动所述电子放大镜的放大区域包括:按 照已确定的所述移动速度,根据所述倾斜角度变化矢量的方向移动所述电子放 大镜的放大区域。
6、 根据权利要求 3所述的电子放大镜的实现方法, 其特征在于, 所述显 示屏的倾斜角度变化信息还包括: 所述显示屏的倾斜角度变化幅度; 所述方法 还包括:
根据所述显示屏的倾斜角度变化幅度确定放大区域的移动速度; 所述根据所述倾斜角度变化信息移动所述电子放大镜的放大区域包括:保 持所述电子放大镜的放大区域相对所述显示屏的整个显示区域的位置不变,按 照已确定的所述移动速度,将所述显示屏的显示内容向所述矢量分量相反的方 向移动。
7、 根据权利要求 1所述的电子放大镜的实现方法, 其特征在于, 所述显 示屏的显示内容包括图片、 文字和 /或表格; 所述电子放大镜的放大区域的形 状包括: 圓形、 矩形、 菱形或自定义形状。
8、 根据权利要求 7所述的电子放大镜的实现方法, 其特征在于, 当所述 显示内容为表格时, 所述电子放大镜的放大区域的形状为矩形。
9、 一种用户终端 UE , 其特征在于, 包括:
确定单元, 用于当所述 UE的电子放大镜被激活后,通过所述 UE的重力传 感器确定所述 UE的显示屏的倾斜角度变化信息;
移动单元,用于根据所述确定单元确定的倾斜角度变化信息移动所述电子 放大镜的放大区域,其中所述电子放大镜的放大区域为所述显示屏的显示区域 中的一部分;
界面绘制单元, 用于绘制所述放大镜的放大区域之外的界面内容, 以通过 显示屏显示;
放大镜绘制单元, 用于当显示内容进入所述放大区域时,将所 大区域 内的内容放大显示。
10、 根据权利要求 9所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息包括: 所述显示屏的倾斜角度变化矢量; 所述移动单元具体用于: 根据 所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示屏平面的 矢量分量;将所述电子放大镜的放大区域的位置向确定的所述矢量分量的方向 移动。
11、 根据权利要求 9所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息 包括: 所述显示屏的倾斜角度变化矢量; 所述移动单元具体用于: 根 据所述显示屏的倾斜角度变化矢量,确定所述倾斜角度变化矢量在显示屏平面 的矢量分量;保持所述电子放大镜的放大区域相对所述显示屏的整个显示区域 的位置不变, 将所述显示屏的显示内容向确定的所述矢量分量相反的方向移 动, 以使当移动的显示内容经过所述电子放大镜的放大区域时被放大。
12、 根据权利要求 9-11中任一项所述的 UE , 其特征在于, 所述确定单元 包括:
基准子单元,用于通过所述重力传感器获取初始时刻显示屏的倾斜角度作 为水平基准角度;
确定子单元, 用于通过所述重力传感器实时获取所述显示屏的倾斜角度, 将实时获取的所述显示屏的倾斜角度与所述基准子单元获取的水平基准角度 比较, 以确定所述显示屏的倾斜角度变化矢量。
1 3、 根据权利要求 10所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息还包括: 所述显示屏的倾斜角度变化幅度;
所述确定单元,还用于根据所述显示屏的倾斜角度变化幅度确定放大区域 的移动速度;
所述移动单元具体用于: 按照所述确定单元已确定的移动速度,根据所述 确定单元确定的倾斜角度变化矢量的方向移动所述电子放大镜的放大区域。
14、 根据权利要求 11所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息还包括: 所述显示屏的倾斜角度变化幅度;
所述确定单元,还用于根据所述显示屏的倾斜角度变化幅度确定放大区域 的移动速度;
所述移动单元具体用于:保持所述电子放大镜的放大区域相对所述显示屏 的整个显示区域的位置不变,按照所述确定单元已确定的移动速度,将所述显 示屏的显示内容向所述矢量分量相反的方向移动。
15、 根据权利要求 9所述的 UE , 其特征在于, 所述显示屏的显示内容包 括图片、 文字和 /或表格; 所述电子放大镜的放大区域的形状包括: 圓形、 矩 形、 菱形或自定义形状。
16、根据权利要求 15所述的 UE ,其特征在于, 当所述显示内容为表格时, 所述电子放大镜的放大区域的形状为矩形。
17、 一种用户终端 UE , 其特征在于, 包括:
处理器,用于在所述 UE的电子放大镜激活后,触发所述 UE的重力传感器; 所述重力传感器, 用于在所述处理器的触发下确定所述 UE的显示屏的倾 斜角度变化信息;
所述处理器,还用于根据所述重力传感器确定的倾斜角度变化信息移动所 述电子放大镜的放大区域;
显示屏, 用于呈现所述 UE的显示内容和所述电子放大镜; 其中所述电子 放大镜的放大区域为所述显示屏的显示区域中的一部分,进入所述放大区域的 显示内容被放大显示。
18、 根据权利要求 17所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息包括: 所述显示屏的倾斜角度变化矢量; 所述处理器具体用于:
根据所述重力传感器确定的所述显示屏的倾斜角度变化矢量,确定所述倾 斜角度变化矢量在显示屏平面的矢量分量;
将所述电子放大镜的放大区域的位置向所述矢量分量的方向移动。
19、 根据权利要求 17所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息包括: 所述显示屏的倾斜角度变化矢量; 所述处理器具体用于:
根据所述重力传感器确定的所述显示屏的倾斜角度变化矢量,确定所述倾 斜角度变化矢量在显示屏平面的矢量分量;
保持所述电子放大镜的放大区域相对所述显示屏的整个显示区域的位置 不变,将所述显示屏的显示内容向所述矢量分量相反的方向移动, 以使当移动 的显示内容经过所述电子放大镜的放大区域时被放大。
20、 根据权利要求 17-19 中任一项所述的 UE , 其特征在于, 所述重力传 感器具体用于:
获取初始时刻所述显示屏的倾斜角度作为水平基准角度;
实时获取所述显示屏的倾斜角度,将实时获取的所述显示屏的倾斜角度与 所述水平基准角度比较, 以确定所述显示屏的倾斜角度变化矢量。
21、 根据权利要求 18所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息还包括: 所述显示屏的倾斜角度变化幅度; 所述重力传感器还用于: 根据所述显示屏的倾斜角度变化幅度确定放大区域的移动速度; 所述处理器具体用于: 按照所述重力传感器已确定的移动速度,根据所述 重力传感器确定的倾斜角度变化矢量的方向移动所述电子放大镜的放大区域。
22、 根据权利要求 19所述的 UE , 其特征在于, 所述显示屏的倾斜角度变 化信息还包括: 所述显示屏的倾斜角度变化幅度; 所述重力传感器还用于: 根据所述显示屏的倾斜角度变化幅度确定放大区域的移动速度; 所述处理器具体用于:保持所述电子放大镜的放大区域相对所述显示屏的 整个显示区域的位置不变,按照所述重力传感器已确定的移动速度,将所述显 示屏的显示内容向所述矢量分量相反的方向移动,以使当移动的显示内容经过 所述电子放大镜的放大区域时被放大。
23、 根据权利要求 17所述的 UE , 其特征在于, 所述显示屏的显示内容包 括图片、 文字和 /或表格; 所述电子放大镜的放大区域的形状包括: 圓形、 矩 形、 菱形或自定义形状。
24、根据权利要求 23所述的 UE,其特征在于, 当所述显示内容为表格时, 所述电子放大镜的放大区域的形状为矩形。
PCT/CN2014/071023 2013-08-30 2014-01-21 一种电子放大镜的实现方法及用户终端 WO2015027682A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR20147026943A KR20150039706A (ko) 2013-08-30 2014-01-21 전자 확대기를 구현하는 방법 및 사용자 장치
US14/551,303 US20150077437A1 (en) 2013-08-30 2014-11-24 Method for Implementing Electronic Magnifier and User Equipment

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2013103906831A CN103455257A (zh) 2013-08-30 2013-08-30 一种电子放大镜的实现方法及用户终端
CN201310390683.1 2013-08-30

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/551,303 Continuation US20150077437A1 (en) 2013-08-30 2014-11-24 Method for Implementing Electronic Magnifier and User Equipment

Publications (1)

Publication Number Publication Date
WO2015027682A1 true WO2015027682A1 (zh) 2015-03-05

Family

ID=49737689

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/071023 WO2015027682A1 (zh) 2013-08-30 2014-01-21 一种电子放大镜的实现方法及用户终端

Country Status (5)

Country Link
US (1) US20150077437A1 (zh)
KR (1) KR20150039706A (zh)
CN (1) CN103455257A (zh)
TW (1) TW201514834A (zh)
WO (1) WO2015027682A1 (zh)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455257A (zh) * 2013-08-30 2013-12-18 华为技术有限公司 一种电子放大镜的实现方法及用户终端
CN104866080B (zh) * 2014-02-24 2020-08-18 腾讯科技(深圳)有限公司 屏幕内容显示方法和系统
US10345869B2 (en) * 2015-06-30 2019-07-09 Verizon Patent And Licensing Inc. Wearable device having at least one interchangeable touch user interface
CN106604146A (zh) * 2015-10-20 2017-04-26 中兴通讯股份有限公司 机顶盒显示界面放大的方法和装置
CN105607829A (zh) * 2015-12-16 2016-05-25 魅族科技(中国)有限公司 一种显示方法及装置
CN108431759A (zh) * 2016-11-21 2018-08-21 深圳市柔宇科技有限公司 电子装置及其显示控制方法
WO2019071486A1 (zh) * 2017-10-11 2019-04-18 深圳传音通讯有限公司 一种基于智能终端的屏幕控制方法及屏幕控制系统
CN109144360B (zh) * 2018-05-31 2021-04-23 北京小米移动软件有限公司 屏幕点亮方法、电子设备和存储介质
US20220221622A1 (en) * 2019-08-22 2022-07-14 Sony Group Corporation Electronic lens, electronic device and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042300A (zh) * 2006-03-24 2007-09-26 株式会社电装 画面显示装置、画面显示方法及其控制程序
CN102339200A (zh) * 2010-07-23 2012-02-01 联想(北京)有限公司 显示方法及便携式电子设备
CN103455257A (zh) * 2013-08-30 2013-12-18 华为技术有限公司 一种电子放大镜的实现方法及用户终端

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100505562C (zh) * 2003-11-07 2009-06-24 英华达(南京)科技有限公司 画面的局部区域放大显示的方法
CN100429610C (zh) * 2006-01-19 2008-10-29 宏达国际电子股份有限公司 直觉式荧幕控制器
US9372590B2 (en) * 2008-09-26 2016-06-21 Microsoft Technology Licensing, Llc Magnifier panning interface for natural input devices
CN101727265A (zh) * 2008-10-31 2010-06-09 英华达股份有限公司 手持式电子装置及其手持式电子装置的操作方法
US8441441B2 (en) * 2009-01-06 2013-05-14 Qualcomm Incorporated User interface for mobile devices
US8228330B2 (en) * 2009-01-30 2012-07-24 Mellmo Inc. System and method for displaying bar charts with a fixed magnification area
KR101915615B1 (ko) * 2010-10-14 2019-01-07 삼성전자주식회사 모션 기반 사용자 인터페이스 제어 장치 및 방법
CN102141846A (zh) * 2011-03-09 2011-08-03 中兴通讯股份有限公司 一种直觉式浏览内容的方法及移动终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042300A (zh) * 2006-03-24 2007-09-26 株式会社电装 画面显示装置、画面显示方法及其控制程序
CN102339200A (zh) * 2010-07-23 2012-02-01 联想(北京)有限公司 显示方法及便携式电子设备
CN103455257A (zh) * 2013-08-30 2013-12-18 华为技术有限公司 一种电子放大镜的实现方法及用户终端

Also Published As

Publication number Publication date
KR20150039706A (ko) 2015-04-13
US20150077437A1 (en) 2015-03-19
TW201514834A (zh) 2015-04-16
CN103455257A (zh) 2013-12-18

Similar Documents

Publication Publication Date Title
WO2015027682A1 (zh) 一种电子放大镜的实现方法及用户终端
US9024877B2 (en) Method for automatically switching user interface of handheld terminal device, and handheld terminal device
KR101691478B1 (ko) 통합 입력에 따른 단말기 운용 방법 및 이를 지원하는 휴대 단말기
WO2020143663A1 (zh) 显示方法及移动终端方法
EP3136214A1 (en) Touch operation method and apparatus for terminal
CN106445340B (zh) 一种双屏终端显示立体图像的方法和装置
US10664154B2 (en) Displayed content adjustment based on a radian of an arc
US11843715B2 (en) Photographing method and terminal
CN108415641B (zh) 一种图标的处理方法及移动终端
CN110825302A (zh) 一种响应操作轨迹的方法以及操作轨迹响应装置
WO2020259015A1 (zh) 投屏方法及移动终端
US11029778B2 (en) Device and method for processing user input
WO2018120955A1 (zh) 直播编码的方法、装置、终端、联动编码服务器及系统
WO2019184947A1 (zh) 图像查看方法及移动终端
CN108513671B (zh) 一种2d应用在vr设备中的显示方法及终端
WO2021068885A1 (zh) 控制方法及电子设备
CN108920069B (zh) 一种触控操作方法、装置、移动终端和存储介质
JP2018523362A (ja) タッチパッドを用いて携帯端末の撮影焦点距離を調整する方法および携帯端末
CN110417960B (zh) 一种可折叠触摸屏的折叠方法及电子设备
WO2019169991A1 (zh) 显示方法及移动终端
WO2020211596A1 (zh) 控制方法及终端设备
WO2020078234A1 (zh) 显示控制方法及终端
WO2016188252A1 (zh) 参考内容展示的方法、装置以及存储介质
WO2019154360A1 (zh) 界面切换方法及移动终端
WO2020135091A1 (zh) 文件处理方法及终端设备

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 20147026943

Country of ref document: KR

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14839451

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14839451

Country of ref document: EP

Kind code of ref document: A1