Nothing Special   »   [go: up one dir, main page]

CN110704145B - Hot area adjusting method and device, electronic equipment and storage medium - Google Patents

Hot area adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN110704145B
CN110704145B CN201910812757.3A CN201910812757A CN110704145B CN 110704145 B CN110704145 B CN 110704145B CN 201910812757 A CN201910812757 A CN 201910812757A CN 110704145 B CN110704145 B CN 110704145B
Authority
CN
China
Prior art keywords
size
hot
hot zone
expansion
zone
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910812757.3A
Other languages
Chinese (zh)
Other versions
CN110704145A (en
Inventor
黄丽薇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910812757.3A priority Critical patent/CN110704145B/en
Publication of CN110704145A publication Critical patent/CN110704145A/en
Application granted granted Critical
Publication of CN110704145B publication Critical patent/CN110704145B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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

Landscapes

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

Abstract

The application provides a hot zone adjusting method and device, electronic equipment and a storage medium. According to the method and the device, at least one hot area on an interface to be displayed is obtained, a first hot area is determined in the at least one hot area, and the size of the first hot area does not meet a preset first size condition, so that the first hot area is expanded until a preset expansion limiting condition is reached. Therefore, the technical scheme provided by the application can improve the touch accuracy of the hot area with small size, is convenient for user operation and improves the operation convenience.

Description

Hot area adjusting method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of terminals, and in particular, to a method and an apparatus for adjusting a hot zone, an electronic device, and a storage medium.
Background
With the continuous development of computer technology, more and more terminals participate in and enrich the life of users, and users can realize various operations by clicking various controls displayed on a display interface of the terminal. The controls displayed by the terminal all have hot areas corresponding to the controls, and the user's operations on the controls, such as clicking, long-time pressing, dragging and the like, are actually operations specific to the hot areas. For example, when a user clicks an icon of an Application (APP) with a finger or a mouse, the clicking operation is actually performed on a hot zone corresponding to the APP icon.
The size and shape of each hot zone in the terminal are fixed, and the size and shape of each hot zone are different. When the hot area is large in size, the user can operate the hot area more easily, and the possibility of misoperation can be reduced; however, if the size of the hot area is small, the operation is inconvenient for the user, which results in the reduction of the operation accuracy of the user, and meanwhile, the occurrence probability of improper operation events such as mistaken touch is increased, and the user needs to quit the mistakenly touched hot area and then operate the small hot area again, which results in poor operation convenience.
Disclosure of Invention
The application provides a hot area adjusting method and device, electronic equipment and a storage medium, so that the touch accuracy of a hot area with a small size is expected to be improved, the operation of a user is facilitated, and the operation convenience is improved.
In a first aspect, the present application provides a hot zone adjusting method, including: the method comprises the steps of obtaining at least one hot area on an interface to be displayed, determining a first hot area in the at least one hot area, wherein the size of the first hot area does not meet a preset first size condition, and accordingly expanding the first hot area until a preset expansion limiting condition is reached. Therefore, the size of the hot area with the smaller size on the interface to be displayed is enlarged, the click accuracy of the small-size hot areas can be improved, the operation of a user is facilitated, and better control experience is achieved.
In this application, the extension restriction conditions include: a size constraint and a position constraint; wherein the size limitation condition includes: the size of the first thermal zone satisfies the first size condition; the position restriction condition includes at least one of: the first thermal zone is in contact with a second thermal zone that is non-overlapping with the first thermal zone; reducing the reference size of a third hot area to a preset second size condition along with the expansion of the first hot area, wherein part or all of the area in the first hot area is displayed on the third hot area in an overlapping manner; the first thermal zone expands to a screen edge position. According to the method and the device, the expansion degree is limited through the size limiting condition, the touch control of other hot areas can be prevented from being influenced when the small hot area is expanded, and the touch control comfort is high.
In a specific implementation, when the first hot zone is expanded, the size of the first hot zone may be expanded according to at least one expansion mode until the expansion performed according to the expansion mode reaches the expansion limit condition.
In a possible implementation manner of the first aspect, the size of the first thermal zone may be proportionally expanded outward until any one of the expansion limiting conditions is satisfied. In this implementation manner, the display position of the central point of the first hot zone in the interface to be displayed may be fixed, and the size of the first hot zone may be expanded outward in an equal ratio; or, the display position of any specified position of the first hot area in the interface to be displayed may be fixed and the size of the first hot area may be expanded outward in an equal ratio. The mode of geometric proportion extension, easy operation can guarantee that the hot zone shape is unchangeable after the extension, and the travelling comfort when the user operates is higher. Especially, the center point position is unchanged, the center point of the hot area cannot deviate in an equal ratio expansion mode, and the user control feeling is better.
In another possible implementation manner of the first aspect, the size of the first hot zone may be further expanded in at least one expansion direction, and each expansion direction is independent and is not limited by the other expansion direction. Specifically, the size of the first thermal zone may be enlarged in one expansion direction until any one of the expansion constraints is satisfied. Furthermore, the size of the first thermal zone may also be enlarged in a plurality of extension directions.
When the size of a first hot area is expanded in a plurality of expansion directions, in any one of the expansion directions, when the expansion is performed to meet the size limit condition, the expansion of the size of the first hot area is stopped in the expansion direction or the direction opposite to the expansion direction; and in any one expansion direction, when the expansion is performed to meet any position limiting condition, continuously expanding the size of the first hot zone in other expansion directions. Therefore, the size of the smaller first hot area can be enlarged as much as possible by the expansion mode, the size of the first hot area is further improved, and the touch operation of a user is facilitated.
Besides, the geometric expansion and the directional expansion can be combined. In one possible implementation manner, the size of the first hot zone may be expanded outward in an equal ratio until any one of the position limitation conditions is satisfied and the size limitation condition is not satisfied, and then the size of the first hot zone is expanded in at least one expansion direction until the expansion limitation condition is satisfied in each expansion direction. The size of the first hot area is expanded in an equal ratio, so that the operation is convenient, and on the basis, the size of the first hot area is expanded in the direction, so that the size of the first hot area is further expanded, and the touch operation of a user is facilitated under the condition that other hot areas are not influenced as much as possible.
In this application, if the first hot zone has a size, the size is smaller than a preset first size threshold, and the first size condition is not satisfied. If the first thermal zone has a plurality of sizes, at least the following processing modes can be adopted: if at least one of the plurality of dimensions is less than a corresponding first dimension threshold, the dimensions of the first thermal zone do not satisfy the first dimension condition; or, if the sizes are all smaller than the corresponding first size threshold, the size of the first thermal zone does not satisfy the first size condition. For determining the first hot zone, the two processing modes have different determining scales, and in an actual scene, a proper processing mode can be selected according to actual needs.
The interface to be displayed to which the application relates comprises: a desktop display interface or any application display interface.
In a second aspect, the present application provides an electronic device comprising: one or more processors; one or more memories; one or more sensors; and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the method according to any implementation of the first aspect.
In a third aspect, the present application provides a computer-readable storage medium having stored therein instructions that, when executed on an electronic device, cause the electronic device to perform the method according to any of the implementation manners of the first aspect.
In a fourth aspect, the present application provides a computer program product for causing an electronic device to perform the method according to any of the implementations of the first aspect when the computer program product runs on the electronic device.
In summary, the hot zone adjusting method and device, the electronic device and the storage medium provided by the application can improve the touch accuracy of the hot zone with a small size, facilitate user operation, and improve the operation convenience and the operation experience.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device provided in the present application;
FIG. 2 is a schematic diagram of a hot zone on a display interface according to the prior art;
FIG. 3 is a schematic diagram of hot zones on another prior art display interface;
FIG. 4 is a schematic diagram of hot zones on another prior art display interface;
FIG. 5 is a schematic diagram of hot zones on another prior art display interface;
fig. 6 is a schematic diagram of a hot zone adjusting method provided in the present application;
FIG. 7 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 8 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 9 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 10 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 11 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 12 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 13 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 14 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 15 is a schematic view of another thermal zone placement adjustment method provided herein;
FIG. 16 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 17 is a schematic view of another thermal zone adjustment method provided herein;
FIG. 18 is a schematic view of another thermal zone placement adjustment method provided herein;
FIG. 19 is a schematic diagram of another thermal zone placement adjustment method provided herein;
FIG. 20 is a schematic view of another thermal zone adjustment method provided herein;
fig. 21 is a schematic flow chart illustrating a hot zone adjusting method according to the present application.
Detailed Description
The technical scheme provided by the application is applied to the electronic equipment. Fig. 1 shows a schematic structural diagram of an electronic device to which the present application relates.
As shown in fig. 1, the electronic device may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. It is to be understood that the illustrated structure of the present embodiment does not constitute a specific limitation to the electronic device. In other embodiments of the present application, an electronic device may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components may be used. For example, when the electronic device is a smart tv, the smart tv does not need to provide one or more of the SIM card interface 195, the camera 193, the key 190, the receiver 170B, the microphone 170C, and the earphone interface 170D. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors. In some embodiments, the electronic device may also include one or more processors 110. The controller can be a neural center and a command center of the electronic device. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution. A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. This avoids repeated accesses, reduces the latency of the processor 110, and thus increases the efficiency of the electronic device.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc. The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device, may also be used to transmit data between the electronic device and a peripheral device, and may also be used to connect an earphone to play audio through the earphone.
It should be understood that the interface connection relationship between the modules according to the embodiment of the present invention is only an exemplary illustration, and does not limit the structure of the electronic device. In other embodiments of the present application, the electronic device may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may be disposed in the same device.
The wireless communication function of the electronic device may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor, the baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in an electronic device may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier, etc. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication applied to electronic devices, including Wireless Local Area Networks (WLAN), bluetooth, Global Navigation Satellite System (GNSS), Frequency Modulation (FM), NFC, Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of the electronic device is coupled to the mobile communication module 150 and antenna 2 is coupled to the wireless communication module 160 so that the electronic device can communicate with the network and other devices through wireless communication techniques. The wireless communication technologies may include GSM, GPRS, CDMA, WCDMA, TD-SCDMA, LTE, GNSS, WLAN, NFC, FM, and/or IR technologies, among others. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device may implement the display function via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute instructions to generate or change display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device may include 1 or more display screens 194.
The electronic device may implement the capture function via the ISP, one or more cameras 193, video codec, GPU, one or more display screens 194, and application processor, among others.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or more cameras 193.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. The NPU can realize applications such as intelligent cognition of electronic equipment, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, data files such as music, photos, videos, and the like are saved in the external memory card.
Internal memory 121 may be used to store one or more computer programs, including instructions. The processor 110 may execute the above-mentioned instructions stored in the internal memory 121, so as to enable the electronic device to execute the voice switching method provided in some embodiments of the present application, and various functional applications, data processing, and the like. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system; the storage area may also store one or more application programs (e.g., gallery, contacts, etc.), etc. The storage data area can store data (such as photos, contacts and the like) and the like created during the use of the electronic device. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like. In some embodiments, the processor 110 may cause the electronic device to execute the voice switching method provided in the embodiments of the present application and various functional applications and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor 110.
The electronic device may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc. The audio module 170 is configured to convert digital audio information into an analog audio signal for output, and also configured to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic device answers a call or voice information, it can answer the voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near the microphone 170C. The electronic device may be provided with at least one microphone 170C. In other embodiments, the electronic device may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and the like.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, may be an open mobile electronic device platform (OMTP) standard interface of 3.5mm, and may also be a CTIA (cellular telecommunications industry association) standard interface.
The sensors 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The pressure sensor 180A is used for sensing a pressure signal, and converting the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronics determine the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device may also calculate the position of the touch from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion pose of the electronic device. In some embodiments, the angular velocity of the electronic device about three axes (i.e., x, y, and z axes) may be determined by the gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. Illustratively, when the shutter is pressed, the gyroscope sensor 180B detects a shake angle of the electronic device, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device through a reverse movement, thereby achieving anti-shake. The gyro sensor 180B may also be used for navigation, body sensing game scenes, and the like.
The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device in various directions (typically three axes). When the electronic device is at rest, the magnitude and direction of gravity can be detected. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device may measure distance by infrared or laser. In some embodiments, taking a picture of a scene, the electronic device may utilize the distance sensor 180F to range to achieve fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device emits infrared light to the outside through the light emitting diode. The electronic device uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device. When insufficient reflected light is detected, the electronic device may determine that there are no objects near the electronic device. The electronic device can detect that the electronic device is held by a user and close to the ear for conversation by utilizing the proximity light sensor 180G, so that the screen is automatically extinguished, and the purpose of saving power is achieved. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. The electronic device may adaptively adjust the brightness of the display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device is in a pocket to prevent accidental touches.
A fingerprint sensor 180H (also referred to as a fingerprint recognizer) for collecting a fingerprint. The electronic equipment can utilize the collected fingerprint characteristics to realize fingerprint unlocking, access to an application lock, fingerprint photographing, fingerprint incoming call answering and the like. Further description of fingerprint sensors may be found in international patent application PCT/CN2017/082773 entitled "method and electronic device for handling notifications", which is incorporated herein by reference in its entirety.
The touch sensor 180K may also be referred to as a touch panel. The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a touch screen. The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device at a different position than the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys or touch keys. The electronic device may receive a key input, and generate a key signal input related to user settings and function control of the electronic device.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device may support 1 or more SIM card interfaces. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic equipment realizes functions of conversation, data communication and the like through the interaction of the SIM card and the network. In some embodiments, the electronic device employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device and cannot be separated from the electronic device.
Various personalized display contents can be displayed on a display interface of the electronic equipment, wherein the display contents relate to part of user operable contents, such as icons, characters, virtual keys or input boxes, and an operable area where the operable contents are located is a hot area of the contents. Specifically, the hot zone is an area linked on the page, and the user may click, press, etc. in the hot zone to link the current interface to another preset location, for example, the preset location may be another display interface.
For example, fig. 2 shows a display interface diagram of an electronic device. The display interface is generally a display interface during the opening process of an Application (APP). For example, the user clicks an icon of the APP to open the APP, and at this time, a display interface as shown in fig. 2 may be displayed during the APP starting process.
Two hot zones are shown on the display interface as shown in FIG. 2: hot zones and advertisement hot zones are skipped. It is understood that the skip hotspot can be linked to the main interface of the APP, and if the user clicks (or other operations, such as clicking) in the skip hotspot, the electronic device can be transitioned from the display interface shown in fig. 2 to the main interface of the APP. The advertisement hot area may be linked to the purchase interface of the advertisement product, and at this time, if the user clicks on the advertisement hot area, the electronic device jumps from the interface shown in fig. 2 to the purchase interface of the advertisement product.
The hot zones on the display interface are different in size, for example, the advertisement hot zone in fig. 2 is very large in size, and the skip hot zone is very small in size. The size of the hot zone, the content displayed by the hot zone, and the size of the content displayed by the hot zone are defined in advance by the developer in the background, and the size of the hot zone is not particularly related to the size of the content displayed in the hot zone.
The small size of the hot zone is inconvenient for the user to operate. For example, in the scenario shown in fig. 2, if a user wants to quickly enter the main interface of the APP, the user clicks the skip icon, and then only if the clicked position of the user falls within the skip hot zone, the user can enter the main interface of the APP, but the skip hot zone is small, and the user often clicks the advertisement hot zone carelessly, which causes a malfunction, which causes the display interface to jump to the purchase interface of the advertisement product quickly, so that the user needs to perform an additional operation, for example, click a return virtual key, to enter the main interface of the APP again, which further increases the user operation amount and affects the operation experience.
Exemplarily, fig. 3 shows a schematic diagram of a partial display interface in an APP. In the partial display interface shown in fig. 3, a plurality of display contents are displayed, in which three hot areas are displayed on the right side of the search bar: game hotspots, download hotspots, and historical hotspots, which are small in size and inconvenient for the user to click on. For example, if the user wants to click on the download hot zone, but the download hot zone is small and the user cannot easily click on the download hot zone, the user needs to click on the download interface many times, and the user can easily click on other hot zones, so that the operation experience is poor.
Illustratively, fig. 4 shows a schematic view of a partial display interface on a desktop of an electronic terminal. In the partial desktop diagram shown in FIG. 4, the city selection hot-areas are smaller. When the user needs to change the currently displayed geographic position, the user can enter the city selection interface to select the position of the mood instrument by clicking in the city selection hotspot. And as the selected hot area of the city is small, the user is not easy to accurately click on the hot area, and easily clicks on other hot areas, so that the operation of the user is inconvenient, and the control experience is poor.
Therefore, the technical scheme provided by the application is used for solving the problems, and the size of the hot area with smaller size in the display interface is adjusted to increase the size of the hot area, so that the user can conveniently click and operate, and the operation experience is improved.
For example, please refer to fig. 5, which is a schematic diagram of a partial display interface in another APP. As shown in fig. 5, a plurality of icons are displayed in the local display interface, and each icon corresponds to a hot area. Taking the setting hot area corresponding to the setting icon as an example, as shown in fig. 5, the existing setting hot area is small in size and is only a rectangular area slightly larger than the setting icon, at this time, the transverse size of the setting hot area has reached the maximum, otherwise, the hot area of other icons adjacent to the setting hot area is easily affected, but the longitudinal size of the setting hot area is narrow, and a user easily touches or clicks incorrectly by mistake, which is inconvenient for the user to operate. Moreover, the hot area is set in the longitudinal direction in fig. 5, that is, there are blank positions not occupied by other hot areas above and below the hot area, so that the hot area can be expanded outward in the longitudinal direction to obtain an expandable hot area (for example, the hot area can also be expanded upward or downward) as shown in fig. 5, and thus, the size of the hot area is increased by expanding the size of the hot area, which is beneficial to improving the click accuracy of the user on the hot area, and is convenient for the user to touch.
Illustratively, referring to fig. 6, fig. 6 shows the hot zone resizing of the display interface shown in fig. 2. As shown in fig. 6, the skipped hot area is originally small in size, and is only an oval area where the skipped icon (composed of "skipped" text) is located, which is inconvenient for the user to operate. Therefore, the size of the skipped hot area is expanded, the size of the skipped hot area is changed into the rectangular area shown on the right side of the figure 6, and due to the fact that the size of the skipped hot area is increased, a user can conveniently click the skipped icon to skip the display interface to the APP main interface corresponding to the skipped hot area.
Based on the examples shown in fig. 5 and 6, it is understood that the present application adjusts the size of the hot area corresponding to the display content, but does not adjust the size of the display content. For example, in the scenario shown in fig. 5, the size of the setting icon is not changed, but only the size of the setting hot zone corresponding to the setting icon is expanded; for another example, in the scene shown in fig. 6, the size of the skip icon is not changed, but the size of the skip hot area is increased. Therefore, the front-end display content on the desktop of the APP or the electronic equipment is not modified, and the front-end design does not need to be adapted, so that the application space is wider. For example, the method can be applied to the waiting interface before entering into the APP shown in fig. 2, can be applied to the APP display interface shown in fig. 3 or fig. 5, and can also be applied to the desktop display interface shown in fig. 4, and has high flexibility and adaptability.
In a specific implementation of the present solution, the hot area information corresponding to the display content in the current interface to be displayed may be obtained from the display interface information sent by the front end of the electronic device. Specifically, the interface to be displayed may include: a desktop display interface or any application display interface. And when responding to the operation of the user to display respective display interfaces, the front-end desktop Launcher (Launcher) or each APP sends the self-defined page layout information to the display screen processor, and the display screen processor renders and processes the page layout information to present corresponding display interfaces for the user. Therefore, if the interface to be displayed that needs to be displayed currently is a desktop interface as shown in fig. 4, the page layout information sent to the display processor may be a desktop Launcher (Launcher), and therefore, the hot area information may be obtained from the display interface information sent from the desktop Launcher to the display processor. For another example, if the interface to be displayed currently needs to be displayed is an APP display interface as shown in fig. 2, fig. 3, or fig. 5, then the page layout information is sent from each APP to the display processor, and the hot area information may be obtained from the display interface information sent from the APP to the display processor. Therefore, when the method and the device are implemented, only the hot area information carried in the page layout information needs to be acquired by requesting the display screen processor. In addition, the display screen processor refers to a processor for processing display data, which may be integrated in the display screen of the electronic device, may be used as a processing unit and integrated in the processor 110 shown in fig. 1, or may be provided independently, and is not particularly limited in this application.
In this application, the hot zone information includes at least hot zone size. In addition, but not limited to: the thermal zone position relationship. Therefore, in the embodiment of the present application, whether the size of the hot zone needs to be expanded may be determined by comparing the acquired size of the hot zone with a preset first size condition.
In particular, the first size condition may be represented by a preset first size threshold that is used to determine whether adjustments to the hot zone size are needed. In an actual scene, the first size threshold may be preset according to actual needs. Thus, after the size of each hot zone in the display interface is obtained, the size of the hot zone can be compared with the first size threshold, and if the size of the hot zone is larger than or equal to the first size threshold, no processing is performed; otherwise, if the size of the hot area is smaller than the first size threshold, the hot area is used as the first hot area, and the size expansion processing is performed on the first hot area, that is, the size of the first hot area is expanded.
Specifically, the first size threshold may be preset in a physical size manner. At this time, the unit of the first size threshold may be millimeters (mm). In one possible design, the click accuracy is above 95% when the physical size of the hot zone is greater than 10 mm; then, thermal zones having physical dimensions below 10mm may be resized using 10mm as the first size threshold. Therefore, under the premise that the screen space allows, the size of the hot zone is 10mm or more as far as possible, and the clicking accuracy under most conditions can be guaranteed.
In addition to this, the first size threshold may be preset in the form of a pixel size. At this time, the unit of the first size threshold may be dp (i.e., a Density-independent pixel). Where dp is a length unit for development, and 1dp indicates a 1px (pixel) length at a screen pixel density of 160 ppi. Specifically, when there are 160 pixels per inch of a screen (i.e., 160dpi screen), 1dp is equivalent to 1px, and thus the number of pixels corresponding to one object (hot zone, image, graphic, etc.) in screens of different sizes (different dpi of the screen) can be determined using dp. For example, if the length of any one hot zone is 1dp, then on a screen with dpi of 160, the length of the hot zone is 1 px; if on a 240dpi screen, the hot zone length is 1 × 240/160 to 1.5 pixels. Wherein, dpi (dots per inch) is used to represent how many pixels are in an inch, and the value of dpi can be used as the pixel density (or density). And px represents a pixel and is the most basic display unit on the display interface of the electronic device, and if the screen resolution of one electronic device is 1920 × 1080, the resolution of the screen is 1920px × 1080px, which more specifically means that the screen of the electronic device has 1920 pixels in the height direction and 1080 pixels in the width direction.
The pixel size and the physical size can be converted. This can be achieved by a pixel per inch (ppi). It can be seen that the higher the value of ppi, the more the number of pixels in the screen, and the finer the content displayed on the screen. Specifically, ppi is the number of pixels on the screen diagonal/the length of the diagonal, wherein the square of the number of pixels on the screen diagonal is equal to the sum of the squares of the pixels in the horizontal direction of the screen and the pixels in the vertical direction of the screen. Thus, if 1dpi and 1ppi are the same, 1dpi has a physical value size of 0.15875 mm. Thus, m is n/(ppi/dpi) × 0.15875, where n denotes a pixel size and m denotes a physical size. Thus, when the first size threshold is preset, the first size threshold may be preset by any one of a physical size and a pixel size, which is not particularly limited in the present application.
The hot zone size is in units of a first size threshold when comparing the sizes to determine the first hot zone. For example, if the size of the hot area obtained from the page design of the electronic device may be a pixel size, if the first size threshold is preset as a physical size, the hot area size needs to be converted from the pixel size to the physical size, or the first size threshold needs to be converted to the pixel size. For another example, if the acquired hot zone size is a physical size and the first size threshold is a pixel size, it is necessary to convert the acquired hot zone size data from the physical size to the pixel size or convert the first size threshold to the physical size. That is, if the first size threshold does not coincide with the unit of the hot zone size data, the two need to be converted to the same unit before comparing the size data of the two to determine the first hot zone.
If the first thermal zone has a plurality of sizes, the determination method that the size of the first thermal zone does not satisfy the preset first size condition may include at least the following two types: in one implementation, the first thermal zone size does not satisfy the first size condition if at least one of the plurality of sizes is less than a corresponding first size threshold; or, in another implementation, if the plurality of sizes are all smaller than the corresponding first size threshold, the size of the first thermal zone does not satisfy the first size condition.
For example, the hot area in the display interface is generally rectangular, and as shown in fig. 2 to 6, the rectangular hot area has at least two sides: length X1 and width Y1. The application is not particularly limited as to whether the aspect ratio of the rectangular hot zone is 1, and it may be represented as a square with an aspect ratio of 1 or a rectangle with an aspect ratio different from 1.
Then, in presetting the first size threshold, a value, for example, 10mm, may be preset. Thus, in one possible implementation, X1 and Y1 may be compared to 10mm, respectively, and if at least one of X1 and Y1 is less than 10mm, the rectangular thermal zone is determined to be the first thermal zone. In another implementation, a rectangular thermal zone is identified as the first thermal zone if both X1 and Y1 are less than 10 mm.
Alternatively, when the first size threshold is preset, a plurality of values may be preset, for example, setting a first size threshold X1 in the X-axis direction and setting a first size threshold Y2 in the Y-axis direction, so that X1 and X2 of the rectangular thermal zone are compared and Y1 and Y2 of the rectangular thermal zone are compared. Similarly, if at least one of X1 being less than X2, Y1 being less than Y2 is satisfied, then a rectangular thermal zone is determined to be a first thermal zone; alternatively, a rectangular thermal zone is determined to be the first thermal zone if X1 is less than X2 and Y1 is less than Y2.
In addition, the shape of the hot zone is not particularly limited in the present application, and for example, a case of a circular hot zone is shown in the following fig. 18. The hot zone shape is pre-designed by the developer and can be designed into any custom shape.
When the size of the first thermal area needs to be adjusted, the position relationship between the first thermal area and other thermal areas needs to be noticed to avoid that the size of other thermal areas is too small when the size of the first thermal area is increased. Specifically, the positional relationship may include, but is not limited to: the overlapping relationship is a non-overlapping relationship, wherein any two thermal zones may or may not be in contact if they are in a non-overlapping relationship. For convenience of description, a thermal region which does not have any overlapping relationship with the first thermal region is referred to as a second thermal region, a thermal region overlapped and shielded by the first thermal region is referred to as a third thermal region, and a thermal region overlapped and shielded on the first thermal region is referred to as a fourth thermal region.
It can be understood that the expansion of the hot zone size cannot be performed without limitation, and therefore, in an actual implementation scenario, an expansion limit condition may also be preset.
In a specific implementation scenario, the extended restrictions may include, but are not limited to: size constraints and position constraints. Wherein the size limitation condition may include: the size of the first thermal zone satisfies the first size condition; the location restriction conditions may include, but are not limited to, at least one of the following:
a first thermal zone in contact with a second thermal zone, the second thermal zone not overlapping the first thermal zone;
reducing the reference size of a third hot area to a preset second size condition along with the expansion of the first hot area, wherein part or all of the area in the first hot area is displayed on the third hot area in an overlapping manner;
the first thermal zone expands to an edge position of the screen.
The second size condition may be represented by a second size threshold, and the second size threshold may be the same as or different from the first size threshold, and the second size threshold may be designed in a physical size or a pixel size. Refer to the dimensions detailed later. The preset size condition may be: the size of the hot zone is greater than or equal to a first size threshold. The adjustment of the hot zone size will now be described by taking the hot zone 1 as the first hot zone and the first size threshold as 10 mm.
In one possible design, if there is only one first thermal zone in the display interface, the size of the first thermal zone may be directly extended such that it reaches a size of more than 10 mm. For example, if only one 5 × 5mm hot zone is acquired in the display interface, the size of the hot zone may be expanded to 10mm, and a 10 × 10mm hot zone may be acquired.
In another possible design, if there are multiple hot zones in the display interface, for example, two hot zones, it is necessary to determine the position relationship between the hot zone (the first hot zone) and the hot zone 2. Thus, if the hot zone 1 and the hot zone 2 are not in contact at all, the hot zone 2 is the second hot zone; alternatively, if hot zone 1 is in contact with hot zone 2 but does not overlap at all, then hot zone 2 is the second hot zone; or, if there is a situation that the hot zone 2 overlaps with the hot zone 1 in part or all of the area, and the hot zone 1 is located above the hot zone 2, the hot zone 2 is a third hot zone; alternatively, if there is a case where the hot zone 2 overlaps with the hot zone 1 in part or all of the region and the hot zone 1 is located below the hot zone 2, the hot zone 2 is a fourth hot zone. And the following description is specifically combined with a scene.
In this embodiment of the present application, the size of the first hot zone may be expanded in at least one expansion manner until the expansion performed in the expansion manner reaches the expansion limit condition.
For example, the left side of fig. 7 to 9 shows the same display interface, and the relationship between the positions, sizes, etc. of the hot zone 1 and the hot zone 2 on the display interface can be obtained by the display screen processor, that is, the initial state before the size adjustment. As shown in the left schematic diagrams of fig. 7 to 9, in the display interface, the hot zone 1 and the hot zone 2 are both square hot zones, wherein if the size of the hot zone 1 is 5 × 5mm, the size of the hot zone is smaller than the preset first size threshold 10mm, and the hot zone 1 is used as the first hot zone. While the hot zone 2 is larger in size, 15 x 15 mm. As shown in fig. 7 to 9, the hot zone 1 and the hot zone 2 are not in contact, and the distance between the right side of the hot zone 1 and the left side of the hot zone 2 is 2 mm. At this time, hot zone 1 served as the first hot zone and hot zone 2 served as the second hot zone.
Fig. 7 further illustrates a two-dimensional coordinate system on the display interface, which is followed in subsequent schematic drawings. For convenience of explanation, the four directions defined by the coordinate system are represented as: an x1 direction (x-axis extending direction), an x2 direction (x-axis extending direction in the opposite direction), a y1 direction (y-axis extending direction), and a y2 direction (y-axis extending direction in the opposite direction).
Exemplarily, fig. 7 shows that the size of the hot zone 1 is expanded in an equal ratio of the expanded size, that is, the center point of the hot zone 1 is fixed and the size of the hot zone 1 is controlled to extend outward in an equal ratio, that is, in a manner of having an aspect ratio of 1. When the size of the hot zone 1 is enlarged to 9 x 9mm, the hot zone 1 is in contact with the hot zone 2, and the size expansion of the hot zone 1 is stopped. In this way, the size of the hot zone 1 is enlarged from 5 × 5mm to 9 × 9mm, and even if the size of the hot zone 1 is still smaller than 10mm, if the hot zone 1 is continuously enlarged in this way, the size of the hot zone 2 is affected, and the manipulation response of the hot zone 2 may be affected, so that the hot zone 1 is not enlarged in size. Moreover, even if the size of the hot zone 1 is still smaller than 10mm, the size of the hot zone 1 is increased, so that the clicking accuracy of the user can be improved to a certain extent, and the touch operation of the user is facilitated.
If the hot zone 1 has expanded to 10mm before the hot zone 1 has expanded to the left boundary of the hot zone 2, the size expansion is stopped when 10mm is reached, and there is no need to continue expanding the size. For example, if the distance between the hot zone 1 and the hot zone 2 is relatively long in fig. 7, assuming that the distance is 5mm, when the hot zone 1 expands in the above manner and the size of the hot zone 1 expands to 10 × 10mm, the hot zone 1 and the hot zone 2 still have a distance of 2.5mm and are not in contact with each other, and at this time, the expansion of the hot zone 1 is stopped.
In other words, when the first hot zone is expanded outward in the same ratio as the size of the first hot zone, the expansion is stopped as long as any one of the expansion limiting conditions is satisfied.
In the case of the equal-ratio expansion, the position of any one point (or one side) in the hot zone may be fixed, and the equal-ratio expansion may be performed. In a possible scenario, the display position of the center point of the first hot zone in the interface to be displayed may be fixed, the size of the first hot zone is expanded in an equal ratio, and as shown in fig. 7, the center point of the hot zone is used as a fixed position to expand in an equal ratio. In another possible scenario, the display position of any specified position of the first hot zone in the interface to be displayed may also be fixed, and the size of the first hot zone is expanded outward in an equal ratio. For example, the geometric expansion may be performed with any one of the corners or any one of the edges of the hot zone 1 as a fixed position.
In another embodiment of the present application, when expanding the first thermal zone, the size of the first thermal zone may be expanded outward in an equal ratio until any one of the position limitation conditions is satisfied and the size limitation condition is not satisfied, and at this time, the size of the first thermal zone may be expanded in at least one expansion direction and expanded in each expansion direction until the expansion limitation condition is satisfied.
Illustratively, FIG. 8 shows another implementation that differs from FIG. 7. As shown in fig. 8, first, the size of the hot zone 1 is expanded from 5 × 5mm to 9 × 9mm in the same manner as shown in fig. 7, and at this time, the hot zone 1 and the hot zone 2 are in contact with each other, and the position restriction condition is satisfied. On the basis, the size of the hot zone 1 does not reach 10mm yet, and the size limitation condition is not yet satisfied, at this time, in fig. 8, there are blank areas in the x2 direction, the y1 direction and the y2 direction of the hot zone 1, that is, there are positions not occupied by other hot zones, and then, the hot zone may be further subjected to size expansion toward at least one of the x2 direction, the y1 direction and the y2 direction.
In the exemplary one implementation of fig. 8, on the basis of a 9 x 9mm hot zone 1, extending in the x2 direction, the x-axis dimension of the hot zone reaches 10 mm; extending the y-axis dimension of the hot zone 1 in the y1 direction and/or the y2 direction such that the y-axis dimension of the hot zone reaches 10 mm; a schematic diagram shown on the right side of fig. 8 is obtained. It will be appreciated that this implementation will result in a shift of the center point of the hot zone 1. The y-axis dimension of the hot zone 1 extends along the y1 direction and/or the y2 direction, so that when the y-axis dimension of the hot zone reaches 10mm from 9mm, the y-axis dimension may extend 1mm in the y1 direction or the y2 direction alone, or may extend p in the y1 direction and extend q in the y2 direction, where p + q is 1mm, and the values of p and q may be equal or different, and may be designed arbitrarily.
In the present application, when the size of the hot zone is expanded, in addition to the foregoing implementation, the geometric expansion may not be adopted, that is, the size of the first hot zone is directly expanded in at least one direction.
At this time, two cases are involved:
in one case, the size of the first hot zone may be enlarged in one expansion direction, at which time the continued expansion in that expansion direction is stopped as long as any one of the expansion limiting conditions is satisfied.
In another case, the size of the first thermal zone may also be enlarged in a plurality of extension directions. At this time, when the expansion is performed in any one of the expansion directions until the size restriction condition is satisfied, the expansion of the size of the first hot zone is stopped in the expansion direction or a direction opposite to the expansion direction. And continuing to expand the size of the first hot zone in any one of the expansion directions when the expansion is such that any of the position restriction conditions is satisfied.
When the expansion in a plurality of expansion directions is involved, the expansion in each expansion direction is realized independently and is not restricted by other directions. In an implementation scenario, the expansion can be outward from the x-axis direction (x1 direction and/or x2 direction) and the y-axis direction (y1 direction and/or y2 direction), respectively, and the expansion in the x-axis direction and the expansion in the y-axis direction can be realized respectively without being constrained by each other. For example, if the expansion in the x-axis direction is stopped after the expansion is expanded to contact with other hotspots, the expansion in the y-axis direction can still continue to be expanded until the first size threshold is reached, or the expansion contacts with other hotspots or the edge of the screen is reached, so as to ensure the click comfort of the user after the hotspots are expanded to the maximum extent. In addition, the expansion in two opposite directions on the same coordinate axis can be independently performed without being restricted by the other party. For example, if the size condition is not met by extending to the edge of the screen along the x1 axis, the extension can be continued along the x2 direction. However, if the expansion along the x1 direction to the x-axis dimension satisfies the first size threshold, then the x-axis dimension of the first thermal zone still satisfies the first size threshold in the x2 direction without having to expand again.
In summary, when the size of the first hot zone is expanded, the size expansion of the first hot zone is stopped when any one of the expansion limiting conditions is reached, as shown in fig. 7; alternatively, when one expansion display condition is reached, it may be determined whether or not other expansion limiting conditions are reached, and if not, the hot zone 1 may be expanded continuously until the size condition of the first hot zone is reached, as shown in fig. 8.
Furthermore, in the implementation as shown in fig. 8, there are also possible situations:
in a possible case, the size expansion is stopped if the size of the hot zone 1 just reaches the first size threshold when the hot zone 1 expands into contact with the boundary of the hot zone 2.
In another possible case, if the size of the hot zone 1 does not reach 10mm after the hot zone 1 expands to contact the boundary of the hot zone 2, at which time there is no expansion space in the other direction of the hot zone 1, the size expansion is stopped. For example, if the left side of hot zone 1 in fig. 8 is immediately adjacent to the left side of the screen (or in contact with other hot zones) and cannot continue to expand in size in the x2 direction, the size expansion is stopped. For another example, in fig. 8, if the hot zone 1 is adjusted in size so that the upper side is fixed and the hot zone 1 expands outward in the other three directions, and after the hot zone 1 expands to contact the boundary of the hot zone 2, the left side and the bottom side of the hot zone 1 reach the edge of the screen (or contact other hot zones), no further expansion space exists in each direction in the hot zone 1, and the size expansion is stopped.
In another possible case, the size of the hot zone 1 does not reach 10mm after the hot zone 1 expands to contact with the boundary of the hot zone 2, and at this time, an expansion space in another direction exists in another direction of the hot zone 1, and the expansion may be performed toward the expansion space. For example, in the middle diagram of fig. 8, if the hot zone 1 has an expansion space of 0.5mm in the x2 direction and a large expansion space (larger than 1mm) in both the y1 direction and the y2 direction, the hot zone 1 may be expanded to the left by 0.5mm and to the upper and/or lower by 1mm, and thus the size of the hot zone 1 is adjusted to 9.5mm × 10 mm.
Illustratively, fig. 9 shows another implementation manner different from fig. 7 and 8. As shown in the left schematic diagram of fig. 9, there is an expansion space of 2mm in the x1 direction of the hot zone 1, and there is a certain expansion space in the x2 direction, at this time, the right side of the hot zone 1 may be fixed, so that the x-axis dimension of the hot zone 1 extends and expands in the x2 direction until the x-axis dimension reaches 10mm or reaches the left side of the screen. At this time, as shown in fig. 9, the hot zone 1 has an expansion space of exactly 5mm in the x2 direction, so that the requirement of 10mm can be satisfied by the expansion in the x2 direction without expanding in the x1 direction. At this time, the hot zone 1 and the hot zone 2 are still 2mm apart, and the size of the hot zone 2 is not affected by the size adjustment of the hot zone 1. The y-axis dimension of the hot zone 1 may also be extended in the y1 direction and/or the y2 direction, which is not described in detail. After adjustment, the sizes of the hot area 1 and the hot area 2 reach 10mm, so that the operation of a user is facilitated, and the click accuracy is improved.
In another possible scenario, if the distance between the left side of the hot zone 1 and the edge of the screen is less than 5mm, the size of the hot zone 1 may be further expanded along the x1 direction after the left side of the hot zone 1 is expanded to the edge position of the screen. For example, if the distance between the left side of the hot zone 1 and the edge of the screen is 2mm, the right side of the hot zone 1 may be further moved and expanded rightward (along the x1 direction), and at this time, when the hot zone 1 is moved to contact with the hot zone 2, the size expansion in the x-axis direction (the x1 direction and the x2 direction) is stopped, and at this time, the size of the hot zone 1 in the left-right direction is 9 mm. For another example, if the distance between the left side of the hot zone 1 and the edge of the screen is 4mm, the right side of the hot zone 1 may be further moved and expanded rightward (along the x1 direction), and when the size of the hot zone 1 in the left-right direction is 10mm, the size expansion in the left-right direction may be stopped, and at this time, the distance between the right side of the hot zone 1 and the left side of the hot zone 2 may be 1 mm.
It is understood that, when the size of the hot zone is actually expanded, the hot zone may be expanded in equal proportion according to the original aspect ratio of the hot zone, or the size may not be expanded in equal proportion. Further, as described above, the hot zone size may be expanded in the x-axis direction or the y-axis direction alone, but after at least two non-equal scale expansions, the aspect ratio of the hot zone after the adjustment may be the same as the aspect ratio of the hot zone before the adjustment. For example, in the scene shown in fig. 9, the size of the hot zone 1 is adjusted from the x-axis direction and the y-axis direction, respectively, but the size of the hot zone 1 after the final adjustment is 10 × 10 mm. Of course, it is possible to vary, for example, in one possible case of the aforementioned figure 8, the hot zone 1 is resized to 9.5mm x 10mm and the aspect ratio is changed from 1:1 to 19: 20.
If there is a third or fourth thermal zone in the display interface, that is, there is a thermal zone in the display interface that overlaps with the first thermal zone. Taking the display interface shown in fig. 1 as an example, the skipped hot area is displayed in an overlapping manner on the advertisement hot area, and the skipped hot area is displayed in an overlapping manner on the advertisement hot area.
If the fourth hot area exists in the display interface, that is, the first hot area is located on the bottom layer relative to the fourth hot area, at this time, the size and touch of the fourth hot area are not affected by the size expansion of the first hot area, so that the size of the first hot area only needs to be expanded to enable the designated size of the first hot area to meet the preset size condition. Or stopping size expansion if the first hot zone extends to the edge of the screen or contacts other hot zones before the size of the first hot zone meets the preset size condition.
However, in more implementation scenarios, the size of the first thermal area is smaller, and all or part of the area in the first thermal area is generally displayed on the third thermal area in an overlapping manner, that is, the first thermal area is located at the top layer relative to the third thermal area, and at this time, the display content corresponding to the first thermal area is also displayed on the display content corresponding to the third thermal area in an overlapping manner. When the size of the first thermal zone is expanded in this implementation scenario, the reference size of the third thermal zone needs to be considered.
In this application, reference to dimensions is used to measure the size of the occluded hot zone. Specifically, the third thermal zone is located on the bottom layer in a relative manner with respect to the first and third thermal zones, and the reference dimension of the third thermal zone is a dimension that is measured to balance the continuous region after the region where the first thermal zone is located is removed. Conversely, for the first thermal zone and the fourth thermal zone, in a relative case, the first thermal zone is located in the bottom layer, and the reference dimension of the first thermal zone refers to the dimension of the continuous region after the region where the fourth thermal zone is located is removed. For example, referring to fig. 10, on the display interface of the electronic device, there is a partial overlapping relationship between the hot zone 1 and the hot zone 2, at this time, if the hot zone 1 is taken as the first hot zone, the hot zone 2 is the third hot zone located at the bottom layer of the first hot zone, so that, in the left schematic diagram of fig. 10, the reference size of the hot zone 2 is (c + f) × (e + d); in the right-hand schematic drawing of fig. 10, the hot zone 2 is referred to as dimension c '× d'. Or, if the hot zone 2 is taken as the first hot zone, the hot zone 1 is the fourth hot zone located at the top layer of the first hot zone, and the reference dimensions of the hot zone 2 are the same as above, which is not described again.
In the display interface shown in fig. 10, the size of the hot zone 1 is small and is inconvenient for the user to operate, so that the hot zone 1 is used as the first hot zone, and the size of the hot zone 1 is expanded from a × b to a '× b', while the actual size of the hot zone 2 is (a + c + f) × (b + e + d). On the other hand, the size of the hot zone 1 may be enlarged to reduce the reference size of the hot zone 2 (actual area is reduced), and as shown in fig. 10, the reference size of the hot zone 2 is adaptively changed from (c + f) x (e + d) to c '× d'. In the scenario shown in fig. 10, if the reference size of the third thermal zone is still greater than or equal to the second size threshold after the size of the first thermal zone is expanded to the first size threshold, the size of the first thermal zone may be expanded to the first size threshold.
In the following, taking the first size threshold and the second size threshold as 10mm as an example, fig. 11 to 16 show several possible implementations.
In one possible design, referring to fig. 11, on the display interface shown in fig. 11, a hot zone 1 is displayed on a hot zone 2 in an overlapping manner, the size of the hot zone 1 is 5 × 5mm, and the reference size of the hot zone 2 is (2.5+15.5) × (2.5+15.5) mm, and at this time, the size of the hot zone 1 is small, which is inconvenient for the user to operate and requires to expand the size of the hot zone 1. Assuming that the size of the hot area 1 is expanded to 10 × 10mm according to the method shown in fig. 7, that is, the center point of the hot area 1 is fixed and the size of the hot area is expanded outward, the reference size of the hot area 2 is changed to 13 × 13mm, at this time, the reference size of the hot area 2 is still larger than 10mm, that is, as the first hot area (hot area 1) is expanded, the reference size of the third hot area (hot area 2) is not reduced to the preset second size condition, at this time, the influence on the touch operation of the hot area 2 is small.
In another possible design, referring to fig. 12, as shown in the display interface shown in fig. 12, the size of the hot zone 1 is 6 × 6mm, and the reference size of the hot zone 2 is (1+11) × (1+11) mm, at this time, the sizes are still scaled up in a fixed center point manner, when the size of the hot zone 1 is scaled up to 8 × 8mm, the reference size of the hot zone 2 is reduced from 11mm to 10mm, at this time, if the size of the hot zone 1 is further expanded, the reference size of the hot zone 2 is smaller than 10mm, which causes the click accuracy of the user clicking the hot zone 2 to be reduced, and therefore, the size of the hot zone 1 is not further expanded, and the display interface schematic diagram shown at the right side of fig. 12 is obtained. In this implementation, as the size of the hot zone 1 is enlarged, the expansion is stopped when the size of the third hot zone is reduced to the preset second size condition.
In another possible design, referring to fig. 13, the hot zone 1 has a dimension of 5 × 5mm and the hot zone 2 has a reference dimension of (1+15) × (1+11) mm on the display interface as shown in fig. 13. In this scenario, the center point of the hot zone 1 may be fixed and the size may be scaled up, and when the size of the hot zone 1 is scaled up to 7 × 7mm, the reference size of the hot zone 2 is changed to 14 × 10 mm. If the scaling up of the dimensions continues in a fixed center point manner, the y-axis index dimension of the hot zone 2 is smaller than the second dimension threshold (10mm), at which point the size scaling up is stopped. However, as shown in fig. 13, the x-axis dimension of the hot zone 2 is 14mm, the x-axis dimension of the hot zone 1 may be further extended, and if the x-axis dimension of the hot zone 1 is extended to 10mm along the x1 direction, and the x-axis dimension of the hot zone 2 is 11mm, the x-axis dimension of the hot zone 1 may be extended to 10 × 7mm, and the x-axis dimension of the hot zone 2 may be adaptively adjusted to 11 × 10mm, as shown in fig. 13.
In another possible design, referring to fig. 14, on the display interface as shown in fig. 14, the hot zone 1 has a size of 5 × 5mm, and the hot zone 2 has a reference size of (1+15) × (1+11) mm. When the hot zone 1 is expanded to 7 × 7mm in a manner of fixing the center point of the hot zone 1 and expanding the size in equal proportion, the reference size of the hot zone 2 is changed to 14 × 10mm, and the size expansion is suspended. At this time, since there may be an expansion space not occupied by other hot zones on both the left and upper sides of the hot zone 1, the size of the hot zone 1 may be expanded in equal proportion to the x2 direction and the y1 direction with the position of the lower right corner of the hot zone 1 being fixed. As shown in fig. 14, the hot zone 1 can be expanded to 7.5 × 7.5mm in size, while the reference size of the hot zone 2 is not changed and still 14 × 10 mm.
In another possible design, referring to fig. 15, the hot zone 1 has a dimension of 5 × 5mm and the hot zone 2 has a reference dimension of (1+15) × (1+11) mm on the display interface as shown in fig. 15. When the hot zone 1 is expanded to 7 × 7mm in a manner of fixing the center point of the hot zone 1 and expanding the size in equal proportion, the reference size of the hot zone 2 is changed to 14 × 10mm, and the size expansion is suspended. At this time, since there may be an expansion space not occupied by other hot zones on both the left side and the top of the hot zone 1, the left side of the hot zone 1 may be expanded to the left side of the screen along the x2 direction, so that the x-axis dimension of the hot zone 1 is expanded to 7.5 mm; and the top edge of the hot zone 1 may also be extended upward in the y1 direction such that the y-axis dimension of the hot zone 1 is extended to 10mm, at which time the dimension of the hot zone 1 is changed to 7.5 x 10mm and the index dimension of the hot zone 2 is 14 x 10 mm. At this time, the indication size of the hot zone 2 on the x axis is 14mm, and the x axis size of the hot zone 1 may be further expanded, so that the hot zone 1 may be expanded outward along the x1 direction, so that the size of the hot zone 1 is finally expanded to 10 × 10mm, which is convenient for a user to click, and has a high click accuracy, and the indication size of the hot zone 2 is also finally adaptively adjusted to 11.5 × 10 mm. This makes hot zone 1 and hot zone 2 have higher click accuracy, and the convenience is brought to the user operation.
In the implementation shown in fig. 13-15, the size of the first hotspot is first expanded in equal proportion, and when any expansion limit condition is reached, the expansion is stopped, and then the size of the first hotspot is expanded in at least one expansion direction until a responsive expansion limit condition is met in each of the expansion directions, with independent expansion in each expansion direction.
In another possible design, referring to fig. 16, on the display interface as shown in fig. 16, the hot zone 1 has a size of 5 × 5mm, and the hot zone 2 has a reference size of (1+15) × (1+11) mm. The lower right corner of the hot zone 1 may be fixed and the hot zone 1 may be expanded in the y1 direction, so that the y-axis dimension of the hot zone 1 is expanded to 10mm, and the y-axis dimension satisfies the preset dimension constraint condition, and there is no need to continue expanding the y-axis dimension in the opposite direction. At this time, the hot zone 1 is expanded in the x2 direction, the hot zone 1 is expanded to the edge of the screen, and the position restriction condition is satisfied, at this time, the x-axis size of the hot zone 1 is expanded to 6.5mm, the size of the hot zone 1 is 6.5 × 10mm, and the reference size of the hot zone 2 is adjusted to 15 × 11 mm. At this time, the size restriction condition is not satisfied, and the x-axis size of the hot zone 1 can be continued to be expanded from the reverse direction. As shown in fig. 16, the x-axis dimension of the hot zone 2 is 15mm and larger than 10mm, so that the right side edge of the hot zone 1 can be expanded outward in the x1 direction, and when the x-axis dimension of the hot zone 1 is also expanded to 10mm, the size restriction condition is satisfied and the expansion is stopped. Therefore, the size of the hot zone 1 after adjustment is expanded to 10 × 10mm, the reference size of the hot zone 2 is finally adjusted to 11.5 × 10mm in an adaptive manner, the sizes of the hot zone 1 and the hot zone 2 are both larger than 10mm, the user can click and operate conveniently, and the user can be prevented from touching the hot zone by mistake to a certain extent.
In addition, referring to fig. 17, as shown in fig. 17, a partial area of the hot zone 1 is overlapped on the hot zone 2, at this time, the size of the hot zone 1 is a × b, and the reference size of the hot zone 2 can be expressed as (c + f) × d, because the size of the hot zone 1 is small, it is inconvenient for a user to operate, the size of the hot zone 1 is expanded until reaching a preset expansion limit condition, the size expansion is stopped, at this time, the size of the hot zone 1 is expanded to a '× b', and the reference size of the hot zone 2 is adaptively adjusted to be c '× d'. For the partially overlapped case shown in fig. 17, the size expansion manner may refer to the foregoing implementation manners, which are not described in detail.
In the implementation scenarios shown in fig. 2 to 17, the shape of the hot zone is rectangular, which is a common hot zone design method, but the shape of the hot zone is not particularly limited in the present application, and the present application is not particularly limited thereto.
Exemplarily, fig. 18 shows this situation, as depicted in fig. 18, the hot zone 1 is circular, the radius of the hot zone 1 is r; and the hot zone 2 is rectangular, which is indicated as having a size of (c + f) × (e + d), and the hot zone 1 is displayed completely superimposed on the hot zone 2. At this time, if 2r is smaller than the first size threshold (10mm), the size of the hot zone 1 is expanded. Specifically, the center of the hot zone 1 may be controlled to be unchanged, and the radial size of the hot zone 1 is increased from r to r ', so that the indicated size of the hot zone 2 is adaptively adjusted to c ' × d '. At this time, the expansion limit condition of the hot zone 1 may be: 2 r' reaches a preset first size threshold; alternatively, the edge of the hot zone 1 reaches the screen edge; or, after the hot zone 1 is expanded, the reference size (c 'and/or d') of the hot zone 2 (third hot zone) is reduced to a preset second size threshold; alternatively, after the hot zone 1 is expanded, the hot zone 1 is in contact with other hot zones that are not in a superimposed relationship.
In the implementation scenarios shown in fig. 7 to 18, the technical solution provided in the present application is described by taking only two hot zones as an example, but the present application does not actually limit the number of hot zones. For example, fig. 19 and 20 show hot zone expansion in an electronic device having three types of hot zones.
As shown in fig. 19, three hot zones are shown on the display interface of the electronic device, wherein the size of the hot zone 1 is small, which is inconvenient for a user to click, and therefore, the size of the hot zone 1 is expanded. As shown in fig. 19, the size of the hot zone 1 may be fixed at the center point of the hot zone 1 and the like, and then the hot zone 1 may be brought into contact with the hot zone 2 to stop the expansion of the size of the hot zone 1. As shown in the middle diagram of fig. 19, there is an expandable space on the left, above and below the hot zone 1, and at this time, the top of the hot zone 1 can be expanded outward in the direction y1 until the top edge of the hot zone 1 contacts the bottom edge of the hot zone 3, and the expansion in the direction y1 is stopped. Thereafter, the left side edge of the hot zone 1 may also be expanded outward in the direction x2 until the left side edge of the hot zone 1 contacts the left edge of the display screen. In addition, the bottom edge of the hot zone 1 may be expanded outward in the y2 direction until the y-axis dimension of the hot zone 1 reaches the preset first dimension threshold.
Illustratively, fig. 20 also shows three hot zones, wherein hot zone 1 is shown superimposed over hot zone 2, and hot zone 2 is not in contact with hot zone 3, and hot zone 1 is not in contact with hot zone 3. The size of the hot zone 1 is 5 × 5mm, and the size is small, which is inconvenient for the user to touch, and the size of the hot zone 1 is expanded. As shown in fig. 20, the size of the hot zone 1 is expanded to cause the designated size of the hot zone 2 to be reduced, so that when any one of the designated sizes of the hot zone 2 reaches 10mm, the current expansion is suspended, and at this time, the size of the hot zone 1 is expanded from 5 × 5mm to 7 × 7mm, and the size of the hot zone 2 is also adaptively reduced to 14 × 10 mm. At this time, as shown in fig. 20, the y-axis dimension of the hot zone 1 does not reach 10mm, and there is an expandable space of 1mm above the hot zone 1, the top edge of the hot zone 1 can be expanded along the y1 direction to contact the hot zone 3, that is, the top edge of the hot zone 1 contacts the bottom edge of the hot zone 3; in this way the size of the hot zone 1 is further extended to 7.5 x 8 mm. In the y-axis direction, the size of the hot zone 1 cannot be extended any further. While in the x-axis direction the x-axis dimension of the hot zone 1 can be further extended. As shown in fig. 20, the left side edge of the hot zone 1 may be extended by 0.5mm in the x2 direction so that the left side edge of the hot zone 1 is in contact with the left edge of the screen; at this time, the right side edge of the hot zone 1 may be extended outward in the x1 direction, and if the right side edge is extended 2.5mm in the x1 direction, the x-axis dimension of the hot zone 1 reaches 10mm, and the x-axis dimension of the hot zone 2 is 11.5mm, which is also larger than 10mm, so that the display interface shown in fig. 20 is obtained. As shown in fig. 20, after the adjustment, the size of the hot zone 1 is 10 × 8mm, the left side of the hot zone 1 contacts the left edge of the screen, the top side of the hot zone 1 contacts the bottom side of the hot zone 3, and the reference size of the hot zone 2 is also adjusted to 11.5 × 10 mm.
Therefore, the size of the hot area 1 is improved to the maximum extent, the clicking operation of a user is facilitated, the clicking accuracy of the user on the hot area 1 is improved, and after the size of the hot area 1 is expanded, the size of the overlapped hot area 2 is reduced, but the touch operation of the hot area 2 is not influenced, and the clicking accuracy of the hot area 2 is not greatly influenced; for hotspots 3 that do not have an overlapping relationship with hotspots 1, the size extension of hotspots 1 does not affect the size of hotspots 3, nor does it degrade or affect the click accuracy of hotspots 3.
Based on the foregoing embodiments, fig. 21 shows a schematic flowchart of a hot zone adjusting method provided in the present application, and as shown in fig. 21, the method may include the following steps:
s2102, at least one hot zone on the interface to be displayed is acquired.
That is, the hot areas corresponding to the display contents on the interface to be displayed are obtained, and the number of the hot areas is not particularly limited in the present application.
It should be noted that the sizes of all the hot areas on the entire display interface may be adjusted, or the sizes of the hot areas in only a part of the designated area may be adjusted. For example, when the interface to be displayed is displayed on the folding screen, the interface to be displayed may be divided into a plurality of display areas, and the size of the hot area on one or more areas may be adjusted. For another example, for any one interface to be displayed, the area division and designation may be performed in any shape or division rule, and here, only a part of the hot area in the interface to be displayed may be obtained to achieve size adjustment of the hot area in the part of the area.
S2104, determining a first thermal zone in the at least one thermal zone, a size of the first thermal zone not satisfying a preset first size condition.
In other words, the size of the first thermal zone is small, and the size of the first thermal zone can be explained with reference to the foregoing embodiment.
S2104, expanding the first hot zone until a preset expansion limit condition is reached.
As for the method shown in fig. 21, reference may be made to the implementation manner of the foregoing embodiment, which is not described herein again. In addition, the embodiments of the present application can be arbitrarily combined to achieve different technical effects.
In addition, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on an electronic device, the instructions cause the electronic device to perform the hot zone adjustment method according to any one of the foregoing implementation manners.
The embodiment of the present application further provides a computer program product, which, when running on an electronic device, causes the electronic device to execute the hot zone adjustment method according to any of the foregoing implementation manners.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the procedures or functions described in accordance with the present application are generated, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk), among others.
In short, the above description is only an example of the technical solution of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements and the like made in accordance with the disclosure of the present invention are intended to be included within the scope of the present invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (12)

