CN111897481A - Display area dynamic adjustment method and device and electronic equipment - Google Patents

Display area dynamic adjustment method and device and electronic equipment Download PDF

Info

Publication number
CN111897481A
CN111897481A CN202010742249.5A CN202010742249A CN111897481A CN 111897481 A CN111897481 A CN 111897481A CN 202010742249 A CN202010742249 A CN 202010742249A CN 111897481 A CN111897481 A CN 111897481A
Authority
CN
China
Prior art keywords
acceleration
mobile terminal
display area
threshold
touch screen
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010742249.5A
Other languages
Chinese (zh)
Inventor
彭聪
高文俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202010742249.5A priority Critical patent/CN111897481A/en
Publication of CN111897481A publication Critical patent/CN111897481A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • G06F3/04845Interaction 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 for image manipulation, e.g. dragging, rotation, expansion or change of colour

Landscapes

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

Abstract

The disclosure relates to a display area dynamic adjustment method, a display area dynamic adjustment device, an electronic device and a computer-readable storage medium. The dynamic display area adjusting method is applied to a mobile terminal, the mobile terminal comprises a touch screen and an acceleration sensor, and the method comprises the following steps: acquiring acceleration data output by an acceleration sensor; judging whether the mobile terminal has sudden motion currently or not according to the acceleration data; if the mobile terminal is suddenly moved at present, the area of a display area of the touch screen is reduced, wherein the display area is used for displaying content and receiving touch signals. By detecting the motion state of the mobile terminal, the display area is dynamically adjusted, emergency situations are flexibly coped, and the accidental touch of a user caused by sudden motion is prevented.

Description

