CN114995715A - Control method of floating ball and related device - Google Patents

Control method of floating ball and related device Download PDF

Info

Publication number
CN114995715A
CN114995715A CN202210818989.1A CN202210818989A CN114995715A CN 114995715 A CN114995715 A CN 114995715A CN 202210818989 A CN202210818989 A CN 202210818989A CN 114995715 A CN114995715 A CN 114995715A
Authority
CN
China
Prior art keywords
ball
floating
application
hover
floating ball
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.)
Granted
Application number
CN202210818989.1A
Other languages
Chinese (zh)
Other versions
CN114995715B (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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211607829.9A priority Critical patent/CN116048358B/en
Priority to CN202210818989.1A priority patent/CN114995715B/en
Publication of CN114995715A publication Critical patent/CN114995715A/en
Application granted granted Critical
Publication of CN114995715B publication Critical patent/CN114995715B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/0485Scrolling or panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text

Landscapes

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

Abstract

The application provides a control method and a related device for a levitation ball, and relates to the technical field of terminals. The method comprises the following steps: receiving a first user operation, wherein the first user operation is a sliding operation for a floating ball set, the floating ball set is used for storing floating balls, and each floating ball is displayed with a corresponding application icon; when a plurality of floating balls are stored in the floating ball set, and the sliding direction of the first user operation is consistent with the position of the floating ball set at the edge of the screen, the application corresponding to the first floating ball in the floating ball set is opened through the floating window on the interface, and the second floating ball is displayed at the forefront end of the floating ball set, wherein the first floating ball is displayed at the forefront end of the floating ball set before the electronic equipment receives the first user operation, and the second floating ball is the next floating ball of the first floating ball in the floating ball set determined according to the preset sequence. Therefore, the user can open the floating window application through sliding operation or switch the currently opened floating window application, and the operation is more convenient and faster.

Description

Control method of floating ball and related device
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a control method of a hover ball and a related device.
Background
The floating window is a window displayed above an application interface or a desktop in a floating manner. The suspension window is movable, can be used for opening different applications, and is convenient to operate. Among them, an application opened through a floating window may be referred to as a floating window application.
When a user opens multiple floating window applications, the floating window applications are often reduced to a floating ball, resulting in a collection of floating balls that are used to store the floating balls.
At present, when a plurality of floating balls are contained in a floating ball set, if a user wants to open a floating window application through the floating ball set, the user generally needs to perform a click operation on the floating ball set to open a floating window application list, select an application that the user wants to open in the floating window application list, and perform a click operation on the application, so that the application can be opened on a desktop of an electronic device through a floating window. However, this method requires multiple triggering operations by the user, which is cumbersome and not good for the user experience.
Disclosure of Invention
The application provides a control method and a related device of a floating ball, so as to simplify operation and improve user experience.
In a first aspect, the present application provides a control method for a floating ball, which is applied to an electronic device, and includes: receiving a first user operation, wherein the first user operation is a sliding operation for a hovercall set, the hovercall set is used for storing hovercalls, and icons of corresponding applications are displayed in each hovercall; under the condition that a plurality of floating balls are stored in the floating ball set, and the sliding direction of the first user operation is consistent with the position of the floating ball set at the edge of the screen, opening the application corresponding to the first floating ball in the floating ball set through the floating window on the interface, and displaying the second floating ball at the forefront end of the floating ball set; the first hovercall is the hovercall displayed at the forefront of the hovercall set before the electronic equipment receives the first user operation, and the second hovercall is the next hovercall of the first hovercall in the hovercall set determined according to the preset sequence.
Based on the method, when the sliding operation acting on the floating ball set is received, if the situation that a plurality of floating balls are stored in the floating ball set is judged, and the sliding direction of the sliding operation is consistent with the position of the floating ball set on the edge of the screen, the application corresponding to the floating ball at the front end of the floating ball set can be displayed in an interface in a centralized mode by opening the floating ball through the floating window. Therefore, the user can open the floating window application or switch the currently opened floating window application through one simple sliding operation, and the operation is simple and convenient. Compared with the operation of opening the floating window application list and then selecting the floating window application, the operation is more convenient and time-consuming. When the suspension window application is opened on the interface, the next suspension ball determined according to the preset sequence is displayed at the forefront end of the suspension ball set, so that the user is reminded of the application which can be opened in the next sliding operation. Thus, the user experience may be improved overall.
With reference to the first aspect, in some possible implementations of the first aspect, after receiving the first user operation, the method further includes: it is determined whether the sliding direction of the first user operation and the position of the set of hovers at the edge of the screen coincide.
If the sliding direction of the first user operation is sliding from left to right, and the floating ball set is located on the right side of the edge of the screen, the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen; or, if the sliding direction of the first user operation is sliding from right to left and the floating ball set is located on the left side of the edge of the screen, the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen.
If the sliding direction of the first user operation is sliding from left to right, and the floating ball set is located on the left side of the edge of the screen, the sliding direction of the first user operation is inconsistent with the position of the floating ball set on the edge of the screen; or, if the sliding direction of the first user operation is from right to left and the hovercall set is located on the right side of the edge of the screen, the sliding direction of the first user operation and the position of the hovercall set on the edge of the screen are not consistent.
With reference to the first aspect, in some possible implementations of the first aspect, before determining whether the sliding direction of the first user operation and the position of the set of hovers at the edge of the screen coincide, the method further includes: and determining whether a plurality of floating balls are stored in the floating ball set.
Under the condition that the number of the floating balls in the floating ball set is one, the floating window application can be opened by clicking the floating ball, and the floating window application list cannot be entered, so that the floating window application can be directly opened by sliding operation, and the consistency between the sliding direction of the first user operation and the position of the floating ball set on the edge of the screen does not need to be judged. When the number of the hovers in the hovers set is two or more, since the opening of the floating window list may be triggered by clicking the hover, the floating window application can be directly opened through a sliding operation. In this case, when the first user operation is received, the consistency between the sliding direction of the first user operation and the position of the floating ball set at the edge of the screen needs to be further determined, so as to determine whether the application needs to be opened through the floating window according to the determination result.
Through the judgment of the number of the suspension balls concentrated by the suspension balls, different processing modes are adopted according to different judgment results, so that the suspension window application can be opened in a more convenient and faster mode.
With reference to the first aspect, in some possible implementation manners of the first aspect, if the sliding direction of the first user operation is from left to right, the preset sequence is a first preset sequence; if the sliding direction of the first user operation is from right to left, the preset sequence is a second preset sequence; the first predetermined sequence is opposite to the second predetermined sequence.
With reference to the first aspect, in some possible implementation manners of the first aspect, the opening, at the interface, an application corresponding to the first hover ball in the hover ball set through the hover window includes: taking the first suspension ball out of the suspension ball set; and opening the application corresponding to the first suspension ball through the suspension window on the interface.
With reference to the first aspect, in some possible implementations of the first aspect, after displaying the second hover ball at a forefront of the set of hover balls, the method further includes: receiving a second user operation, which is a sliding operation for the floating ball set; under the condition that a plurality of floating balls are stored in the floating ball set, and the sliding direction of the second user operation is consistent with the position of the floating ball set on the edge of the screen, the application opened through the floating window in the interface is reduced into a first floating ball and the first floating ball is put into the floating ball set; and opening the application corresponding to the second suspension ball through the suspension window on the interface.
And after receiving the first user operation, opening the application corresponding to the first floating ball in the floating ball set on the interface through the floating window, and displaying the second floating ball at the forefront end of the floating ball set, wherein if the second user operation is received again, the user wants to switch the applications of the floating window. At this time, the foremost end of the floating ball set does not display the first floating ball any more, but displays the second floating ball, and when receiving the second user operation, the operation of opening the floating window application list and then selecting the floating window application is not required to be executed, but the application corresponding to the second floating ball is directly opened through the floating window. Compared with the operation of opening the floating window application list and then selecting the floating window application when the floating window application is switched, the operation is more convenient and shorter in time consumption.
With reference to the first aspect, in some possible implementations of the first aspect, after receiving the first user operation, the method further includes: determining that the first user operation is a sliding operation.
When the first user operation is a sliding operation, the scheme provided by the application can be adopted to respond to the first user operation, specifically, the application corresponding to the first levitation ball in the levitation ball set can be opened through the levitation window on the interface, and the second levitation ball is displayed at the forefront end of the levitation ball set. When the first user operation is not a sliding operation but a clicking operation, a current existing scheme may be adopted to respond to the first user operation, specifically, a floating window application list may be opened in the interface, so that the user selects an application that the user wants to open in the floating window application list, and when a clicking operation on an application in the floating window application list is received again, the application is opened through the floating window in the interface.
Because the gesture operation habits of different users may be different, different switching modes of the floating window application are adopted based on different gesture operations of the user on the floating ball set, so that the gesture operation habits of the user can be met, and meanwhile, the switching of the floating window application can be realized.
In a second aspect, the present application provides a control apparatus for a hoverball, the apparatus comprising means for performing the method as described in the first aspect and any one of the possible implementations of the first aspect.
In a third aspect, the present application provides a control apparatus for a hover ball, including a memory for storing a computer program and a processor for executing the computer program to perform the first aspect and any one of the possible implementations of the first aspect.
In a fourth aspect, the present application provides an electronic device comprising a processor and a memory, the memory being configured to store a computer program, the processor being configured to invoke the computer program in the memory to perform the method according to the first aspect and any one of the possible implementations of the first aspect.
In a fifth aspect, the present application provides a chip comprising a processor configured to invoke a computer program in a memory to perform the method according to the first aspect as well as any of the possible implementations of the first aspect.
In a sixth aspect, the present application provides a computer-readable storage medium comprising a computer program which, when run on a computer, causes the electronic device to perform the method of the first aspect and any one of the possible implementations of the first aspect.
In a seventh aspect, the present application provides a computer program product comprising a computer program that, when run on a computer, causes the electronic device to perform the method of the first aspect and any possible implementation manner of the first aspect.
It should be understood that the second to seventh aspects of the present application correspond to the technical solutions of the first aspect of the present application, and the advantageous effects obtained by the aspects and the corresponding possible implementations are similar and will not be described again.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface for operating a set of hovers according to an embodiment of the present disclosure;
fig. 3 is a schematic flow chart of a control method of a levitation ball provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a preset order of the hovers in the hover ball set provided in the embodiment of the present application;
FIG. 5 is a schematic diagram illustrating a sliding direction and a position relationship of a floating ball set according to an embodiment of the present application;
FIG. 6 is a schematic interface diagram of a control method for a levitation ball provided in an embodiment of the present application;
FIG. 7 is a schematic view of another interface of a control method for a levitating ball according to an embodiment of the present application;
FIG. 8 is a schematic diagram of software interaction provided by an embodiment of the present application;
fig. 9 is a schematic software architecture diagram of an electronic device according to an embodiment of the present application;
fig. 10 is a schematic block diagram of a control device for a levitation ball provided in an embodiment of the present application;
fig. 11 is a hardware configuration diagram of a control device for a levitation ball according to an embodiment of the present application.
Detailed Description
The control method of the levitation ball provided by the embodiment of the application can be applied to electronic equipment with a display function and a file transmission function. The electronic device may be a mobile phone (mobile phone), a smart tv, a wearable device, a tablet computer (Pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal device, an Augmented Reality (AR) terminal device, a wireless terminal in industrial control (industrial control), a wireless terminal in self-driving (self-driving), a wireless terminal in remote surgery (remote medical supply), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and so on. The embodiment of the present application does not limit the specific technology and the specific device form adopted by the electronic device.
In order to better understand the embodiments of the present application, the following describes the structure of the electronic device provided in the embodiments of the present application:
fig. 1 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
The electronic device 100 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 module 180, a key 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. The sensor module 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.
It is to be understood that the illustrated structure of the embodiment of the present application does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. 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.
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 the 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. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
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 I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, audio module 170 and wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit the audio signal to the wireless communication module 160 through the PCM interface, so as to implement the function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may 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 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only an illustration, and does not limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 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 a 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 100. 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 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 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 wireless communication of 2G/3G/4G/5G, etc. applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. 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 a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (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 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 electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, connected to the display screen 194 and the 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 program instructions to generate or alter 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 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
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 photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to be 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 an image signal in a standard RGB, YUV and other formats. In some embodiments, the electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
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, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, 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 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. 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. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 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 used to convert digital audio information into analog audio signals for output, and also used to convert analog audio inputs into digital audio signals. 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 100 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 apparatus 100 receives a call or voice information, it can receive 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 sending voice information, the user can input a voice signal into the microphone 170C by uttering a voice signal by the mouth of the user near the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 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 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and perform directional recording.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association) standard interface of the USA.
The pressure sensor 180A is used for sensing a pressure signal, and can convert 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 electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position 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 attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, 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 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. 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 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for 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 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. 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. Electronic device 100 may adaptively adjust the brightness of 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 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs a boost on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "touch device". 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 100, different from the position of 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 body 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 apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
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 brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. 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 is also compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
It should be noted that the following description, in conjunction with the various figures, illustrates the interface of the floating window application. It is to be understood, however, that the drawings are designed solely for purposes of illustration and not as a definition of the limits of the application. In different electronic devices, the interface of the floating window application may have different designs, and the displayed interface may include the content included in the interface shown in the figures, or may include more or less content than the interface shown in the figures below. The present application is not limited in this regard.
For ease of understanding, FIG. 2 shows a schematic interface diagram for operating on a set of hovers.
As shown in fig. 2 (a), assuming that a user wants to open an application through an interface of an electronic device, an application icon on the interface may be clicked. For example, if the user wants to open a "browser" application, the user may click a "browser" icon on the interface.
As shown in (b) of fig. 2, the electronic device opens an application corresponding to the application icon on the interface. For example, a "browser" application is opened on the interface.
If the user wants to reduce the application opened on the interface to the hover ball, the user may first perform a sliding operation from bottom to top on the control 201 displayed on the interface. It should be appreciated that the electronic device may display the application displayed on the interface through the floating window upon receiving a slide operation acting on the control 201.
As shown in (c) of fig. 2, the electronic device displays the corresponding application through the floating window in the interface, i.e., displays the floating window application in the interface. For example, a "browser" application is displayed through a floating window.
After the application is displayed through the floating window, the user may further perform a click operation on the control 202 next to the floating window application. It should be appreciated that the electronic device, upon receiving a click operation on the control 202, can shrink the hover window application to a hover ball, which is deposited in a hover ball collection 203 as shown in (d) of fig. 2.
It should be noted that the present application is only exemplary of the process of reducing a floating window application to a floating ball. In an actual scene, when a user opens multiple applications on the interface, the processes (a) - (c) in fig. 2 may be repeatedly executed to reduce the multiple suspension window applications into multiple suspension balls, and the suspension balls are stored in the suspension ball set 203. For ease of understanding, fig. 2 illustrates an example in which a plurality of hovers are stored in the hoverball collection 203.
As shown in fig. 2 (d), assuming that the user again wants to open a certain hover window application through the hover ball set 203, a click operation can be performed on the hover ball set 203.
It should be understood that at this time, a number indication icon 204 is displayed beside the hovercall set 203, which indicates that a plurality of hovercalls are stored in the hovercall set 203, and each hovercall corresponds to one application.
As shown in (e) of fig. 2, a floating window application list 205 is opened on the interface, where the floating window application list 205 includes a plurality of floating window applications, such as a browser, information, and a gallery.
The user may select a floating window application that the user wants to open in the floating window application list 205 by a click operation. For example, if the user wants to open the "gallery" application through the floating window, the user may click on the "gallery" icon.
As shown in fig. 2 (f), the application "gallery" is taken out from the floating window application list 205, and the application "gallery" is opened through the floating window on the interface. At this point, the hover window application list 205 is hidden and the hover ball set 203 continues to be displayed on the interface.
It can be seen that the number indication icon 204 still exists at this time, which indicates that a plurality of floating window applications are still contained in the floating window application list 205.
If the user wants to open another hover window application, the clicking operations on the hover ball set 203 may continue.
As shown in (g) in fig. 2, the floating window application list 205 is opened again on the interface. At this time, the floating window application list 205 includes a plurality of floating window applications, such as a browser, information, and an address book.
The user may continue to select the floating window application that he or she wants to open in the floating window application list 205 by a click operation. For example, if the user wants to open the "information" application through the floating window, the user may click on the "information" icon.
As shown in fig. 2 (h), the "information" application is taken out from the floating window application list 205, and the "information" application is opened through the floating window on the interface. At this point, the hover window application list 205 is hidden and the hover ball set 203 is again displayed on the interface.
If the user wants to continue to open another hover ball application, the process of performing a click operation on the hover ball set 203 to open the hover window application list 205 and then selecting a hover window application may be repeated, which is not described herein again.
It should be understood that if the number of the floating window applications included in the floating window application list 205 is one, the electronic device does not need to open the floating window application list 205 when receiving a click operation of the user on the floating ball set 203, but directly opens the floating window application.
According to the control method for the floating ball, the plurality of floating balls are stored in the floating ball set, namely, when the floating window application list comprises a plurality of floating window applications, if a user wants to open a certain floating window application, the user needs to click the floating ball set to open the floating window application list, then selects the floating window application to be opened from the floating window list, and clicks the selected floating window application to open the application to be opened through the floating window. If the user wants to open another floating window application when the user has already opened one floating window application, the operation of opening the floating window application list and then selecting the floating window application still needs to be repeatedly executed. However, this method requires a user to perform multiple triggering operations, which is cumbersome and user experience is not good.
In view of this, the present application provides a control method of a levitation ball. When the electronic equipment receives the sliding operation acting on the floating ball set, if the electronic equipment judges that a plurality of floating balls are stored in the floating ball set and the sliding direction of the sliding operation is consistent with the position of the floating ball set at the edge of the screen, the electronic equipment can open the floating ball through the floating window to display the application corresponding to the floating ball at the front end of the floating ball set in the interface in a centralized manner. Therefore, the user can open the floating window application or switch the currently opened floating window application through one simple sliding operation, and the operation is simple and convenient. Compared with the operation of opening the floating window application list and then selecting the floating window application, the operation is more convenient and time-consuming. When the suspension window application is opened on the interface, the next suspension ball determined according to the preset sequence is displayed at the forefront end of the suspension ball set, so that the user is reminded of the application which can be opened by the next sliding operation. Thus, the user experience may be improved overall.
Before the embodiments of the present application are described, the following description is first made:
first, the first, second and various numerical numbering in the embodiments shown below are merely for convenience of description and are not intended to limit the scope of the embodiments of the present application. E.g. to distinguish different applications, etc.
Second, "at least one" means one or more, "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a alone, A and B together, and B alone, wherein A and B may be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" or similar expressions refer to any combination of these items, including any combination of the singular or plural items. For example, at least one (one) of a, b, and c, may represent: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, wherein a, b and c can be single or multiple.
Third, in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion for ease of understanding.
Fourth, in the embodiments of the present application, a plurality of concepts such as "hover ball", "hover ball set", "hover ball application", "hover window application" and the like are referred to. For ease of understanding, the description is differentiated herein.
A floating window application is an application program (may be simply referred to as an application) that is opened through a floating window. After the application of the floating window is reduced, the application can be displayed on the interface in the form of a floating ball. When the plurality of suspended window applications are reduced to the suspended ball, the suspended balls corresponding to the plurality of suspended window applications are gathered together to form a suspended ball set. Individual hovercalls may be managed by the hovercall application.
In addition, if an icon displayed in a certain hover ball is an icon of a certain application, the hover ball may be called to correspond to the application, and the hover ball may be called a hover ball corresponding to the application, or referred to as "application name + hover ball" for short. For example, an icon displayed in a certain hover ball is an icon of an application, such as a browser, and the hover ball may correspond to the application, such as the hover ball corresponding to the browser, or simply referred to as a "browser" hover ball.
Fig. 3 is a schematic flowchart of a control method for a levitating ball according to an embodiment of the present application, where the method may include steps 301 and 302, and the method may be executed by a control device for the levitating ball, for example, the method may be the electronic device in fig. 1, or a component in the electronic device, such as a chip, a system-on-chip, or another module that may be used to implement part or all of its functions, which is not limited in this application. For ease of understanding, the following description will be given taking an electronic device as an example. The various steps in method 300 are described in detail below.
In step 301, a first user operation is received, where the first user operation is a sliding operation for a set of hovers.
The floating ball set is used for storing floating balls, and icons of corresponding applications are displayed in each floating ball. The sliding operation may be sliding from left to right, or from right to left.
In this application, when a user opens multiple floating window applications on an interface on an electronic device and clicks a control for reducing the floating window application to a floating ball, that is, the control 202 in fig. 2, beside the floating window application, in the manner described above, the floating window application is reduced to a floating ball and stored in a floating ball set.
When the set of hovers is displayed on the interface, the icons of the applications corresponding to the frontmost hovers can be displayed on the interface according to a preset sequence.
When the floating ball set is located on the right side of the edge of the screen, displaying the application icons corresponding to the front-most floating balls on the interface according to a first preset sequence; when the hover ball set is located on the left side of the edge of the screen, the icons of the applications corresponding to the front-most hover ball can be displayed on the interface according to a second preset sequence. It is to be understood that the first predetermined order and the second predetermined order are reversed.
Exemplarily, fig. 4 is a schematic diagram that the hovers in the hoverball set are ordered according to a preset order according to the embodiment of the present application. Three floating balls, namely a floating ball 401, a floating ball 402 and a floating ball 403, are centrally stored in the floating ball shown in fig. 4, the floating ball 401 displays an icon of a corresponding "browser" application, the floating ball 402 displays an icon of a corresponding "information" application, and the floating ball 403 displays an icon of a corresponding "gallery" application.
As shown in fig. 4 (a), when the set of hovers is located on the right side of the edge of the screen, the hovers in the set of hovers are sorted according to a first preset order, where the first preset order is: hover ball 401 → hover ball 402 → hover ball 403. It can be seen that, in the first preset order, the hover ball arranged at the forefront is the hover ball 401, and then when the hover ball set is displayed on the interface, the icon of the "browser" application corresponding to the hover ball 401 is displayed on the interface.
As shown in fig. 4 (b), when the set of hovers is located on the left side of the screen edge, the hovers in the set of hovers are sorted according to a second preset order, where the second preset order is: the levitating sphere 403 → levitating sphere 402 → levitating sphere 401. It can be known that, in the second preset order, the levitation ball arranged at the forefront is the levitation ball 403, and when the levitation ball set is displayed on the interface, the icon of the "gallery" application corresponding to the levitation ball 403 is displayed on the interface.
It should be understood that the centralized levitation ball set of fig. 4 with three levitation balls is merely an illustration, and that the centralized levitation ball set can also store a greater or lesser number of levitation balls, which is not limited in this application.
And 302, under the condition that a plurality of floating balls are stored in the floating ball set and the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen, opening the application corresponding to the first floating ball in the floating ball set through the floating window on the interface, and displaying the second floating ball at the forefront end of the floating ball set.
The levitation ball is stored with a plurality of levitation balls in a centralized manner, that is, at least two levitation balls are stored in a centralized manner.
The sliding direction of the user on the set of hovers may be from left to right, from right to left, from top to bottom, or from bottom to top. The position of the hover ball collection at the edge of the screen may be to the right, left, top, or bottom of the edge of the screen. It should be understood that the position of the floating ball set at the edge of the screen is specifically the position adsorbed to the edge of the screen.
In this application, the correspondence between the sliding direction of the first user operation and the position of the hover ball set at the edge of the screen may include the following cases:
in one case, the sliding direction of the first user operation is from left to right, and the floating ball set is located at the right side of the edge of the screen, which indicates that the sliding direction of the first user operation is consistent with the position of the floating ball set at the edge of the screen. In another case, the sliding direction of the first user operation is from right to left, and the floating ball set is located on the left side of the edge of the screen, which indicates that the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen. In another case, if the sliding direction of the first user operation is from bottom to top, and the hover ball group is located on the upper side of the edge of the screen, it means that the sliding direction of the first user operation and the position of the hover ball group on the edge of the screen are the same. In another case, the sliding direction of the first user operation is from top to bottom, and the floating ball set is located at the lower side of the edge of the screen, which indicates that the sliding direction of the first user operation is consistent with the position of the floating ball set at the edge of the screen.
Exemplarily, as shown in fig. 5, a schematic diagram of a position relationship between a sliding direction and a hover ball set is provided for an embodiment of the present application. As shown in fig. 5 (a), the floating ball set is adsorbed on the right side of the edge of the screen, and when the user slides the floating ball set from left to right, the positions of the two are consistent; as shown in fig. 5 (b), the hover ball set is attached to the left side of the edge of the screen, and if the user slides the hover ball set from right to left, the positions of the hover ball set and the user are also the same.
In this application, need satisfy simultaneously that the hoverball is concentrated and has been deposited two at least hoverballs to and when the user acted on the slide direction of hoverball collection and the unanimous two conditions in the screen edge of hoverball collection, electronic equipment just can carry out following two operations.
On one hand, the application corresponding to the first suspension ball is opened through the suspension window on the interface.
The first hover ball is the hover ball displayed at the forefront of the hover ball set before the electronic device receives the first user operation.
Illustratively, before receiving a sliding operation of the user on the hovercall set, if the hovercalls stored in the hovercall set are sorted according to a first preset order as shown in (a) of fig. 4, as described above, the hovercall displayed at the forefront of the hovercall set may be, for example, the hovercall 401, that is, the first hovercall may be the corresponding hovercall 401 applied to the "browser". If the hovers stored in the set of hovers are sorted in the second predetermined order as shown in fig. 4 (b), the hover displayed at the forefront of the set of hovers may be, for example, the hover 403, as described above. That is, the first hover ball may be the "gallery" application corresponding hover ball 403.
The operation can be specifically realized by the following modes: taking the first suspension ball out of the suspension ball set; and opening the application corresponding to the first suspension ball through the suspension window on the interface.
For example, assuming that the hovercall set is attached to the right side of the edge of the screen, the hovercall at the forefront of the hovercall set is displayed in the first preset order, such as the hovercall 401 shown in (a) of fig. 4. Then, upon receiving a sliding operation from left to right on the set of hovers, the hover 401 may be taken out of the set of hovers, and an application corresponding to the hover 401 may be opened through the hover window in the interface, i.e., a "browser" application may be opened through the hover window. Assuming that the hoverball sets are attached to the left side of the edge of the screen, the hoverballs displayed at the forefront of the hoverball sets in the second preset order are, for example, the hoverballs 403 shown in (b) of fig. 4. Then, upon receiving a right-to-left sliding operation on the set of hovers, the hovercall 403 may be taken out of the set of hovercall, and the application corresponding to the hovercall 403 may be opened in the interface through the floating window, i.e., the "gallery" application may be opened through the floating window.
It is understood that when the first levitation ball is taken out of the set of levitation balls, the number of levitation balls in the set of levitation balls is reduced by one.
On the other hand, the second hover ball is displayed at the forefront of the hover ball set.
And the second floating ball is the next floating ball of the first floating ball in the floating ball set determined according to the preset sequence.
It should be understood that if the sliding direction of the first user operation is sliding from left to right, the preset sequence is a first preset sequence; if the sliding direction of the first user operation is from right to left, the preset sequence is a second preset sequence.
For example, when the hovers in the set of hovers are sorted according to the first preset order, if the first hover is the "hover 401" shown in fig. 4 (a), the second hover is the hover 402; when the first levitation ball is the levitation ball 403 shown in fig. 4 (b), the second levitation ball is the levitation ball 402.
When the floating ball set is adsorbed on the right side of the edge of the screen, or when the floating ball set is adsorbed on the left side of the edge of the screen, only one floating ball at the forefront end of the floating ball set is displayed on the interface. Therefore, when the floating ball set is adsorbed on the right side of the edge of the screen, and the first user operates to slide from left to right, the second floating ball is displayed at the forefront end of the floating ball set according to a first preset sequence, besides the application corresponding to the first floating ball at the forefront end of the floating ball set is opened through the floating window; when the floating ball is adsorbed on the left side of the edge of the screen, and the first user operation is performed in a manner of sliding from right to left, the second floating ball is displayed at the forefront end of the floating ball set according to a second preset sequence except that the application corresponding to the first floating ball located at the forefront end of the floating ball is opened through the floating window.
For example, assume that the hover ball set is attached to the right side of the edge of the screen, the sliding direction acting on the hover ball set is from left to right, and the hover ball displayed at the forefront of the hover ball set is a "browser" hover ball. Then, the electronic device not only opens the "browser" application through the hover window, but also updates the hover ball displayed at the forefront of the hover ball set to the "information" hover ball in the first preset order as shown in (a) of fig. 4. Assuming that the floating ball set is adsorbed at the left side of the edge of the screen, the sliding direction acting on the floating ball set slides from right to left, and the floating ball displayed at the forefront of the floating ball set is a 'gallery' floating ball. Then, the electronic device not only opens the "gallery" application through the floating window, but also updates the floating ball displayed at the forefront of the floating ball set to the "information" floating ball in a second preset order as shown in (b) of fig. 4.
It should be understood that, in the present application, the suspension ball at the front end of the suspension ball set is updated, so that the electronic device can directly open the application corresponding to the suspension ball in the suspension window when receiving the first user operation next time.
As described above, the electronic device may execute the application corresponding to the first hover ball in the hover ball set by opening the hover window on the interface and display the operation of the second hover ball at the front end of the hover ball set under the two conditions that the hover balls are collectively stored, the sliding direction of the first user operation, and the position of the hover ball set at the edge of the screen are consistent.
Then, optionally, after step 301, the method may further comprise:
it is determined whether the sliding direction of the first user operation and the position of the set of hovers at the edge of the screen coincide.
When the electronic equipment receives the sliding operation of the user on the floating ball set, the consistency between the sliding direction of the sliding operation and the position of the floating ball set adsorbed on the edge of the screen can be further judged.
As described above, the sliding direction of the first user operation is sliding from left to right, and the floating ball set is located on the right side of the edge of the screen, or the sliding direction of the first user operation is sliding from right to left, and the floating ball set is located on the left side of the edge of the screen, or the sliding direction of the first user operation is sliding from bottom to top, and the floating ball set is located on the upper side of the edge of the screen, or the sliding direction of the first user operation is sliding from top to bottom, and the floating ball set is located on the lower side of the edge of the screen, then the sliding direction of the first user operation and the position of the floating ball set on the edge of the screen are the same.
Accordingly, the inconsistency between the sliding direction of the first user operation and the position of the hover ball set at the edge of the screen may include the following situations:
in one case, the sliding direction of the first user operation is from left to right, but the hovercall is located at the left side of the edge of the screen, which indicates that the sliding direction of the first user operation is not consistent with the position of the hovercall at the edge of the screen. In another case, if the sliding direction of the first user operation is from right to left, but the hovercall is located at the right side of the edge of the screen, it indicates that the sliding direction of the first user operation is not consistent with the position of the hovercall at the edge of the screen. In another case, if the sliding direction of the first user operation is from top to bottom and the hover ball group is located above the edge of the screen, it indicates that the sliding direction of the first user operation does not coincide with the position of the hover ball group at the edge of the screen. In another case, if the sliding direction of the first user operation is from bottom to top and the floating ball set is located at the lower side of the edge of the screen, it indicates that the sliding direction of the first user operation is not consistent with the position of the floating ball set at the edge of the screen.
It is to be understood that when the sliding direction of the first user operation and the position of the set of hovers at the edge of the screen do not coincide, the electronic device may not respond to the sliding operation on the set of hovers.
Optionally, before determining whether the sliding direction of the first user operation and the position of the set of hovers at the edge of the screen coincide, the method may further comprise: and determining whether a plurality of floating balls are stored in the floating ball set.
The electronic equipment can determine the number of the floating balls in the floating ball set before judging whether the sliding operation acted on the floating ball set by the user is consistent with the position of the floating ball set adsorbed on the edge of the screen. The number of the floating balls in the floating ball set is one, and when a first user operation is received, the corresponding application of the floating ball is directly opened on the interface through the floating window; and when receiving a first user operation, opening the application corresponding to the first levitation ball in the levitation ball set through the levitation window on the interface, and displaying the second levitation ball at the forefront end of the levitation ball set.
It should be understood that the execution sequence of the electronic device for receiving the first user operation and determining the number of the hovers in the hovers is not limited.
Optionally, after step 302, the method may further comprise:
receiving a second user operation which is a sliding operation for the floating ball set;
under the condition that a plurality of floating balls are stored in the floating ball set, and the sliding direction of the second user operation is consistent with the position of the floating ball set on the edge of the screen, the application opened through the floating window in the interface is reduced into a first floating ball and the first floating ball is put into the floating ball set;
and opening the application corresponding to the second suspension ball through the suspension window on the interface.
The application opened through the floating window in the current interface is the application corresponding to the first floating ball in the floating ball set. By sliding the floating ball again, the application with the floating window opened can be switched from the application corresponding to the first floating ball to the application corresponding to the second floating ball.
In this application, after the electronic device opens the application corresponding to the front-most suspension ball in the suspension ball set through the suspension window in the interface through the foregoing steps 301 and 302, and updates the suspension ball displayed at the front-most end of the suspension ball set, if the sliding operation acting on the suspension ball set is received again, the application corresponding to the suspension ball displayed at the front-most end of the current suspension ball set can be reduced back to the suspension ball and stored in the suspension ball set, and the application corresponding to the suspension ball displayed at the front-most end of the current suspension ball set is opened through the suspension window in the interface, that is, the application corresponding to the updated suspension ball is displayed in the suspension window.
In other words, when the electronic device receives a sliding operation acting on the levitation ball set, if the levitation window application is already displayed in the current interface, the levitation window application is first reduced to the levitation ball, the levitation ball is stored in the levitation ball set, and then the application corresponding to the levitation ball at the forefront of the levitation ball set is displayed in the current interface through the levitation window; and if the application of the suspension window is not displayed in the current interface, directly displaying the application corresponding to the suspension ball at the forefront end of the suspension ball set in the current interface through the suspension window.
Optionally, after step 301, the method further comprises: determining that the first user operation is a sliding operation.
When the electronic device receives the first user operation, whether the first user operation is a sliding operation needs to be judged, if the first user operation is determined to be the sliding operation, the scheme provided by the application can be adopted to respond to the first user operation, specifically, the application corresponding to the first levitation ball in the levitation ball set can be opened through the levitation window on the interface, and the second levitation ball is displayed at the forefront end of the levitation ball set. If it is determined that the first user operation is not a sliding operation but a clicking operation, the first user operation may be responded to by using a current existing scheme, specifically, a floating window application list may be opened in the interface, so that the user selects an application that the user wants to open in the floating window application list, and when a clicking operation on an application in the floating window application list is received again, the application is opened through the floating window in the interface.
Based on the method, when the electronic equipment receives the sliding operation acted on the floating ball set, if the electronic equipment judges that a plurality of floating balls are stored in the floating ball set and the sliding direction of the sliding operation is consistent with the position of the floating ball set at the edge of the screen, the electronic equipment can open the floating ball through the floating window to display the application corresponding to the floating ball at the front end of the floating ball set in a centralized manner in the interface. Therefore, the user can open the floating window application or switch the currently opened floating window application through one simple sliding operation, and the operation is simple and convenient. Compared with the operation of opening the floating window application list and then selecting the floating window application, the operation is more convenient and time-consuming. When the suspension window application is opened on the interface, the next suspension ball determined according to the preset sequence is displayed at the forefront end of the suspension ball set, so that the user is reminded of the application which can be opened by the next sliding operation. Thus, the user experience may be improved overall.
The following describes an exemplary method for controlling a levitation ball provided by the present application with reference to fig. 6 and 7. It should be noted that the three hovers, namely, the browser hover, the information hover and the gallery hover, are centrally stored in the hovers of fig. 6 and 7.
Fig. 6 is an interface schematic diagram of a control method for a levitation ball provided in the embodiment of the present application. It should be understood that the hovercells in the set of hovercells shown in fig. 6 are ordered according to a first preset sequence, namely, "browser" hovercell → "information" hovercell → "gallery" hovercell.
As shown in fig. 6 (a), the hoverball set is attached to the right side of the edge of the screen, and the "browser" hoverball is displayed at the forefront of the hoverball set.
If the user wants to open the browser application, the user can perform a sliding operation from left to right on the hovercall set.
As shown in fig. 6 (b), when a sliding operation of the user on the hoverball collection from left to right is received, a "browser" application is opened on the interface through the hover window, and the "information" hoverball is displayed at the forefront of the hoverball collection.
If the user wants to switch the floating window application, the sliding operation from left to right can be continuously executed on the floating ball set.
As shown in fig. 6 (c), upon receiving a sliding operation from left to right acting on the hoverball set again, the electronic device may first reduce the "browser" application displayed in the hoverball window on the interface into a hoverball and store the hoverball set, and then open the "information" application through the hoverball window on the interface. At this time, the "gallery" hover ball is displayed at the very front of the hover ball set.
If the user wants to continue switching the floating window application, the sliding operation from left to right can be continuously executed on the floating ball set.
It should be appreciated that if the user continues to perform a left-to-right swipe operation on the set of hovers, the front-most end of the set of hovers will again display the "browser" hovers.
Based on the method, when the floating ball set is located on the right side of the edge of the screen, the user can open or switch the floating window application through one simple sliding operation from left to right, and compared with the operation of opening the floating window application list and then selecting the floating window application, the operation is more convenient and faster, and the time consumption is shorter. Thus, the user experience may be improved overall.
Fig. 7 is another interface schematic diagram of a control method for a levitation ball according to an embodiment of the present application. It should be understood that the hovercells in the set of hovercells shown in fig. 7 are ordered according to a second preset order, namely, "gallery" hovercells → "informational" hovercells → "browser" hovercells.
As shown in fig. 7 (a), assuming that the original position of the hovel set is located at the right side of the edge of the screen, if the user wants to change the position of the hovel set, the user may drag the hovel set, for example, drag the hovel set to the left side of the edge of the screen.
As shown in fig. 7 (b), the hoverball set is dragged and attracted to the left side of the screen edge, and the "gallery" hoverball is displayed at the forefront of the hoverball set.
If the user wants to open the gallery application, the user can perform a right-to-left sliding operation on the hoverball set.
As shown in fig. 7 (c), when a right-to-left sliding operation of the user on the hoverball set is received, the "gallery" application is opened through the hover window on the interface, and the "info" hoverball is displayed at the forefront of the hoverball set.
If the user wants to switch the floating window application, the sliding operation from right to left can be continuously executed on the floating ball set.
As shown in (d) of fig. 7, upon receiving a right-to-left sliding operation acting on the hoverball set again, the electronic device may first reduce the "gallery" application displayed in the hoverball window on the interface into a hoverball and store the hoverball set, and then open the "information" application through the hoverball window on the interface. At this time, the "browser" hover ball is also displayed at the very front of the hover ball set.
If the user wants to continue switching the floating window application, the sliding operation from right to left can be continuously executed on the floating ball set.
It should be appreciated that if the user continues to perform a right-to-left swipe operation on the set of hovers, the "gallery" hovers will be displayed again at the very front of the set of hovers.
Based on the method, when the floating ball set is located on the left side of the edge of the screen, the user can open or switch the floating window application through a simple right-to-left sliding operation, and compared with an operation of opening the floating window application list and then selecting the floating window application, the operation is more convenient and faster, and the time consumption is shorter. Thus, the user experience may be improved overall.
The flow shown in fig. 8 will be briefly described in conjunction with the software architecture of the electronic device.
Fig. 8 is a schematic diagram of software interaction provided in the embodiment of the present application.
S1, the user opens the floating window application on the interface.
A user may open one or more floating window applications on an interface of the application layer.
And S2, the user reduces the opened application of the floating window into the floating ball to obtain a floating ball set.
As previously described, the user zooms out the floating window application to the hover ball by clicking on a control next to the floating window application. It should be appreciated that the hovercall may be stored in a set of hovercalls, which may store one or more hovercalls, which may be managed by the hovercall application.
And S3, determining whether the floating ball is stored with a plurality of floating balls in a centralized mode by the floating ball application.
The hover ball application may determine the number of hover balls in a set of hover balls, which may be one or more.
When the number of the hovers in the set of hovers is plural, S31 is executed. That is, the hover ball application may send a message notification that the number of hover balls in the hover ball set is multiple to an Input Management System (IMS) of the application framework layer, and after receiving the message notification, the IMS may open a hover ball set fast-switch gesture for the hover ball set and apply a feedback message to the hover ball to inform the hover ball application that the hover ball set fast-switch gesture has been opened. It should be appreciated that the hover ball collection fast-cut gesture can be understood as a hover ball collection capable of fast switching hover window applications for a user in response to a sliding operation applied to the hover ball collection by the user.
When the number of the hovers in the hover set is one, the message notification that the number of the hovers in the hover set is one is not sent to the IMS by the hover application, and the IMS does not need to open a quick switching gesture of the hover set for the hover set. In other words, as described above, when the number of the hovers in the set of hovers is one, the corresponding application of the hovers is opened directly on the interface through the floating window.
And S4, the floating ball application receives the sliding operation acted on the floating ball set by the user.
As described above, the sliding operation may be a sliding operation from left to right, a sliding operation from right to left, or a sliding operation from bottom to top, or a sliding operation from top to bottom. For example, the user may perform a left-to-right sliding operation on the set of hovers, as shown in FIG. 6, or the user may perform a right-to-left sliding operation on the set of hovers, as shown in FIG. 7. Further, the hover ball application, upon receiving a slide operation acting on the hover ball set, reports the slide event to the IMS. It should be appreciated that when a hover ball collection receives a slide operation, the hover ball application may also perceive the slide operation.
And S5, the IMS judges whether the sliding direction of the sliding operation is consistent with the position of the floating ball set on the edge of the screen or not to obtain a judgment result.
The IMS can determine the sliding direction of the sliding operation of the sliding event according to the reported sliding event.
After the sliding direction of the sliding operation is determined, the IMS can be compared with the position, adsorbed at the edge of the screen, of the floating ball set to obtain a judgment result of whether the sliding direction of the sliding operation is consistent with the position, on the edge of the screen, of the floating ball set. That is, the determination result is used to indicate whether the slide direction of the slide operation coincides with the position of the floating ball set at the edge of the screen.
It should be understood that the determination result may also be used to indicate the sliding direction of the sliding operation and the position of the hover ball set at the edge of the screen.
And S6, the IMS sends the judgment result to the floating ball application.
When the hovel application receives the judgment result, if the judgment result indicates that the sliding direction of the sliding operation is consistent with the position of the hovel set on the edge of the screen, S7 can be continuously executed; if the determination result indicates that the sliding direction of the sliding operation does not coincide with the position of the hovercall at the edge of the screen, S7 is not executed, that is, the hovercall does not respond to the sliding operation by the user.
And S7, the application of the floating ball opens the application corresponding to the floating ball displayed at the forefront of the floating ball set on the interface through the floating window.
In the present application, S7 can be specifically realized through S71-S73, and the following descriptions are provided for the implementation manners of S71-S73.
And S71, the floating ball application judges whether the floating window application is opened currently.
When the application of the floating window is opened on the current interface, executing S72; when the current interface does not have the floating window application open, S73 is executed.
And S72, if yes, reducing the application of the suspension window into the suspension ball stored in the suspension ball set, and opening the application corresponding to the suspension ball displayed at the forefront of the suspension ball set through the suspension window.
For example, as shown in fig. 6 (b), it is assumed that the user performs a sliding operation from left to right on the hoverball set through S4, and at this time, a "browser" application is displayed on the interface through the hover window. Then, before the application corresponding to the "information" hover ball is opened through the hover window, the "browser" application displayed through the hover window is first reduced back to the hover ball and stored in the hover ball set, and then the application corresponding to the "information" hover ball displayed at the forefront of the hover ball set is displayed through the hover window, that is, as shown in (c) of fig. 6.
And S73, if not, opening the application corresponding to the suspension ball at the front end of the suspension ball set through the suspension window.
For example, as shown in (a) of fig. 6, it is assumed that the user performs a sliding operation from left to right on the hoverball set through S4, while no hoverball application is displayed on the interface. Then, the hover ball application may directly display the application corresponding to the "browser" hover ball displayed at the forefront of the hover ball set through the hover window, i.e., as shown in (b) of fig. 6.
And S8, updating the suspension ball displayed at the forefront of the suspension ball set by the suspension ball application according to the judgment result.
The judgment result received by the hovercall set from the IMS is also used for indicating the sliding direction of the sliding operation and the position of the hovercall set at the edge of the screen. Therefore, the hover ball application can update the hover ball displayed at the forefront of the hover ball set according to the sliding direction indicated by the determination result and the position of the hover ball set at the edge of the screen.
In an example, in S81, when the determination result is used to indicate that the sliding direction is sliding from left to right and the hovercall is located on the right side of the edge of the screen, the hovercall displayed at the front end of the hovercall set is updated according to the first preset sequence.
For example, as shown in fig. 6 (a), when the sliding direction is sliding from left to right, the first preset order is: the 'browser' hoverball → 'information' hoverball → 'gallery' hoverball. It is assumed that the user performs a sliding operation from left to right on the hovercall set through S4, and it can be seen that the hovercall set is also located on the right side of the edge of the screen. Then, as shown in fig. 6 (b), in addition to the application of the hover ball opening the "browser" application through the hover window, the hover ball displayed at the forefront of the hover ball set is updated to the "information" hover ball in the first preset order.
In another example, in S82, when the determination result is used to indicate that the sliding direction is sliding from left to right and the hovercall set is located on the left side of the edge of the screen, the hovercall displayed at the forefront of the hovercall set is updated according to the second preset sequence.
For example, as shown in (b) of fig. 7, when the sliding direction is from right to left, the second preset order is: the 'gallery' floating ball → 'information' floating ball → 'browser' floating ball. It is assumed that the user performs a slide operation from right to left on the hovel set through S4, and it can be seen that the hovel set is also located on the left side of the edge of the screen. Then, as shown in fig. 7 (c), in addition to the application of opening the "gallery" through the floating window, the floating ball displayed at the forefront of the floating ball set is updated to the "information" floating ball in the second preset order.
Fig. 9 is a schematic software architecture diagram of an electronic device according to an embodiment of the present application. The architecture shown in fig. 9 divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages. The application layer includes a system (system) User Interface (UI) and an Application (APP). Applications may include, but are not limited to, cameras, galleries, calendars, calls, maps, navigation, WLAN, bluetooth, music, video, short messages, etc.
The System UI includes hover ball (flowball) and recent task (recent task) management.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 9, the application framework layer may include a Window Management System (WMS), an Input Management System (IMS), a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
WMSs may also be referred to as window managers and may be used to manage window programs. The WMS can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The IMS can be used for monitoring all equipment nodes under the path "/dev/input/evenTX", processing the data and finding a proper window when the equipment nodes have the data, and dispatching the input event to the corresponding window.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions of the electronic device. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application layer and the application framework layer as binary files. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
It should be understood that the system libraries and kernel layer, etc., below the application framework layer may be referred to as the underlying system. The underlying system includes an underlying display system for providing a display service, for example, the underlying display system includes a display driver in a kernel layer and a surface manager in a system library.
The hardware device layer is arranged below the bottom system and can provide a foundation for software running. As shown in fig. 2, the hardware device layers of the electronic device may include, but are not limited to, a power-on key, a sensor, a display screen, a fingerprint, a camera, etc.
In an embodiment of the present application, the hardware device layer includes a touch screen for receiving a touch input signal, i.e., touch operation data applied to a screen of the electronic device by a user. For example, it may be used to receive the sliding operation data or the clicking operation data described above. And the touch operation data is reported to the kernel layer.
The kernel layer comprises a touch screen driver, and the touch screen driver is used for monitoring the change of the touch operation data and reporting the change to the application framework layer.
The application framework layer comprises a device access node, an IMS and a WMS.
The device access node may specifically be dev/input/eventX, and functions of the device access node are similar to an interface, and is used for continuously reporting the touch operation data reported by the touch screen driver to the IMS.
The IMS is configured to perform gesture determination based on the touch operation data after receiving the touch operation data, that is, determine whether to be a slide event or a click event, and when determining that the slide event is a slide event, the IMS may determine a slide direction of a slide operation of the slide event and a position of the floating ball set at an edge of the screen, and may further determine a slide edge, that is, determine whether the slide direction and the position of the floating ball set at the edge of the screen are the same, and report a determination result to the WMS.
And the WMS is used for sending the judgment result to a corresponding window, determining whether the judgment result needs to be dispatched to the system UI or not by the window, and if the judgment result needs to be dispatched to the system UI, continuously dispatching the touch operation data to the system UI.
The system ui, upon receiving the touch operation data, may further determine whether the touch operation data needs to be sent to the flowball. If it needs to be sent to the floatball, it is sent to the floatball. After receiving the touch operation data, the flowball sends the touch operation data to the receiver task. The receiver task management can perform corresponding processing according to the reported touch operation data. For example, opening the APP through a floating window.
Fig. 10 is a schematic block diagram of a control device for a levitation ball provided in an embodiment of the present application. As shown in fig. 10, the communication device 1000 may include: a processing module 1010 and a display module 1020. The modules in the apparatus 1000 may be used to implement the corresponding processes of the electronic device in the above method.
Specifically, the processing module 1010 may be configured to receive a first user operation, where the first user operation is a sliding operation performed on a set of hovers, where the set of hovers is used to store hovers, and icons of corresponding applications are displayed in each hover; the display module 100 may be configured to open an application corresponding to a first hover ball in the hover ball set through a hover window on an interface when a plurality of hover balls are stored in the hover ball set and a sliding direction of a first user operation is consistent with a position of the hover ball set at an edge of a screen, and display a second hover ball at a front end of the hover ball set; the first hovercall is the hovercall displayed at the forefront of the hovercall set before the electronic equipment receives the first user operation, and the second hovercall is the next hovercall of the first hovercall in the hovercall set determined according to the preset sequence.
Optionally, the processing module 1010 may be further configured to determine whether the sliding direction of the first user operation coincides with the position of the set of hovers at the edge of the screen.
Optionally, if the sliding direction of the first user operation is sliding from left to right, and the floating ball set is located on the right side of the edge of the screen, the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen; or, if the sliding direction of the first user operation is from right to left and the floating ball set is located on the left side of the edge of the screen, the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen.
Optionally, the processing module 1010 may also be configured to determine whether a plurality of hovers are stored in the set of hovers.
Optionally, if the sliding direction of the first user operation is sliding from left to right, the preset sequence is a first preset sequence; if the sliding direction of the first user operation is from right to left, the preset sequence is a second preset sequence; the first predetermined order is opposite to the second predetermined order.
Optionally, the processing module 1010 is specifically configured to take out the first hoverball from the set of hoverballs; and opening the application corresponding to the first suspension ball through the suspension window on the interface.
Optionally, the processing module 1010 may be further configured to receive a second user operation, which is a sliding operation for the set of hovers; the display module 1020 may also be configured to reduce an application opened through the floating window in the interface to a first floating ball and place the first floating ball into the floating ball set when a plurality of floating balls are stored in the floating ball set and a sliding direction of a second user operation is consistent with a position of the floating ball set at an edge of the screen; and opening the application corresponding to the second suspension ball through the suspension window on the interface.
Optionally, the processing module 1010 may be further configured to determine that the first user operation is a slide operation.
It should be understood that the division of the units in the embodiments of the present application is illustrative, and is only one logical function division, and there may be other division manners in actual implementation. In addition, functional units in the embodiments of the present application may be integrated into one processor, may exist alone physically, or may be integrated into one unit from two or more units. The integrated unit may be implemented in the form of hardware, or may also be implemented in the form of a software functional unit.
Fig. 11 is a schematic hardware structure diagram of a control device for a levitation ball according to an embodiment of the present application.
As shown in fig. 11, the apparatus includes: a memory 1101, a processor 1102, and an interface circuit 1103. The apparatus may also include a display 1104, wherein the memory 1101, the processor 1102, the interface circuit 1103, and the display 1104 may be in communication. Illustratively, the memory 1101, the processor 1102, the interface circuit 1103 and the display screen 1104 may communicate via a communication bus, and the memory 1101 is used for storing computer execution instructions, and is controlled by the processor 1102 to execute execution, and the interface circuit 1103 executes communication, so as to implement the control method for the hover ball provided by the embodiment of the present application.
Optionally, the interface circuit 1103 may also include an input circuit and/or an output circuit.
Alternatively, the processor 1102 may include one or more CPUs, and may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present application may be embodied directly in a hardware processor, or in a combination of the hardware and software modules in the processor.
In a possible implementation manner, the computer execution instructions in the embodiment of the present application may also be referred to as application program codes, which is not specifically limited in the embodiment of the present application.
The control device of the levitation ball provided by the embodiment of the application is used for executing the control method of the levitation ball of the embodiment, the technical principle and the technical effect are similar, and the details are not repeated here.
The embodiment of the present application provides an electronic device, and with reference to fig. 1, a memory of the electronic device may be configured to store at least one program instruction, and a processor is configured to execute the at least one program instruction, so as to implement the technical solution of the above method embodiment. The implementation principle and technical effect are similar to those of the embodiments related to the method, and are not described herein again.
The embodiment of the present application provides a chip, where the chip includes a processor, and the processor is configured to call a computer program in a memory to execute the technical solution in the foregoing embodiment. The implementation principle and technical effect are similar to those of the related embodiments, and are not described herein again.
The embodiment of the present application provides a computer program product, which, when running on an electronic device, enables the electronic device to execute the technical solutions in the above embodiments. The principle and technical effects are similar to those of the related embodiments, and are not described herein again.
The embodiment of the present application provides a computer-readable storage medium, on which program instructions are stored, and when the program instructions are executed by an electronic device, the electronic device is enabled to execute the technical solutions of the above embodiments. The principle and technical effects are similar to those of the related embodiments, and are not described herein again.
The above embodiments are provided to explain the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above embodiments are only examples of the present invention and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the present invention should be included in the scope of the present invention.

Claims (12)

1. A control method of a hover ball is applied to an electronic device, and comprises the following steps:
receiving a first user operation, wherein the first user operation is a sliding operation for a floating ball set, the floating ball set is used for storing floating balls, and icons of corresponding applications are displayed in each floating ball;
under the condition that a plurality of floating balls are stored in the floating ball set, and the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen, opening the application corresponding to the first floating ball in the floating ball set through a floating window on an interface, and displaying a second floating ball at the forefront end of the floating ball set; the first hover ball is a hover ball displayed at the forefront of the hover ball set before the electronic device receives the first user operation, and the second hover ball is a next hover ball of the first hover ball in the hover ball set determined according to a preset sequence.
2. The method of claim 1, wherein after the receiving the first user operation, the method further comprises:
determining whether the sliding direction of the first user operation and the position of the set of hovers on the edge of the screen are consistent.
3. The method of claim 2, wherein if the first user operation slides in a left-to-right direction and the set of hovers is located to the right of the edge of the screen, the first user operation slides in a direction that is consistent with the position of the set of hovers at the edge of the screen; or if the sliding direction of the first user operation is from right to left, and the floating ball set is located on the left side of the edge of the screen, the sliding direction of the first user operation is consistent with the position of the floating ball set on the edge of the screen.
4. The method of claim 2 or 3, wherein prior to the determining whether the direction of the first user operation's slide and the set of hovers' position at the screen edge coincide, the method further comprises:
and determining whether a plurality of hovers are stored in the hovers.
5. The method of claim 4, wherein the predetermined sequence is a first predetermined sequence if the sliding direction of the first user operation is from left to right; if the sliding direction of the first user operation is from right to left, the preset sequence is a second preset sequence; the first preset order is opposite to the second preset order.
6. The method of any of claims 1-3 and 5, wherein opening, at the interface, the application corresponding to the first hover ball in the set of hover balls through a hover window comprises:
taking the first levitated ball out of the levitated ball set;
and opening the application corresponding to the first suspension ball through the suspension window on the interface.
7. The method of claim 6, wherein after displaying a second hover ball at a forward-most end of the set of hover balls, the method further comprises:
receiving a second user operation, which is a sliding operation for the set of hovers;
under the condition that a plurality of floating balls are stored in the floating ball set, and the sliding direction of the second user operation is consistent with the position of the floating ball set on the edge of the screen, reducing the application opened through the floating window in the interface into the first floating ball, and putting the first floating ball into the floating ball set;
and opening the application corresponding to the second suspension ball through the suspension window on the interface.
8. The method of any of claims 1-3, 5, 7, wherein after the receiving a first user action, the method further comprises:
determining that the first user operation is a sliding operation.
9. A control device for a levitation ball, comprising means for performing the method of any of claims 1-8.
10. A control device for a hover ball comprising a memory for storing a computer program and a processor;
the processor is configured to invoke and execute the computer program to cause the apparatus to perform the method of any one of claims 1 to 8.
11. A computer-readable storage medium for storing a computer program which, when run on a computer, causes the electronic device to perform the method of any one of claims 1 to 8.
12. A computer program product comprising computer program code means to make an electronic device implement the method as claimed in any one of claims 1 to 8 when said computer program code means are run on a computer.
CN202210818989.1A 2022-07-13 2022-07-13 Control method of floating ball and related device Active CN114995715B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202211607829.9A CN116048358B (en) 2022-07-13 2022-07-13 Method and related device for controlling suspension ball
CN202210818989.1A CN114995715B (en) 2022-07-13 2022-07-13 Control method of floating ball and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210818989.1A CN114995715B (en) 2022-07-13 2022-07-13 Control method of floating ball and related device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202211607829.9A Division CN116048358B (en) 2022-07-13 2022-07-13 Method and related device for controlling suspension ball

Publications (2)

Publication Number Publication Date
CN114995715A true CN114995715A (en) 2022-09-02
CN114995715B CN114995715B (en) 2022-12-27

Family

ID=83020571

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202210818989.1A Active CN114995715B (en) 2022-07-13 2022-07-13 Control method of floating ball and related device
CN202211607829.9A Active CN116048358B (en) 2022-07-13 2022-07-13 Method and related device for controlling suspension ball

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202211607829.9A Active CN116048358B (en) 2022-07-13 2022-07-13 Method and related device for controlling suspension ball

Country Status (1)

Country Link
CN (2) CN114995715B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024093806A1 (en) * 2022-11-03 2024-05-10 华为技术有限公司 Control method for superimposed display of floating windows, and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117289833A (en) * 2023-11-23 2023-12-26 之江实验室 Suspension window display and interaction method, device and medium for integrated development environment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3103526A1 (en) * 2015-06-12 2016-12-14 Nintendo Co., Ltd. Information processing apparatus, information processing system, information processing method, and information processing program
JP2017102505A (en) * 2015-11-30 2017-06-08 樹生 吉田 Icon display method
CN108920059A (en) * 2018-07-27 2018-11-30 维沃移动通信有限公司 Message treatment method and mobile terminal
CN112764615A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Suspension ball control method and device
CN112947810A (en) * 2021-02-08 2021-06-11 维沃移动通信有限公司 Interface display method and device and electronic equipment
US20210216199A1 (en) * 2018-09-30 2021-07-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Video Enhancement Control Method, Electronic Apparatus and Storage Medium
WO2021213164A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Application interface interaction method, electronic device, and computer readable storage medium
CN113805744A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Window display method and electronic equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107861679A (en) * 2017-09-18 2018-03-30 深圳市金立通信设备有限公司 A kind of operation processing method, terminal and computer-readable recording medium
CN110837406B (en) * 2019-11-11 2024-02-20 青岛海信移动通信技术有限公司 Suspension ball view display method and terminal
CN111309418A (en) * 2020-01-21 2020-06-19 华为技术有限公司 Control display method and electronic equipment
CN111309209B (en) * 2020-02-06 2021-08-31 华为技术有限公司 Method and device for quickly opening application or application function and terminal equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3103526A1 (en) * 2015-06-12 2016-12-14 Nintendo Co., Ltd. Information processing apparatus, information processing system, information processing method, and information processing program
JP2017102505A (en) * 2015-11-30 2017-06-08 樹生 吉田 Icon display method
CN108920059A (en) * 2018-07-27 2018-11-30 维沃移动通信有限公司 Message treatment method and mobile terminal
US20210216199A1 (en) * 2018-09-30 2021-07-15 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Video Enhancement Control Method, Electronic Apparatus and Storage Medium
WO2021213164A1 (en) * 2020-04-24 2021-10-28 华为技术有限公司 Application interface interaction method, electronic device, and computer readable storage medium
CN112764615A (en) * 2021-01-22 2021-05-07 维沃移动通信有限公司 Suspension ball control method and device
CN112947810A (en) * 2021-02-08 2021-06-11 维沃移动通信有限公司 Interface display method and device and electronic equipment
CN113805744A (en) * 2021-08-12 2021-12-17 荣耀终端有限公司 Window display method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024093806A1 (en) * 2022-11-03 2024-05-10 华为技术有限公司 Control method for superimposed display of floating windows, and electronic device

Also Published As

Publication number Publication date
CN116048358A (en) 2023-05-02
CN116048358B (en) 2023-11-14
CN114995715B (en) 2022-12-27

Similar Documents

Publication Publication Date Title
CN109814766B (en) Application display method and electronic equipment
CN112130742B (en) Full screen display method and device of mobile terminal
CN112217923B (en) Display method of flexible screen and terminal
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
CN110114747B (en) Notification processing method and electronic equipment
WO2021036770A1 (en) Split-screen processing method and terminal device
CN114995715B (en) Control method of floating ball and related device
CN113254409A (en) File sharing method, system and related equipment
CN115589051B (en) Charging method and terminal equipment
CN113641271A (en) Application window management method, terminal device and computer readable storage medium
CN110955373A (en) Display element display method and electronic equipment
CN114089932A (en) Multi-screen display method and device, terminal equipment and storage medium
CN114077365A (en) Split screen display method and electronic equipment
CN110058729B (en) Method and electronic device for adjusting sensitivity of touch detection
CN112449101A (en) Shooting method and electronic equipment
CN113438366B (en) Information notification interaction method, electronic device and storage medium
CN114911400A (en) Method for sharing pictures and electronic equipment
CN113407300B (en) Application false killing evaluation method and related equipment
CN114740986A (en) Handwriting input display method and related equipment
CN113050864A (en) Screen capturing method and related equipment
CN115421644B (en) Method and device for determining source of popup message
WO2024109573A1 (en) Method for floating window display and electronic device
CN115022807A (en) Express delivery information reminding method and electronic equipment
CN113973152A (en) Unread message quick reply method and electronic equipment
CN117666810A (en) Input 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