1. A method for adjusting a hot zone, comprising:
acquiring at least one hot area on a to-be-displayed interface, wherein the hot area is an operable area corresponding to operable content on the display interface;
determining a first thermal zone in the at least one thermal zone, the first thermal zone having a size that does not satisfy a preset first size condition;
expanding the first hot zone until reaching a preset expansion limit condition;
the extension restriction conditions include: a position restriction condition; the position limitation conditions include: and reducing the reference size of a third hot area to a preset second size condition along with the expansion of the first hot area, wherein part or all of the area in the first hot area is superposed and displayed on the third hot area.
2. The method of claim 1, wherein the extended constraint further comprises: a size limitation condition;
wherein the size limitation condition includes: the size of the first thermal zone satisfies the first size condition;
the position limitation condition further includes at least one of:
the first thermal zone is in contact with a second thermal zone that is non-overlapping with the first thermal zone;
the first thermal zone expands to a screen edge position.
3. The method of claim 2, wherein expanding the first thermal zone until a preset expansion limit is reached comprises:
and expanding the size of the first hot area according to at least one expansion mode until the expansion according to the expansion mode reaches the expansion limiting condition.
4. A method according to claim 2 or 3, wherein said expanding said first thermal zone until a preset expansion limit is reached comprises:
and expanding the size of the first hot zone outwards in an equal ratio until any one expansion limiting condition is met.
5. The method of claim 4, wherein expanding the first thermal zone dimensionally equal outward comprises:
fixing the display position of the central point of the first hot area in the interface to be displayed unchanged, and expanding the size of the first hot area outwards in an equal ratio; or,
and fixing the display position of any specified position of the first hot area in the interface to be displayed unchanged, and expanding the size of the first hot area outwards in an equal ratio.
6. A method according to claim 2 or 3, wherein said expanding said first thermal zone until a preset expansion limit is reached comprises:
expanding the size of the first thermal zone in an expansion direction until any of the expansion constraints are met.
7. A method according to claim 2 or 3, wherein if the size of the first thermal zone is enlarged in a plurality of said expansion directions, the method further comprises:
expanding a size of the first thermal zone in a plurality of expansion directions;
stopping expanding the size of the first hot zone in any one of the expansion directions in the expansion direction or a direction opposite to the expansion direction when the expansion is performed to satisfy the size restriction condition;
and in any one expansion direction, when the expansion is performed to meet any position limiting condition, continuously expanding the size of the first hot zone in other expansion directions.
8. A method according to claim 2 or 3, wherein said expanding said first thermal zone until a preset expansion limit is reached comprises:
expanding the size of the first hot zone outwards in an equal ratio until any one position limiting condition is met and the size limiting condition is not met;
expanding the size of the first thermal zone in at least one expansion direction, expanding in each expansion direction to meet the expansion constraint.
9. The method according to any of the claims 1 to 8, wherein if the first thermal zone has a plurality of sizes, the size of the first thermal zone does not satisfy the predetermined first size condition, comprising:
if at least one of the plurality of dimensions is less than a corresponding first dimension threshold, the dimensions of the first thermal zone do not satisfy the first dimension condition; or,
if the sizes are all smaller than the corresponding first size threshold, the size of the first thermal zone does not meet the first size condition.
10. The method according to any one of claims 1-9, wherein the interface to be displayed comprises: a desktop display interface or any application display interface.
11. An electronic device, comprising:
one or more processors;
one or more memories;
one or more sensors;
and one or more computer programs, wherein the one or more computer programs are stored in the one or more memories, the one or more computer programs comprising instructions which, when executed by the electronic device, cause the electronic device to perform the method of any of claims 1-10.
12. A computer-readable storage medium having instructions stored therein, which when run on an electronic device, cause the electronic device to perform the method of any of claims 1-10.
CN201910812757.3A 2019-08-30 2019-08-30 Hot area adjusting method and device, electronic equipment and storage medium Active CN110704145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910812757.3A CN110704145B (en) 2019-08-30 2019-08-30 Hot area adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910812757.3A CN110704145B (en) 2019-08-30 2019-08-30 Hot area adjusting method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110704145A CN110704145A (en) 2020-01-17
CN110704145B true CN110704145B (en) 2021-11-19