Display area dynamic adjustment method and device and electronic equipment
Technical Field
The present disclosure relates to the field of touch screen control of mobile terminals, and in particular, to a dynamic display area adjustment method, a dynamic display area adjustment apparatus, an electronic device, and a computer-readable storage medium.
Background
At present intelligent mobile terminal generally adopts the large tracts of land touch-sensitive screen, and the touch-sensitive screen covers the vast majority area of equipment upper surface, and especially curved surface screen makes the content of demonstration further extend to the mobile terminal side, has greatly promoted the user experience of equipment when gripping, and consequently more and more mobile terminal has used this kind of touch-sensitive screen, and it has the button of corresponding function to show on the display area of touch-sensitive screen, or the user can carry out corresponding operation through touch-sensitive screen on the display area. However, when the mobile terminal is held by one hand, a touch error behavior often occurs, for example, in some cases, a user may unintentionally increase a touch area to cause a touch error operation, which affects normal operation experience of the user.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a dynamic display area adjustment method, a resource allocation apparatus, an electronic device, and a computer-readable storage medium.
According to a first aspect of the embodiments of the present disclosure, a method for dynamically adjusting a display area is provided, which is applied to a mobile terminal, where the mobile terminal includes a touch screen and an acceleration sensor, and the method includes: acquiring acceleration data output by the acceleration sensor; judging whether the mobile terminal has sudden motion currently or not according to the acceleration data; and if the mobile terminal is suddenly moved at present, reducing the area of the display area of the touch screen.
In an embodiment, the acceleration data comprises component accelerations of the mobile terminal in three dimensions, including an x-axis component acceleration, a y-axis component acceleration and a z-axis component acceleration.
In an embodiment, the determining, by the acceleration data, whether the mobile terminal is currently in sudden motion includes: if the difference value obtained by subtracting the partial acceleration of the same dimension at the previous moment from the partial acceleration of any dimension at the current moment is larger than a first threshold value, or if the difference value obtained by subtracting the total acceleration at the previous moment from the total acceleration at the current moment is larger than a second threshold value, judging that the mobile terminal suddenly moves; wherein the total acceleration is a vector sum of the component accelerations in three dimensions.
In an embodiment, the determining, by the acceleration data, whether the mobile terminal is currently in sudden motion includes: if the partial acceleration of any dimension at the previous moment is smaller than a third threshold and the partial acceleration of the same dimension at the current moment is larger than a fourth threshold, or if the total acceleration at the previous moment is smaller than a fifth threshold and the total acceleration at the current moment is larger than a sixth threshold, determining that the mobile terminal has sudden motion; wherein the total acceleration is a vector sum of the three-dimensional component accelerations; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.
In one embodiment, the reducing the area of the display area of the touch screen includes: and reducing the display area towards the center of the touch screen.
In one embodiment, before the acquiring the acceleration data output by the acceleration sensor, the method further includes: acquiring preset settings of the display area, wherein the preset settings comprise initial settings of the mobile terminal or user-defined settings; the method further comprises the following steps: and if the mobile terminal does not have sudden motion at present, keeping the display area according to the preset setting.
According to a second aspect of the embodiments of the present disclosure, there is provided a device for dynamically adjusting a display area, which is applied to a mobile terminal, where the mobile terminal includes a touch screen and an acceleration sensor, and the device includes: the data acquisition unit is used for acquiring acceleration data output by the acceleration sensor; the motion analysis unit is used for judging whether the mobile terminal has sudden motion currently or not according to the acceleration data; and the area adjusting unit is used for reducing the area of the display area of the touch screen when the mobile terminal is suddenly moved at present.
In an embodiment, the acceleration data comprises component accelerations of the mobile terminal in three dimensions, including an x-axis component acceleration, a y-axis component acceleration and a z-axis component acceleration.
In an embodiment, the motion analysis unit is configured to: if the difference value obtained by subtracting the partial acceleration of the same dimension at the previous moment from the partial acceleration of any dimension at the current moment is larger than a first threshold value, or if the difference value obtained by subtracting the total acceleration at the previous moment from the total acceleration at the current moment is larger than a second threshold value, judging that the mobile terminal suddenly moves; wherein the total acceleration is a vector sum of the component accelerations in three dimensions.
In an embodiment, the motion analysis unit is configured to: if the partial acceleration of any dimension at the previous moment is smaller than a third threshold and the partial acceleration of the same dimension at the current moment is larger than a fourth threshold, or if the total acceleration at the previous moment is smaller than a fifth threshold and the total acceleration at the current moment is larger than a sixth threshold, determining that the mobile terminal has sudden motion; wherein the total acceleration is a vector sum of the three-dimensional component accelerations; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.
In an embodiment, the area adjusting unit is configured to: and reducing the display area towards the center of the touch screen.
In one embodiment, the apparatus further comprises: the device comprises a setting acquisition unit, a display unit and a display unit, wherein the setting acquisition unit is used for acquiring preset settings of the display area of the touch screen, and the preset settings comprise initial settings of the mobile terminal or user-defined settings; the region adjusting unit is further configured to: and when the mobile terminal does not have sudden motion at present, keeping the display area according to the preset setting.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a memory to store instructions; and the processor is used for calling the instructions stored in the memory to execute the display area dynamic adjustment method of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing instructions that, when executed by a processor, perform the method for dynamically adjusting a display area of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: by detecting the motion state of the mobile terminal and dynamically adjusting the display area, the display area is reduced in an emergency, and a touch operation signal cannot be caused even if a user touches the edge part of the screen, and the touch operation of the user on the edge part in a normal situation is not influenced, so that the influence of a fixed anti-false touch area on the operation of a common user is effectively prevented, the emergency is flexibly coped with, and the user false touch caused by sudden motion is prevented.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method for dynamically adjusting a display area according to an exemplary embodiment.
Fig. 2 is an effect diagram illustrating a method for dynamically adjusting a display area according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating another method for dynamically adjusting a display area according to an exemplary embodiment.
Fig. 4 is a schematic block diagram illustrating a display area dynamic adjustment apparatus according to an exemplary embodiment.
Fig. 5 is a schematic block diagram illustrating another display area dynamic adjustment apparatus according to an exemplary embodiment.
FIG. 6 is a schematic block diagram illustrating an apparatus in accordance with an exemplary embodiment.
FIG. 7 is a schematic block diagram illustrating an electronic device in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment of the disclosure provides a dynamic display area adjustment method 10, which is applied to a mobile terminal, where the mobile terminal includes a touch screen and an acceleration sensor, and the touch screen is used for displaying content and receiving a touch signal of a user. In practical applications, some areas of the touch screen may receive a touch signal of a user at any time, and respond according to the touch signal, for example, corresponding function buttons may be displayed on the touch screen, and the user may click the function buttons by touch to implement corresponding functions. And under the condition that a user holds the mobile terminal, the areas on the two sides are close to the positions held by the hands of the user, particularly in the mobile terminal with the curved screen, the curved touch screen extends to the side face of the mobile terminal, and the side area can also display content and receive touch signals of the user. In some emergency situations, the user may suddenly increase the grip area or inadvertently touch the area near the grip position, resulting in a malfunction situation. To solve the above problem, the method 10 for dynamically adjusting a display area provided in the embodiment of the present disclosure, as shown in fig. 1, includes steps S11-S13:
step S11: and acquiring acceleration data output by the acceleration sensor.
An acceleration sensor is a sensor that is capable of measuring acceleration, sensing acceleration and converting it into a usable output signal. The damper is generally composed of a mass block, a damper, an elastic element, a sensitive element, an adjusting circuit and the like. In the acceleration process, the acceleration sensor obtains an acceleration value by measuring the inertial force borne by the mass block and utilizing a Newton's second law. Common acceleration sensors include capacitive type, inductive type, strain type, piezoresistive type, piezoelectric type, and the like, according to different sensing elements of the acceleration sensor. The principle of acceleration sensors is newton's second law, i.e. the law of acceleration, i.e. the balance of forces, a (acceleration) being F (inertial force)/M (mass), most acceleration sensors operating according to the principle of the piezoelectric effect. The so-called piezoelectric effect is "the phenomenon that external force applied to the crystal for heteropolar crystals without symmetry centers changes the polarization state of the crystal in addition to deforming the crystal, and establishes an electric field inside the crystal, and the medium is polarized due to mechanical force action is called positive piezoelectric effect". The acceleration sensor utilizes the characteristic that the crystal is deformed due to acceleration in the acceleration sensor. Since this deformation generates a voltage, the acceleration can be converted into a voltage output by simply calculating the relationship between the generated voltage and the applied acceleration.
In an embodiment, the acquired acceleration data may be the partial accelerations of the mobile terminal in three dimensions, that is, an x-axis partial acceleration, a y-axis partial acceleration, and a z-axis partial acceleration, where the x-axis partial acceleration may correspond to the width direction of the mobile terminal, the y-axis partial acceleration may correspond to the length direction of the mobile terminal, and the z-axis partial acceleration may correspond to the thickness direction of the mobile terminal. The acceleration data can be stored in a memory buffer area or other external memories and arranged in a logic structure such as a queue or a stack according to the time sequence, and the mobile terminal can read the data according to the requirement and determine the motion state by judging the size change of the data.
Step S12: and judging whether the mobile terminal has sudden motion currently or not according to the acceleration data.
When the mobile terminal suddenly shakes or shakes sharply, for example, in a bus, the speed of the vehicle suddenly changes, such as suddenly stops or accelerates, and the acceleration data output by the acceleration sensor will change greatly. And reading acceleration data output by the acceleration sensor, and comparing the data at the front moment and the rear moment so as to detect whether the mobile terminal suddenly changes from static or gentle motion to high-speed motion.
Step S13: and if the mobile terminal is suddenly moved at present, reducing the area of the display area of the touch screen.
At present, mobile terminals increasingly adopt large screens, especially curved screens, to improve the operation experience of users. The curved screen is a display screen made of flexible plastic and is mainly realized by an OLED panel. Compared with a straight screen, the curved screen has better elasticity and is not easy to break. When the curved-surface screen is used for a mobile terminal, the curved design of the curved-surface screen is beneficial to holding, the curved-surface screen is better fitted with the palm radian, the distance of the thumb touching the screen when the screen is operated by a single hand is reduced, and the experience of transverse screen-crossing operation under a large-size screen is promoted. The curves may provide better privacy of information to the handset holder, for example, a person sitting next may not be able to see what is displayed on the screen of the device. The application of the large screen, especially the curved screen, expands the area of the content displayed by the mobile terminal on one hand, and enables almost the whole front and side surfaces of the device to be in the area capable of inducing touch operation on the other hand, so that the user is easy to generate misoperation.
When the mobile terminal suddenly shakes or shakes violently, a user may inadvertently hold the mobile terminal tightly, and a palm or a finger touches the screen or a middle part of the screen, which may cause a false touch and unnecessary operations, affecting user experience. Therefore, in the embodiment of the disclosure, after the mobile terminal is detected to be in a sudden motion state, the mobile terminal reduces the display area, and no function button or instruction area for receiving the touch signal of the user is displayed at the edge of the touch screen, so that the touch signal is not triggered even if the user touches the edge or the middle part of the screen, and the touch signal is not displayed and received on the screen under normal conditions, thereby flexibly preventing the false touch operation caused by the stress reaction of the user at the moment, and improving the user experience.
In one embodiment, step S12 may include: if the difference value obtained by subtracting the partial acceleration of the same dimension at the previous moment from the partial acceleration of any dimension at the current moment is larger than a first threshold value, or if the difference value obtained by subtracting the total acceleration at the previous moment from the total acceleration at the current moment is larger than a second threshold value, judging that the mobile terminal suddenly moves; wherein the total acceleration is the vector sum of the component accelerations of the three dimensions.
In this embodiment, the degree of the sudden change of the acceleration is determined by a difference between the front time and the rear time, and when the difference is greater than the first threshold, it is determined that the mobile terminal has suddenly moved. This case does not only consider that the mobile terminal suddenly moves from a standstill, but by detecting the divided acceleration of each dimension, a sudden change in the direction of movement may also cause the display area to shrink.
In one embodiment, step S12 may include: if the partial acceleration of any dimension at the previous moment is smaller than a third threshold and the partial acceleration of the same dimension at the current moment is larger than a fourth threshold, or if the total acceleration at the previous moment is smaller than a fifth threshold and the total acceleration at the current moment is larger than a sixth threshold, determining that the mobile terminal has sudden motion; wherein the total acceleration is the vector sum of the three-dimensional component accelerations; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.
In this embodiment, a short time change in acceleration from a lower value to a higher value is used to determine the occurrence of sudden motion. This case emphasizes consideration of the user's normal use smoothly to a state where a motion suddenly occurs.
In one embodiment, step S13 may include: and reducing the display area towards the center of the touch screen.
In this embodiment, changing the area of the display area may be implemented by changing the shape of the area, and the display area is reduced from being full of the full screen to the center of the screen according to a certain ratio, or even reduced to a point, so that the edge portion of the screen, or even the full screen, has almost no display content, and no meaningful touch signal is generated even if the user touches the non-display portion, thereby reducing the probability of misoperation caused by actions such as gripping and scratching of the user, or completely avoiding the occurrence of misoperation.
Under normal conditions, a user usually touches only a small part of the edge in a normal holding mode, and when an emergency occurs, such as collision, sudden stop or acceleration, the user may not autonomously grip the mobile phone, and may also have a situation that fingers slide, which may cause a larger range of touches, thereby causing misoperation, such as opening an application or pressing some operation buttons, sometimes causing the mobile terminal to mistakenly send information, confirm an order or open many application programs, seriously affecting the operation of the user, and causing user annoyance.
Therefore, when the emergency situation is detected, as shown in fig. 2, the display area 111 of the touch screen 11 of the mobile terminal is reduced toward the center of the touch screen 11. Even if the user touches or clicks the non-display portion of the screen at this time, no meaningful operation instruction is generated, and the above can be avoided.
In an embodiment, as shown in fig. 3, before step S11, the method 10 for dynamically adjusting a display area may further include: step S14: acquiring preset settings of a display area, wherein the preset settings comprise initial settings of a mobile terminal or user-defined settings; the display area dynamic adjustment method 10 may further include: step S15: and if the mobile terminal does not have sudden motion at present, keeping the display area according to preset settings.
In this embodiment, the size of the display area of the touch screen may be set when the touch screen leaves the factory, the user may also set the relevant parameters by user-defining through the interactive interface, the area of the area may be set to a corresponding size according to the user's requirement, and the dynamic adjustment of the area is performed on the basis of the preset setting of the display area. When the user uses the display device normally or returns to normal from sudden movement, the display area keeps the initial area, so that the normal use of the user is ensured.
Based on the same inventive concept, fig. 4 shows a dynamic display area adjustment apparatus 100, which is applied to a mobile terminal, where the mobile terminal includes a touch screen and an acceleration sensor, and the dynamic display area adjustment apparatus 100 includes: a data acquisition unit 110 for acquiring acceleration data output by the acceleration sensor; a motion analysis unit 120, configured to determine whether a sudden motion occurs at the current time of the mobile terminal according to the acceleration data; the area adjusting unit 130 is configured to reduce an area of a display area of the touch screen when the mobile terminal is suddenly moved, where the display area is used for displaying content and receiving a touch signal.
In one embodiment, the acceleration data includes component accelerations of the mobile terminal in three dimensions, including an x-axis component acceleration, a y-axis component acceleration, and a z-axis component acceleration.
In an embodiment, the motion analysis unit 120 is configured to: if the difference value obtained by subtracting the partial acceleration of the same dimension at the previous moment from the partial acceleration of any dimension at the current moment is larger than a first threshold value, or if the difference value obtained by subtracting the total acceleration at the previous moment from the total acceleration at the current moment is larger than a second threshold value, judging that the mobile terminal suddenly moves; wherein the total acceleration is the vector sum of the component accelerations of the three dimensions.
In an embodiment, the motion analysis unit 120 is configured to: if the partial acceleration of any dimension at the previous moment is smaller than a third threshold and the partial acceleration of the same dimension at the current moment is larger than a fourth threshold, or if the total acceleration at the previous moment is smaller than a fifth threshold and the total acceleration at the current moment is larger than a sixth threshold, determining that the mobile terminal has sudden motion; wherein the total acceleration is the vector sum of the three-dimensional component accelerations; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.
In an embodiment, the area adjusting unit 130 is configured to: and reducing the display area towards the center of the touch screen.
In an embodiment, the display area dynamic adjustment apparatus 100 further includes: a setting obtaining unit 140, configured to obtain a preset setting of a display area of a touch screen, where the preset setting includes an initial setting of a mobile terminal or a user-defined setting; the area adjusting unit 130 is further configured to: and when the mobile terminal does not have sudden motion at present, keeping the display area according to preset settings.
With regard to the dynamic display area adjusting apparatus 100 in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment related to the method, and will not be described in detail here.
Fig. 6 is a schematic block diagram illustrating an apparatus of any of the previous embodiments in accordance with an exemplary embodiment. For example, the apparatus 300 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, the apparatus 300 may include one or more of the following components: processing component 302, memory 304, power component 306, multimedia component 308, audio component 310, input/output (I/O) interface 312, sensor component 314, and communication component 316.
The processing component 302 generally controls overall operation of the device 300, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 302 may include one or more processors 320 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 302 can include one or more modules that facilitate interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate interaction between the multimedia component 308 and the processing component 302.
The memory 304 is configured to store various types of data to support operations at the apparatus 300. Examples of such data include instructions for any application or method operating on device 300, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 304 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 306 provides power to the various components of the device 300. The power components 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 300.
The multimedia component 308 includes a screen that provides an output interface between the device 300 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 300 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 310 is configured to output and/or input audio signals. For example, audio component 310 includes a Microphone (MIC) configured to receive external audio signals when apparatus 300 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 304 or transmitted via the communication component 316. In some embodiments, audio component 310 also includes a speaker for outputting audio signals.
The I/O interface 312 provides an interface between the processing component 302 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the device 300. For example, sensor assembly 314 may detect an open/closed state of device 300, the relative positioning of components, such as a display and keypad of device 300, the change in position of device 300 or a component of device 300, the presence or absence of user contact with device 300, the orientation or acceleration/deceleration of device 300, and the change in temperature of device 300. Sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 316 is configured to facilitate wired or wireless communication between the apparatus 300 and other devices. The device 300 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 300 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a computer-readable storage medium comprising instructions, such as the memory 304 comprising instructions, executable by the processor 320 of the apparatus 300 to perform the above-described method is also provided. For example, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 7 is a block diagram illustrating an electronic device 400 according to an example embodiment. For example, the apparatus 400 may be provided as a server. Referring to fig. 7, apparatus 400 includes a processing component 422 that further includes one or more processors and memory resources, represented by memory 442, for storing instructions, such as application programs, that are executable by processing component 422. The application programs stored in memory 442 may include one or more modules that each correspond to a set of instructions. Further, the processing component 422 is configured to execute instructions to perform the above-described methods.
The apparatus 400 may also include a power component 426 configured to perform power management of the apparatus 300, a wired or wireless network interface 450 configured to connect the apparatus 400 to a network, and an input output (I/O) interface 458. The apparatus 400 may operate based on an operating system stored in the memory 442, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (14)