Family

ID=69194224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910812757.3A Active CN110704145B (en) 2019-08-30 2019-08-30 Hot area adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110704145B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112835446B (en) * 2021-01-22 2023-08-08 杭州海康威视数字技术股份有限公司 Method and device for determining installation height indication information and electronic equipment
CN115509423A (en) * 2021-06-04 2022-12-23 荣耀终端有限公司 Display method, graphical interface and related device
CN117679742A (en) * 2022-09-05 2024-03-12 腾讯科技(深圳)有限公司 Method, device, equipment, storage medium and program product for adjusting hot zone

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834457A (en) * 2014-02-11 2015-08-12 中兴通讯股份有限公司 Method and apparatus for automatically adjusting touch screen keyboard
CN105677157A (en) * 2016-01-11 2016-06-15 上海斐讯数据通信技术有限公司 Update message display method and device
CN106484280A (en) * 2016-09-13 2017-03-08 百度在线网络技术(北京)有限公司 The method and device of adjustment entering method keyboard response region layout
CN106909301A (en) * 2017-02-13 2017-06-30 北京奇虎科技有限公司 It is a kind of to adjust the method and device that touch-control identifies object
CN107111469A (en) * 2015-12-23 2017-08-29 华为技术有限公司 A kind of method, user interface, device, electronic equipment and storage medium for adjusting display screen display interface
CN107943401A (en) * 2017-11-30 2018-04-20 珠海市魅族科技有限公司 A kind of function triggering method and device, computer installation, readable storage medium storing program for executing
CN107943381A (en) * 2017-10-20 2018-04-20 阿里巴巴集团控股有限公司 Hot-zone method of adjustment and device, client
CN110110264A (en) * 2018-01-10 2019-08-09 华为技术有限公司 Touch adjusting method, device, equipment and the touch screen terminal equipment of hot-zone

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7917848B2 (en) * 2006-06-14 2011-03-29 Family Learn LLC Online publishing tools
CN102385474B (en) * 2010-09-06 2014-06-04 北大方正集团有限公司 Data output method, device and system
WO2014152703A1 (en) * 2013-03-15 2014-09-25 Fox Sports Productions, Inc. System, method and interface for presenting event coverage using plural concurrent interface portions

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104834457A (en) * 2014-02-11 2015-08-12 中兴通讯股份有限公司 Method and apparatus for automatically adjusting touch screen keyboard
CN107111469A (en) * 2015-12-23 2017-08-29 华为技术有限公司 A kind of method, user interface, device, electronic equipment and storage medium for adjusting display screen display interface
CN105677157A (en) * 2016-01-11 2016-06-15 上海斐讯数据通信技术有限公司 Update message display method and device
CN106484280A (en) * 2016-09-13 2017-03-08 百度在线网络技术(北京)有限公司 The method and device of adjustment entering method keyboard response region layout
CN106909301A (en) * 2017-02-13 2017-06-30 北京奇虎科技有限公司 It is a kind of to adjust the method and device that touch-control identifies object
CN107943381A (en) * 2017-10-20 2018-04-20 阿里巴巴集团控股有限公司 Hot-zone method of adjustment and device, client
CN107943401A (en) * 2017-11-30 2018-04-20 珠海市魅族科技有限公司 A kind of function triggering method and device, computer installation, readable storage medium storing program for executing
CN110110264A (en) * 2018-01-10 2019-08-09 华为技术有限公司 Touch adjusting method, device, equipment and the touch screen terminal equipment of hot-zone