1. A dynamic display area adjustment method is applied to a mobile terminal, wherein the mobile terminal comprises a touch screen and an acceleration sensor, and the method comprises the following steps:
acquiring acceleration data output by the acceleration sensor;
judging whether the mobile terminal has sudden motion currently or not according to the acceleration data;
and if the mobile terminal is suddenly moved at present, reducing the area of the display area of the touch screen.
2. The method according to claim 1, wherein the acceleration data includes component accelerations of the mobile terminal in three dimensions, including an x-axis component acceleration, a y-axis component acceleration, and a z-axis component acceleration.
3. The method according to claim 2, wherein the determining whether the mobile terminal is currently in sudden motion according to the acceleration data comprises:
if the difference value obtained by subtracting the partial acceleration of the same dimension at the previous moment from the partial acceleration of any dimension at the current moment is larger than a first threshold value, or if the difference value obtained by subtracting the total acceleration at the previous moment from the total acceleration at the current moment is larger than a second threshold value, judging that the mobile terminal suddenly moves; wherein the total acceleration is a vector sum of the component accelerations in three dimensions.
4. The method according to claim 2, wherein the determining whether the mobile terminal is currently in sudden motion according to the acceleration data comprises:
if the partial acceleration of any dimension at the previous moment is smaller than a third threshold and the partial acceleration of the same dimension at the current moment is larger than a fourth threshold, or if the total acceleration at the previous moment is smaller than a fifth threshold and the total acceleration at the current moment is larger than a sixth threshold, determining that the mobile terminal has sudden motion; wherein the total acceleration is a vector sum of the three-dimensional component accelerations; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.
5. The method for dynamically adjusting the display area according to claim 1, wherein the reducing the area of the display area of the touch screen comprises:
and reducing the display area towards the center of the touch screen.
6. The dynamic display region adjustment method according to any one of claims 1 to 5, wherein before the acquiring the acceleration data output by the acceleration sensor, the method further comprises:
acquiring preset settings of the display area, wherein the preset settings comprise initial settings of the mobile terminal or user-defined settings; the method further comprises the following steps:
and if the mobile terminal does not have sudden motion at present, keeping the display area according to the preset setting.
7. A dynamic display area adjusting device is applied to a mobile terminal, wherein the mobile terminal comprises a touch screen and an acceleration sensor, and the device comprises:
the data acquisition unit is used for acquiring acceleration data output by the acceleration sensor;
the motion analysis unit is used for judging whether the mobile terminal has sudden motion currently or not according to the acceleration data;
and the area adjusting unit is used for reducing the area of the display area of the touch screen when the mobile terminal is suddenly moved at present.
8. The apparatus according to claim 7, wherein the acceleration data includes component accelerations of the mobile terminal in three dimensions, including an x-axis component acceleration, a y-axis component acceleration, and a z-axis component acceleration.
9. The device according to claim 8, wherein the motion analysis unit is configured to:
if the difference value obtained by subtracting the partial acceleration of the same dimension at the previous moment from the partial acceleration of any dimension at the current moment is larger than a first threshold value, or if the difference value obtained by subtracting the total acceleration at the previous moment from the total acceleration at the current moment is larger than a second threshold value, judging that the mobile terminal suddenly moves; wherein the total acceleration is a vector sum of the component accelerations in three dimensions.
10. The device according to claim 8, wherein the motion analysis unit is configured to:
if the partial acceleration of any dimension at the previous moment is smaller than a third threshold and the partial acceleration of the same dimension at the current moment is larger than a fourth threshold, or if the total acceleration at the previous moment is smaller than a fifth threshold and the total acceleration at the current moment is larger than a sixth threshold, determining that the mobile terminal has sudden motion; wherein the total acceleration is a vector sum of the three-dimensional component accelerations; the fourth threshold is greater than the third threshold, and the sixth threshold is greater than the fifth threshold.
11. The device according to claim 7, wherein the area adjusting unit is configured to:
and reducing the display area towards the center of the touch screen.
12. The device for dynamically adjusting display area according to any one of claims 7-11, further comprising:
the device comprises a setting acquisition unit, a display unit and a display unit, wherein the setting acquisition unit is used for acquiring preset settings of the display area of the touch screen, and the preset settings comprise initial settings of the mobile terminal or user-defined settings;
the region adjusting unit is further configured to: and when the mobile terminal does not have sudden motion at present, keeping the display area according to the preset setting.
13. An electronic device, comprising:
a memory to store instructions; and
a processor for invoking the memory-stored instructions to perform the display area dynamic adjustment method of any of claims 1-6.
14. A computer-readable storage medium storing instructions which, when executed by a processor, perform a method of dynamically adjusting a display area according to any one of claims 1 to 6.
CN202010742249.5A 2020-07-29 2020-07-29 Display area dynamic adjustment method and device and electronic equipment Pending CN111897481A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010742249.5A CN111897481A (en) 2020-07-29 2020-07-29 Display area dynamic adjustment method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010742249.5A CN111897481A (en) 2020-07-29 2020-07-29 Display area dynamic adjustment method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN111897481A true CN111897481A (en) 2020-11-06

Family

ID=73182370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010742249.5A Pending CN111897481A (en) 2020-07-29 2020-07-29 Display area dynamic adjustment method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN111897481A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227472A1 (en) * 2012-02-29 2013-08-29 Joseph W. Sosinski Device, Method, and Graphical User Interface for Managing Windows
CN105700709A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Mobile terminal and method for controlling untouchable area of mobile terminal
CN105955659A (en) * 2016-06-24 2016-09-21 维沃移动通信有限公司 Determining method of response area of touch screen and mobile terminal
CN106031824A (en) * 2015-03-20 2016-10-19 明跃国际健康科技股份有限公司 A wearable device applicable for different motion types
CN106293396A (en) * 2016-08-05 2017-01-04 北京小米移动软件有限公司 terminal control method, device and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130227472A1 (en) * 2012-02-29 2013-08-29 Joseph W. Sosinski Device, Method, and Graphical User Interface for Managing Windows
CN106031824A (en) * 2015-03-20 2016-10-19 明跃国际健康科技股份有限公司 A wearable device applicable for different motion types
CN105700709A (en) * 2016-02-25 2016-06-22 努比亚技术有限公司 Mobile terminal and method for controlling untouchable area of mobile terminal
CN105955659A (en) * 2016-06-24 2016-09-21 维沃移动通信有限公司 Determining method of response area of touch screen and mobile terminal
CN106293396A (en) * 2016-08-05 2017-01-04 北京小米移动软件有限公司 terminal control method, device and terminal