Also Published As

Publication number Publication date
CN110704145A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
WO2021017889A1 (en) Display method of video call appliced to electronic device and related apparatus
CN109917956B (en) Method for controlling screen display and electronic equipment
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
US11412132B2 (en) Camera switching method for terminal, and terminal
CN110347269B (en) Empty mouse mode realization method and related equipment
CN112231025A (en) UI component display method and electronic equipment
CN111190681A (en) Display interface adaptation method, display interface adaptation design method and electronic equipment
CN110559645B (en) Application operation method and electronic equipment
CN110704145B (en) Hot area adjusting method and device, electronic equipment and storage medium
CN110968247B (en) Electronic equipment control method and electronic equipment
CN112583957A (en) Display method of electronic device, electronic device and computer-readable storage medium
US12126892B2 (en) Photographing method and electronic device with a virtual shutter button
CN114089932A (en) Multi-screen display method and device, terminal equipment and storage medium
WO2022095906A1 (en) Key mapping method, electronic device, and system
CN113438366A (en) Information notification interaction method, electronic device and storage medium
WO2023071497A1 (en) Photographing parameter adjusting method, electronic device, and storage medium
CN113610943B (en) Icon rounded angle processing method and device
WO2022062985A1 (en) Method and apparatus for adding special effect in video, and terminal device
CN117319369A (en) File delivery method, electronic device and storage medium
KR102584682B1 (en) Information display methods and devices
CN113821130A (en) Method and related device for determining screenshot area
RU2795259C1 (en) Touch screen, electronic device and display control method
CN116048236B (en) Communication method and related device
CN118226997A (en) Desktop sorting method and terminal equipment
CN117666820A (en) Mouse connection method 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
GR01 Patent grant
GR01 Patent grant