Similar Documents

Publication Publication Date Title
US10750007B2 (en) Method and device for preventing terminal from being inadvertently touched
EP3306441B1 (en) Temperature control method and apparatus
EP3163404B1 (en) Method and device for preventing accidental touch of terminal with touch screen
EP3232299B1 (en) Physical key component, terminal, and touch response method and device
WO2019174611A1 (en) Application configuration method and mobile terminal
US10191645B2 (en) Controlling a touch panel display during scrolling operations
US11199928B2 (en) Method and apparatus for preventing false touch on edge, and storage medium
JP2014010456A (en) Mobile terminal and voice recognition method thereof
CN106873834B (en) Method and device for identifying triggering of key and mobile terminal
EP3232301B1 (en) Mobile terminal and virtual key processing method
JPWO2014084224A1 (en) Electronic device and line-of-sight input method
CN110083266B (en) Information processing method, device and storage medium
US20210247888A1 (en) Method and device for controlling a touch screen, terminal and storage medium
EP3182256B1 (en) Touch control button, touch control panel and touch control terminal
WO2021098604A1 (en) Parameter adjustment method and electronic device
WO2020221024A1 (en) Information reminding method, mobile terminal and computer readable storage medium
CN107239184B (en) Touch screen touch device and method and mobile terminal
US9996186B2 (en) Portable device and method for defining restricted area within touch panel
CN111104001B (en) Method and device for preventing screen from being touched mistakenly, mobile terminal and storage medium
WO2020015529A1 (en) Terminal device control method and terminal device
US20170293417A1 (en) Method and system for detection and resolution of frustration with a device user interface
CN111273979B (en) Information processing method, device and storage medium
CN107203315B (en) Click event processing method and device and terminal
CN111756913A (en) Electronic equipment, key function calling method and device
CN111897481A (en) Display area dynamic adjustment method and device and electronic equipment

Legal Events

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